willhallonline / docker-ansible

Ansible inside Docker containers: Alpine, Ubuntu, Rocky & Debian with Ansible 2.16, 2.15, 2.14, 2.13, 2.12, 2.11, 2.10 and 2.9 + Mitogen
https://www.willhallonline.co.uk/project/docker/docker-ansible/
MIT License
396 stars 137 forks source link

Wrong Docker image tags for Alpine versions #50

Closed goetzc closed 2 years ago

goetzc commented 2 years ago

Some Docker images tagged as a specific version are shipping a different Alpine version, such as 2.12-alpine-3.14 or 2.12-alpine-3.15 being actually Alpine 3.16.

❯ docker run --rm -it willhallonline/ansible:2.12-alpine-3.14 sh

/ansible # cat /etc/issue
Welcome to Alpine Linux 3.16
Kernel \r on an \m (\l)

/ansible # apk add vim
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
...

This breaks automated workflows when expecting specific versions but the base Alpine image is a different release.