Skip to content
Discussion options

You must be logged in to vote

That's correct and it's by design. The image produced by building that runtime-deps Dockerfile located in the 3.1 directory is shared by all versions (3.1, 5.0, 6.0). In other words, we build the image once and tag it for all those versions. So there's only one Dockerfile. There are several benefits to this:

  • It improves the efficiency of the build process because it only needs to build one image for all those versions.
  • It allows for layer sharing for consumers creating more efficiency downstream. Once you've pulled runtime-deps:5.0-alpine, that cached layer can be reused if you attempt to pull runtime-deps:3.1-alpine.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hxiao-godaddy
Comment options

Answer selected by hxiao-godaddy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants