-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Good dockerfile with fixed version FROM statement stops working... #222
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
If you're looking for an image reference which never changes, I'd recommend instead using an explicit sha256 digest (as can be found via either the output of In this case, it really looks like Alpine had an update to the |
Thank you for your advice :) Do you know why tags with fixend number can change over time (SIC!) (for example in node/npm or php/composer that kind of situations never happens) ? |
The tags are semantic (human-friendly) labels for you to get the latest released artifact which corresponds to NGINX version 1.13.0 based on Alpine Linux -- if Alpine Linux has a security update, for example, the |
The tag isn't a "version number" per-se (like it is in |
I have some proposition/idea - may be it will be good to introduce additional tag with strict version number which content not change over time? (for example: version_nginx1.13.8-alpine3.5) ? |
Some images have done exactly that -- see docker-library/golang#170, docker-library/python#215, docker-library/ruby#142, docker-library/php#507, docker-library/openjdk#157. At the end of the day, this wouldn't have solved your issue though. The issue you're seeing is due to Alpine updating a package in their repositories, and the version you're trying to install thus being no longer available. |
ok now i understand - it's no problem with image |
My old good docker file stops working (!)
Error:
WHY ? :( :( :(
I used FIXED version number in FROM statement :( :( :( - few months ago it works without any problems
The text was updated successfully, but these errors were encountered: