-
Notifications
You must be signed in to change notification settings - Fork 225
Introduce image versioning #111
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
Comments
Are you aware that docker gives every image a unique id that you can use like this? |
Yes, but:
|
Another point: it would also be good to have a changelog file. |
They're all stable release images.
Hmm, that is annoying. It looks like our build scripts actually do tag every image with the git commit id used to build it, but then I guess that isn't getting pushed to quay.io? We could potentially do that; I don't really understand docker's command line but I'm guessing it would be a trivial change to deploy.sh. Of course git commit ids are also not human friendly or directly comparable, but they're unique and consistent across the two manylinux image repos. I guess we could use tags like 2017-05-01-ab381ae, and if we took the date from git metadata instead of from the time on the build machine then it'd even be guaranteed to be consistent across the different builds.
|
There's a
Explaination: A I guess that there is a setting in your
Sounds reasonable. |
I tried using the docker images hashes, however it seems that the images are not stored for very long which makes the hashes useless. If the images are served from docker hub, is there a retention policy that needs to be modified? |
We're looking at introducing support for deterministic builds over at pypa/cibuildwheel#239 , and came across this question too. I tried pulling an old version from quay.io, but I was given the error 'manifest not found'. I wonder if quay.io doesn't keep images around for long if they're not tagged? |
It would be good to have images with a version rather than always overwriting the
latest
version.Thus, one could use explicit versions.
My proposal would be to use the date as a version, e.g.
pypa/manylinux1_x86_64:20170502
The text was updated successfully, but these errors were encountered: