Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/manuals/compose/how-tos/dependent-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ weight: 50

To reduce push/pull time and image weight, a common practice for Compose applications is to have services
share base layers as much as possible. You will typically select the same operating system base image for
all services. But you also can get one step further sharing image layers when your images share the same
all services. But you can also get one step further by sharing image layers when your images share the same
system packages. The challenge to address is then to avoid repeating the exact same Dockerfile instruction
in all services.

For illustration, this page assumes you want all your services to be built with an `alpine` base
image and install system package `openssl`.
image and install the system package `openssl`.

## Multi-stage Dockerfile

Expand Down Expand Up @@ -161,4 +161,4 @@ Bake can also be selected as the default builder by editing your `$HOME/.docker/
}
...
}
```
```