You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
I have built two images. The first one with the multiple RUN statements and the second with the concatenated RUN. The outcome seems to be the same. I think that a multistage build will reduce the size of the docker image.
What about running the RUN commands in one layer instead of three, see https://devops.stackexchange.com/a/417/210
https://github.com/tianon/docker-brew-ubuntu-core/blob/5a80061eeed1a4c395066d922bf7f1a0ea79e73c/bionic/Dockerfile
This will save another 20MB according to docker-dive.
The text was updated successfully, but these errors were encountered: