@@ -29,7 +29,7 @@ setup for Docker Offload:
2929
3030For general Dockerfile tips, see [ Building best practices] ( /manuals/build/building/best-practices.md ) .
3131
32- ### dockerignore files
32+ ## dockerignore files
3333
3434A [ ` .dockerignore ` file] ( /manuals/build/concepts/context.md#dockerignore-files )
3535lets you specify which local files should * not* be included in the build
@@ -45,15 +45,15 @@ Typical items to ignore:
4545
4646As a rule of thumb, your ` .dockerignore ` should be similar to your ` .gitignore ` .
4747
48- ### Slim base images
48+ ## Slim base images
4949
5050Smaller base images in your ` FROM ` instructions can reduce final image size and
5151improve build performance. The [ ` alpine ` ] ( https://hub.docker.com/_/alpine ) image
5252is a good example of a minimal base.
5353
5454For fully static binaries, you can use [ ` scratch ` ] ( https://hub.docker.com/_/scratch ) , which is an empty base image.
5555
56- ### Multi-stage builds
56+ ## Multi-stage builds
5757
5858[ Multi-stage builds] ( /build/building/multi-stage/ ) let you separate build-time
5959and runtime environments in your Dockerfile. This not only reduces the size of
@@ -62,7 +62,7 @@ the final image but also allows for parallel stage execution during the build.
6262Use ` COPY --from ` to copy files from earlier stages or external images. This
6363approach helps minimize unnecessary layers and reduce final image size.
6464
65- ### Fetch remote files in build
65+ ## Fetch remote files in build
6666
6767When possible, download large files from the internet during the build itself
6868instead of bundling them in your local context. This avoids network transfer
@@ -80,4 +80,4 @@ supports it, configure it to run in parallel. For example, use `make --jobs=4`
8080to run four jobs simultaneously.
8181
8282Taking advantage of available CPU resources in the cloud can significantly
83- improve build time.
83+ improve build time.
0 commit comments