nextcloud / docker

⛴ Docker image of Nextcloud
https://hub.docker.com/_/nextcloud/
GNU Affero General Public License v3.0
5.98k stars 1.82k forks source link

nextcloud:28.0.5-fpm-alpine image for arm64 has wrong architecture inside #2210

Closed JuniorJPDJ closed 5 months ago

JuniorJPDJ commented 5 months ago

Issue spotted here: https://github.com/JuniorJPDJ/containers/actions/runs/8863341025/job/24337251815?pr=72#step:7:595

After check it's armv7:

$ docker run --pull always --platform linux/arm64 --user 0 -ti docker.io/library/nextcloud:28.0.5-fpm-alpine /bin/sh
28.0.5-fpm-alpine: Pulling from library/nextcloud
Digest: sha256:4cb08afe315387fa56927e27a7a838ba4d702988ebbeb051fe6e7a0f0bae8c9b
Status: Image is up to date for nextcloud:28.0.5-fpm-alpine
/var/www/html # apk add file
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/armv7/APKINDEX.tar.gz
(1/2) Installing libmagic (5.45-r1)
(2/2) Installing file (5.45-r1)
Executing busybox-1.36.1-r15.trigger
OK: 46 MiB in 81 packages
/var/www/html # file /bin/sh
/bin/sh: symbolic link to /bin/busybox
/var/www/html # file /bin/busybox 
/bin/busybox: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, BuildID[sha1]=390771032f3fe472f76cec8b6f323c5692088464, stripped
JuniorJPDJ commented 5 months ago

it looks like it got fixed