mirror of https://github.com/docker/docs.git
Merge pull request #22528 from duffuniverse/fix-typos-in-build-dependent-images-manual
Fix typos in the Build dependent images manual
This commit is contained in:
parent
68fc43e2ef
commit
001f668192
|
|
@ -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
|
||||
|
||||
|
|
@ -161,4 +161,4 @@ Bake can also be selected as the default builder by editing your `$HOME/.docker/
|
|||
}
|
||||
...
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue