Skip to content
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

Cannot pull PHP image based on Alpine 3.14 #1167

Closed
toVersus opened this issue Jun 18, 2021 · 2 comments
Closed

Cannot pull PHP image based on Alpine 3.14 #1167

toVersus opened this issue Jun 18, 2021 · 2 comments

Comments

@toVersus
Copy link

When I try to pull a PHP image based on Alpine 3.14, I got the following error.

❯ docker pull php:8.0-fpm-alpine3.14
8.0-fpm-alpine3.14: Pulling from library/php
no matching manifest for linux/amd64 in the manifest list entries

So, I went to see the DockerHub page, but I could not find any manifest lists here [1].

[1] https://hub.docker.com/_/php?tab=tags&page=2&ordering=last_updated

After some googling, I found the Jenkins jobs [2] building php image based on Alpine 3.14 were aborted due to the following error [3].

Thank you for using PHP.

�[91m+ nproc
�[0m�[91m+ make -j 4
�[0m/bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/sodium/ -I/usr/src/php/ext/sodium/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/include/editline -I/usr/src/php/TSRM -I/usr/src/php/Zend  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DZEND_SIGNALS   -prefer-pic  -Wno-type-limits -c /usr/src/php/ext/sodium/libsodium.c -o ext/sodium/libsodium.lo 
�[91mmake: /bin/sh: Operation not permitted
�[0m�[91mmake: *** [Makefile:1287: ext/sodium/libsodium.lo] Error 127
�[0mRemoving intermediate container 1db9450c1f74
The command '/bin/sh -c set -eux; 	apk add --no-cache --virtual .build-deps 		$PHPIZE_DEPS 		argon2-dev 		coreutils 		curl-dev 		libedit-dev 		libsodium-dev 		libxml2-dev 		linux-headers 		oniguruma-dev 		openssl-dev 		sqlite-dev 	; 		export CFLAGS="$PHP_CFLAGS" 		CPPFLAGS="$PHP_CPPFLAGS" 		LDFLAGS="$PHP_LDFLAGS" 	; 	docker-php-source extract; 	cd /usr/src/php; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--with-config-file-path="$PHP_INI_DIR" 		--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" 				--enable-option-checking=fatal 				--with-mhash 				--with-pic 				--enable-ftp 		--enable-mbstring 		--enable-mysqlnd 		--with-password-argon2 		--with-sodium=shared 		--with-pdo-sqlite=/usr 		--with-sqlite3=/usr 				--with-curl 		--with-libedit 		--with-openssl 		--with-zlib 				--with-pear 				$(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') 				${PHP_EXTRA_CONFIGURE_ARGS:-} 	; 	make -j "$(nproc)"; 	find -type f -name '*.a' -delete; 	make install; 	find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; 	make clean; 		cp -v php.ini-* "$PHP_INI_DIR/"; 		cd /; 	docker-php-source delete; 		runDeps="$( 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local 			| tr ',' '\n' 			| sort -u 			| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 	)"; 	apk add --no-cache $runDeps; 		apk del --no-network .build-deps; 		pecl update-channels; 	rm -rf /tmp/pear ~/.pearrc; 		php --version' returned a non-zero code: 2

[2] https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/php/
[3] https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/php/364/execution/node/390/log/

@yosifkit
Copy link
Member

Thanks for the heads up. We are aware that many of our Alpine 3.14 based builds are failing. 😞 🙇‍♂️

Related: docker-library/official-images#10379 (comment)

@tianon
Copy link
Member

tianon commented Jun 25, 2021

Builders are updated and builds are either queued or in progress -- sorry for the delay!

@tianon tianon closed this as completed Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants