Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin versions in Dockerfile for releases #317

Open
mwatts15 opened this issue Oct 12, 2021 · 1 comment
Open

Pin versions in Dockerfile for releases #317

mwatts15 opened this issue Oct 12, 2021 · 1 comment

Comments

@mwatts15
Copy link
Contributor

Our current Dockerfile refers to several software packages without any version constraints, both for our own software (e.g., c302, Sibernetic) and for distro packages (e.g., git, g++). To keep older versions maintainable it would be better to explicitly declare, or "pin", the versions for these packages when making a release so those earlier versions could be more reliably rebuilt from the Dockerfile.

The current Dockerfile or something like it should be maintained for active development so that we can integrate the latest versions of all components without needing to check all packages for upgrades one-by-one. Since integration of active development artifacts would be reflected in this un-pinned Docker image, there should be a mostly automated means of extracting all the versions of installed packages for the release Dockerfile.

@pgleeson
Copy link
Member

@mwatts15 Agreed, this would be useful. I (partially) did this for the Dockerfile for python 2, but don't hold much hope of that staying working for too long, but that's more down to python 2 end of life issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants