gliderlabs / docker-alpine

Alpine Linux Docker image. Win at minimalism!
http://gliderlabs.viewdocs.io/docker-alpine
BSD 2-Clause "Simplified" License
5.7k stars 528 forks source link

Tagging minor revisions - 3.8.1 #441

Open shleeable opened 5 years ago

shleeable commented 5 years ago

With the release of 3.8.1, I'd love to be able to easily update the FROM alpine:3.8 to FROM alpine:3.8.1

and have certainty that's the correct releases image.

aliasmee commented 5 years ago

+1 thanks

kevinburke commented 5 years ago

FWIW, the tests check this by running cat on /etc/os-release; I know it's not ideal but it would let you check the image you download or are running.

$ docker run alpine:3.8 cat /etc/os-release
Unable to find image 'alpine:3.8' locally
3.8: Pulling from library/alpine
4fe2ade4980c: Pull complete
Digest: sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
Status: Downloaded newer image for alpine:3.8
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.8.1
PRETTY_NAME="Alpine Linux v3.8"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"
sleepyfox commented 5 years ago

I have been checking to see if 3.8.1 was released on Docker Hub because of the vulnerability fix. It would have been nice to know earlier that the new image was available, instead of having to do forensic software archaeology in order to ascertain that the current 3.8 image is actually 3.8.1 and not 3.8.0, despite the insistence that Docker Hub says that this image is over a month old, i.e. pre the 3.8.1 fix.

jumanjiman commented 5 years ago

On the subject of major and minor version tags: https://medium.com/microscaling-systems/using-docker-tags-to-mess-with-peoples-minds-367bb2c93bd0