alpinelinux / docker-alpine

Official Alpine Linux Docker image. Win at minimalism!
MIT License
1.04k stars 261 forks source link

alpine 3.17.2 missing linux/amd64 #303

Closed cicirello closed 1 year ago

cicirello commented 1 year ago

Summary

Alpine 3.17.2 appears to be missing the linux/amd64 architecture.

Details

When attempting to pull, result is following error:

Step 1/3 : FROM alpine:3.17.2
no matching manifest for linux/amd64 in the manifest list entries
3.17.2: Pulling from library/alpine
Error: Process completed with exit code 1.

The tag page (https://hub.docker.com/_/alpine/tags) shows all other architectures available for 3.17.2 except for linux/amd64. Additionally, the latest and 3.17 tags list the linux/amd64 architecture with the SHA for 3.17.1.

james-d-elliott commented 1 year ago

Tricked again by doijanky! That little prankster.

cicirello commented 1 year ago

It looks like this has been fixed, so I'm closing the issue.

csandanov commented 1 year ago

I maintain images based on the official alpine images and I think there was a related issue that might've messed up with the architecture because shortly after the release my auto-rebuilt images had binaries linked against x86 libraries on the amd64 platform:

$ docker run --rm -ti wodby/alpine:3.17-2.12.2 sh

/ # uname -a
Linux c466e0fb9514 5.15.49-linuxkit #1 SMP Tue Sep 13 07:51:46 UTC 2022 x86_64 Linux

/ # ldd /usr/bin/dos2unix
    /lib/ld-musl-i386.so.1 (0xf7f2e000)
    libc.musl-x86.so.1 => /lib/ld-musl-i386.so.1 (0xf7f2e000)

Now, after the forced rebuilt everything is ok:

$ docker run --rm -ti wodby/alpine:3.17-2.12.3 sh

/ # uname -a
Linux 862dadf7333d 5.15.49-linuxkit #1 SMP Tue Sep 13 07:51:46 UTC 2022 x86_64 Linux

/ # ldd /usr/bin/dos2unix
    /lib/ld-musl-x86_64.so.1 (0x7f934f574000)
    libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f934f574000)

We caught that only because of MariaDB 32bit limit error for innodb pool size. I wonder if there are other official images based on official alpine that still have this issue