Skip to content

Commit 67e9f7b

Browse files
authored
Update offload optimize.md (#23415)
`###` should be `##` <!--Delete sections as needed --> ## Description <!-- Tell us what you did and why --> ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 09af49e commit 67e9f7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/manuals/offload/optimize.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ setup for Docker Offload:
2929

3030
For general Dockerfile tips, see [Building best practices](/manuals/build/building/best-practices.md).
3131

32-
### dockerignore files
32+
## dockerignore files
3333

3434
A [`.dockerignore` file](/manuals/build/concepts/context.md#dockerignore-files)
3535
lets you specify which local files should *not* be included in the build
@@ -45,15 +45,15 @@ Typical items to ignore:
4545

4646
As a rule of thumb, your `.dockerignore` should be similar to your `.gitignore`.
4747

48-
### Slim base images
48+
## Slim base images
4949

5050
Smaller base images in your `FROM` instructions can reduce final image size and
5151
improve build performance. The [`alpine`](https://hub.docker.com/_/alpine) image
5252
is a good example of a minimal base.
5353

5454
For 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
5959
and 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.
6262
Use `COPY --from` to copy files from earlier stages or external images. This
6363
approach helps minimize unnecessary layers and reduce final image size.
6464

65-
### Fetch remote files in build
65+
## Fetch remote files in build
6666

6767
When possible, download large files from the internet during the build itself
6868
instead 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`
8080
to run four jobs simultaneously.
8181

8282
Taking advantage of available CPU resources in the cloud can significantly
83-
improve build time.
83+
improve build time.

0 commit comments

Comments
 (0)