Explanation of tags & version numbers #109
-
Hi all, Trying to understand the components of the build numbers. For example at https://github.com/devcontainers/images/tree/main/src/rust: This mentions the the following tags:
Questions:
I searched the the dockerfile guide but could not find the answers to these questions. Moving further, we notice that this image is versioned as 1.0.7, which in turn is built from v0.3.27. What is the relationship between all these versions? What is the reason to keep them separate? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi 👋 Every image is built for multiple different OS flavors (eg. bookworm, bullseye, focal, jammy etc). Hence, you can pin your image to your choice of OS. Then for semantic versioning, https://github.com/devcontainers/images/blob/main/src/rust/manifest.json#L2 points to the version of the image.
We recommend users to pin to
The default is
https://github.com/devcontainers/images/tree/main/src/rust/history has release docs published for every image version, this is helpful for comparing changes and keeping track of image contents. Let us know if anything is unclear, happy to clarify any other doubts. |
Beta Was this translation helpful? Give feedback.
1.0.7
is the rust's image version1
is the major version ofRust
language. (eg. the current version of rust is1.75.0
- hence, major version is1
)It might be simpler to visualize with Python, see https://github.com/devcontainers/images/blob/main/src/python/history/1.1.4.md#variant-312-bookworm
@kristof-mattei Does that make sense?