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 Jan 15, 2023. It is now read-only.
Iterative changes to this image are pretty painful I'd imagine 🙃
Now that Docker has multi-stage builds, it'd be pretty trivial to break out the single RUN into multiple layers, with an ultimate FROM alpine again in order to COPY --from all of the artifacts from the source build.
This would allow for proper Docker-ized layers whilst keeping the image size down since all of the intermediate layers of the original build step are omitted from the eventual docker push.
Might be worth considering :)
The text was updated successfully, but these errors were encountered:
Iterative changes to this image are pretty painful I'd imagine 🙃
Now that Docker has multi-stage builds, it'd be pretty trivial to break out the single
RUN
into multiple layers, with an ultimateFROM alpine
again in order toCOPY --from
all of the artifacts from the source build.This would allow for proper Docker-ized layers whilst keeping the image size down since all of the intermediate layers of the original build step are omitted from the eventual
docker push
.Might be worth considering :)
The text was updated successfully, but these errors were encountered: