Skip to content
This repository was archived by the owner on Jun 29, 2020. It is now read-only.

Conversation

@BlinkyStitt
Copy link

Move ENTRYPOINT and CMD earlier in the Dockerfile so layers are reused more often.

Also use --no-cache flag instead of manually deleting /var/cache/apk

@md5
Copy link
Member

md5 commented Apr 17, 2018

I'm fine with the --no-cache change, but how does the other change result in layers being reused? I think that would only be the case if you had another image with an ENTRYPOINT named /entrypoint.sh and a CMD of ["curl"], right?

@BlinkyStitt
Copy link
Author

BlinkyStitt commented Apr 18, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants