You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'amd64' out/ 'bookworm''@1742169600'# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMTENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTRUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENTRYPOINT ["docker-php-entrypoint"]
# Thu, 13 Mar 2025 21:54:41 GMTWORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTSTOPSIGNAL SIGQUIT
# Thu, 13 Mar 2025 21:54:41 GMTEXPOSE map[9000/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMTCMD ["php-fpm"]
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTRUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTCOPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMTENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMTWORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; export COMPOSER_HOME="$(mktemp -d)"; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:6e909acdb790c5a1989d9cfc795fda5a246ad6664bb27b5c688e2b734b2c5fad
Last Modified: Mon, 17 Mar 2025 22:17:24 GMT
Size: 28.2 MB (28204865 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5ac5e2fa4b03fb07137b84ea7150232706e5334b3ec3c0715624ad23d1227034
Last Modified: Mon, 17 Mar 2025 23:22:55 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e10826182397f681033d1c9798a0c3fddbcb0e142e43251bb9b288a13bae14e4
Last Modified: Mon, 17 Mar 2025 23:22:58 GMT
Size: 104.3 MB (104329064 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4bfd77ec8e8b92d03c31b08b7d5d05e2a084313af539548e1883b4fc616ee110
Last Modified: Mon, 17 Mar 2025 23:22:54 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9b92331c142d99e0a02d29242d771320bc38a73a2799919f15eca4c9a3d160f3
Last Modified: Mon, 17 Mar 2025 23:22:56 GMT
Size: 12.3 MB (12257341 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ed8a9341d6d2d03a2c133b490e5562a2c86e0a7319a64c054a101324a9f2eac3
Last Modified: Mon, 17 Mar 2025 23:22:56 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7f012687f14e447d3133ad7b9dd2fa11fb2a174c9c9a5cec0a72ca3e4b6b5643
Last Modified: Mon, 17 Mar 2025 23:22:57 GMT
Size: 27.6 MB (27587411 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4267a4e73cff66756462ed8cd3f36a20b916a964c40e6957ad8f5e56787b1297
Last Modified: Mon, 17 Mar 2025 23:22:57 GMT
Size: 2.4 KB (2449 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:93750387fcc4d1128a6e342abad0997624551ad9642a426b3eb694e6e18c0b09
Last Modified: Mon, 17 Mar 2025 23:22:57 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a7987a1b53704b6066fc5d749a88266b529863ae0c7943aea919633c6cd9dc2c
Last Modified: Mon, 17 Mar 2025 23:22:58 GMT
Size: 9.2 KB (9182 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d794d33de19e6c8c70adeed6ac1960496e65e304bc29ec9654175652cc2170ae
Last Modified: Wed, 19 Mar 2025 23:23:50 GMT
Size: 2.0 MB (1974132 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:799a45c4e723336ae7a523d55e2bee68e90b39b6d244f024ab081f2ed84ee416
Last Modified: Wed, 19 Mar 2025 23:23:49 GMT
Size: 315.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fe0555dfbb3205fe187d499e4d115f686ca0ac3c05a0e6b672e2488a5878e8d3
Last Modified: Wed, 19 Mar 2025 23:23:49 GMT
Size: 740.8 KB (740826 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:05e8f12be4d904d355178f742243a8f5037bfa2608a58471daae2d119e74895d
Last Modified: Wed, 19 Mar 2025 23:23:49 GMT
Size: 113.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:79579fb9d2a820eaf61d1db2bac0672e3fcfd6be844480b3aa303297f5d41a8a
Last Modified: Wed, 19 Mar 2025 23:23:51 GMT
Size: 21.2 MB (21155519 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'armhf' out/ 'bookworm''@1742169600'# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMTENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTRUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENTRYPOINT ["docker-php-entrypoint"]
# Thu, 13 Mar 2025 21:54:41 GMTWORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTSTOPSIGNAL SIGQUIT
# Thu, 13 Mar 2025 21:54:41 GMTEXPOSE map[9000/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMTCMD ["php-fpm"]
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTRUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTCOPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMTENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMTWORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; export COMPOSER_HOME="$(mktemp -d)"; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:676cf117f557880ff2e894692781cbce1b2a04502aff2e34b58c230b14731b8f
Last Modified: Mon, 17 Mar 2025 22:18:43 GMT
Size: 23.9 MB (23915088 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e617588c40680b3f1658a4a3364c14dc2bbb5375a67749657cf8dbe55d7f0c01
Last Modified: Tue, 18 Mar 2025 06:41:43 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f4553f56272d8fce2a78fc29124d67ecf355fe0135e44488afb3056d1fcb89ff
Last Modified: Tue, 18 Mar 2025 06:41:46 GMT
Size: 76.2 MB (76163018 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:92b26744e01528566e84c9a1ca4e7a4ddc5b9fc1264fa031d1947d7082552964
Last Modified: Tue, 18 Mar 2025 06:41:43 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2551aef1108998fff6cabc6e526b343b22e3352c0a7dcfd881411b5160bad8a8
Last Modified: Tue, 18 Mar 2025 10:35:18 GMT
Size: 12.3 MB (12255673 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:401c985c4b1e98459b33665f0a03de172aa0a0b9bd2ac63b018d3e02dd84d84d
Last Modified: Tue, 18 Mar 2025 10:35:17 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:84afe7dd0a86ea2896539eb10beb4b54803f2c09e56cc2cfeaaec8edf7e813ef
Last Modified: Tue, 18 Mar 2025 10:38:54 GMT
Size: 25.2 MB (25194899 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e2976713967059cd975d112266821346d1755923a45b6a0eaca6cfe205833911
Last Modified: Tue, 18 Mar 2025 10:38:53 GMT
Size: 2.4 KB (2448 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:549a80e51d4ba642c33731dc913b7ce101dd1a7c42a3889e403152709d4eff3a
Last Modified: Tue, 18 Mar 2025 10:38:53 GMT
Size: 246.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cde5b5d9c7fb6e8f510db8d473dec4996f3cf5ca04e66cb520a225bc8f746871
Last Modified: Tue, 18 Mar 2025 10:38:53 GMT
Size: 9.2 KB (9184 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8bcc281c6ea7e0407e1e4254514fadcbb436e337b716e896765f514e2a095b41
Last Modified: Tue, 18 Mar 2025 15:19:54 GMT
Size: 1.3 MB (1330456 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fc6638862ad6f02170e4ed04307335b6f7847a2fbcb8a0b6a825147f5edc3359
Last Modified: Tue, 18 Mar 2025 15:19:54 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3c2e1ce7b640e5307a3755b65fbd01a21a506346049366609856f20c086f3cd4
Last Modified: Tue, 18 Mar 2025 15:19:54 GMT
Size: 740.8 KB (740824 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8bfcfac270e10b0980e98b9164102038600ac2b120f9ed9eba60203f42fd9c11
Last Modified: Thu, 20 Mar 2025 00:11:05 GMT
Size: 113.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:497da8fa8983ecb815ad6234efadb815e8c7f8129d953707d97b013e85cef810
Last Modified: Thu, 20 Mar 2025 00:11:06 GMT
Size: 21.2 MB (21157197 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'arm64' out/ 'bookworm''@1742169600'# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMTENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTRUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENTRYPOINT ["docker-php-entrypoint"]
# Thu, 13 Mar 2025 21:54:41 GMTWORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTSTOPSIGNAL SIGQUIT
# Thu, 13 Mar 2025 21:54:41 GMTEXPOSE map[9000/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMTCMD ["php-fpm"]
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTRUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTCOPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMTENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMTWORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; export COMPOSER_HOME="$(mktemp -d)"; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:d9b6365477446a79987b20560ae52637be6f54d6d2f801e16aaa0ca25dd0964b
Last Modified: Mon, 17 Mar 2025 22:17:34 GMT
Size: 28.0 MB (28044037 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b845448e3a2fe08e44de9ba393e368edaf553ac2b42b58d46d95c8f2fbec662c
Last Modified: Tue, 18 Mar 2025 05:41:22 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6e86d7f22c74cb3db95f1c6735710834cf0f07e91ac282ce7db0d5d41e01bf71
Last Modified: Tue, 18 Mar 2025 05:41:25 GMT
Size: 98.1 MB (98130134 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9244afd9af6f27e0dc7bde93588cd95adc9c04ee4cf0ddeac0af32d2ce6f2d9f
Last Modified: Tue, 18 Mar 2025 05:41:22 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f3e30cccd1571e00768f1ce4d63e4cf0da4d270ac0c69e5d781315905147f404
Last Modified: Tue, 18 Mar 2025 08:03:46 GMT
Size: 12.3 MB (12257205 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:be81f28d833cc45259a4a886dc359b1bd8db0da24d33d922c544130d118d6ac1
Last Modified: Tue, 18 Mar 2025 08:03:45 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c15d3a9cf3fb4006cce246c49466ff4a81a9583ed063f0991519e8915682db24
Last Modified: Tue, 18 Mar 2025 08:08:04 GMT
Size: 27.5 MB (27549651 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2678532120310d4b84621032aec2bca866154fc5d34b04038c9cc59e660a1809
Last Modified: Tue, 18 Mar 2025 08:08:03 GMT
Size: 2.4 KB (2447 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fa8b25fda353cf739ad667120349450e314b15edc38bde4f4b9bf42d38727461
Last Modified: Tue, 18 Mar 2025 08:08:04 GMT
Size: 244.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:09b8a8683b1dfbe50d5b76148059aa61804829d9e321aaf37e780e98a040d80c
Last Modified: Tue, 18 Mar 2025 08:08:04 GMT
Size: 9.2 KB (9185 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:32670fb156d9f02b4f012e365fc0b074d8bc3d611b23831b840f88fec38c2261
Last Modified: Wed, 19 Mar 2025 23:58:16 GMT
Size: 2.2 MB (2232017 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f128e2de4327e9ed3940d6eb9189da7dcd4ca1368b59960387aaf4f8023b8e37
Last Modified: Wed, 19 Mar 2025 23:58:16 GMT
Size: 314.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:61746c5e51d7e91a8c044720ee9af6bfb1829478ea81c84318ca59352dc5151f
Last Modified: Wed, 19 Mar 2025 23:58:16 GMT
Size: 740.8 KB (740826 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:defd8014e149f35099c7e57c15048749cbc101ab154200406b97640e5b7e1198
Last Modified: Wed, 19 Mar 2025 23:58:16 GMT
Size: 116.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cd5af4cdff51710340163b013559a64c64b87aab6e2a6ff74ce4118ee7ace798
Last Modified: Wed, 19 Mar 2025 23:58:19 GMT
Size: 21.2 MB (21157343 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'i386' out/ 'bookworm''@1742169600'# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMTENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTRUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENTRYPOINT ["docker-php-entrypoint"]
# Thu, 13 Mar 2025 21:54:41 GMTWORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTSTOPSIGNAL SIGQUIT
# Thu, 13 Mar 2025 21:54:41 GMTEXPOSE map[9000/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMTCMD ["php-fpm"]
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTRUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTCOPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMTENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMTWORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; export COMPOSER_HOME="$(mktemp -d)"; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:bdeb081d427d7feac6a8c0bd36a2c34506a1aa38143fe43a5c5a8c162698a854
Last Modified: Mon, 17 Mar 2025 22:17:35 GMT
Size: 29.2 MB (29189528 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9596f9c0b8e3ce49a4cc67011b539f6ab218232dadf750023fb585fa43088862
Last Modified: Mon, 17 Mar 2025 23:31:46 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1f8d950544d56dbde14aa4dc0ff613dba3f9144b59aade937837b6acc959347f
Last Modified: Mon, 17 Mar 2025 23:31:50 GMT
Size: 101.5 MB (101512572 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:020384233c948226bc1ecaf06a4d4059ae2d88754fcfdb5af84ffb9c7bafbb2c
Last Modified: Mon, 17 Mar 2025 23:31:46 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:51f65680892e1874d0f8c9ec05898e323b15a0d8aa629c2c3eeb6a7eac436065
Last Modified: Mon, 17 Mar 2025 23:31:47 GMT
Size: 12.3 MB (12256525 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:00949d838acc0e4f87175d4b08a01ec1ce5790b83618cedc777337dda8fe6c0c
Last Modified: Mon, 17 Mar 2025 23:31:47 GMT
Size: 487.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5cdf7b51e84d161b9783125245c9586814038c641eb890dad7870fbc86a18b22
Last Modified: Mon, 17 Mar 2025 23:31:48 GMT
Size: 28.1 MB (28119193 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:74f434b5da9e8f30d7bc1a5d13ba3f55145235a867b7f8bb840b0ebd21f803c2
Last Modified: Mon, 17 Mar 2025 23:31:48 GMT
Size: 2.4 KB (2446 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7e0312e0e2e4521b999052abf383e427cbcef1701da05050fe01e55659e55cc0
Last Modified: Mon, 17 Mar 2025 23:31:48 GMT
Size: 246.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e25d578b3e884d758b4be7e77d56044abd7bc5765daaea296d9db5b9739eca0f
Last Modified: Mon, 17 Mar 2025 23:31:49 GMT
Size: 9.2 KB (9179 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:865e4c20bfde6f83149418d6389e285354b7b771319fb6343958f3b2ebc1618c
Last Modified: Wed, 19 Mar 2025 23:23:46 GMT
Size: 2.0 MB (2026124 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:efa70fa13e6316c724a417eebdf6f8142caa7f47f711619fe5b69e42442a4311
Last Modified: Wed, 19 Mar 2025 23:23:46 GMT
Size: 315.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:882ddbabe3ea56766a7a4cca0ed5df5e7fcc0c40975f7c6462abd12b6ee9c638
Last Modified: Wed, 19 Mar 2025 23:23:46 GMT
Size: 740.8 KB (740824 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8d8dfff06096f5638b2929c6b98d9276adb60582114c3550e717658c74ae0ba7
Last Modified: Wed, 19 Mar 2025 23:23:38 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b267633c0bdc7bb5d192c73ed36ad5b95a82da93abe0fd14db7e0fa33119db84
Last Modified: Wed, 19 Mar 2025 23:23:47 GMT
Size: 21.2 MB (21157422 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'ppc64el' out/ 'bookworm''@1742169600'# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMTENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTRUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENTRYPOINT ["docker-php-entrypoint"]
# Thu, 13 Mar 2025 21:54:41 GMTWORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTSTOPSIGNAL SIGQUIT
# Thu, 13 Mar 2025 21:54:41 GMTEXPOSE map[9000/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMTCMD ["php-fpm"]
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTRUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTCOPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMTENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMTWORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; export COMPOSER_HOME="$(mktemp -d)"; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:89104bade2bef9a11eda15952361b42943ba7a21a6bc452862cf92faeccc17cf
Last Modified: Mon, 17 Mar 2025 22:20:32 GMT
Size: 32.0 MB (32047814 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b40c9e444f13d4c7a03580cf188ef06ad94ffc13189161777e9ed5cf824f8ea7
Last Modified: Tue, 18 Mar 2025 03:15:03 GMT
Size: 223.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:aef297c24191733a2fbe29ead5c53224c75c11b7ee0ba80b57b0b3898a33bbbf
Last Modified: Tue, 18 Mar 2025 03:15:07 GMT
Size: 103.3 MB (103324904 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:69d707aca2b2791bdef48c24201e181e34f312580cea3313c4c8b8cdfa4a82c4
Last Modified: Tue, 18 Mar 2025 03:15:03 GMT
Size: 222.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cf0a5624b2e36c98bdb392b48af22cb7e3bfb02714da1ccbadfed07c556150cf
Last Modified: Tue, 18 Mar 2025 03:50:09 GMT
Size: 12.3 MB (12256831 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:005bdd9451d67cd64e36fba24fd6d35ad98376d9293a7a25bdc2eb4909da8751
Last Modified: Tue, 18 Mar 2025 03:50:08 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:390f3df2ca5d7bd9e205f841d0431f87fc9f24fc41a6384f2a5ea8d8ace40a5a
Last Modified: Tue, 18 Mar 2025 03:55:57 GMT
Size: 28.7 MB (28651557 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0fe52ae83a28602decadc7fc38e73aa154e1b0d833620d03fec0e774682c2762
Last Modified: Tue, 18 Mar 2025 03:55:56 GMT
Size: 2.4 KB (2446 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5fcf58a67b81f0aed612123edbc4f23f6d69bd744073ecc25b897eb09b0d4c0d
Last Modified: Tue, 18 Mar 2025 03:55:56 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2ae37236611277960b32520a2bd42d40619d7edba08d96ca2fd0421fe75a860f
Last Modified: Tue, 18 Mar 2025 03:55:56 GMT
Size: 9.2 KB (9183 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:adb277e846b8abef04100f18bd2d438604d95fa2e18677819573ded42ce1605d
Last Modified: Thu, 20 Mar 2025 00:01:29 GMT
Size: 1.8 MB (1832486 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ae5d7022b426647a03fa1fa7557100a9f995309b921faf1e0712032ac5dd7d15
Last Modified: Thu, 20 Mar 2025 00:01:28 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0a9427436f17134edf1fb2b1c9fb668c80b2d293f8305264d3372bc951ecf488
Last Modified: Thu, 20 Mar 2025 00:01:29 GMT
Size: 740.8 KB (740825 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cb17dc928a7f24070674c47f59667599bc7214eca1127f7a93ed0e956ffa248e
Last Modified: Thu, 20 Mar 2025 00:01:28 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8652deb8ab14958f015cf9931edd534ca87c71b6b94c4a4344dfba23c8b5bb56
Last Modified: Thu, 20 Mar 2025 00:01:30 GMT
Size: 21.2 MB (21156961 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 's390x' out/ 'bookworm''@1742169600'# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMTENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMTENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMTRUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTCOPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTRUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTENTRYPOINT ["docker-php-entrypoint"]
# Thu, 13 Mar 2025 21:54:41 GMTWORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMTSTOPSIGNAL SIGQUIT
# Thu, 13 Mar 2025 21:54:41 GMTEXPOSE map[9000/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMTCMD ["php-fpm"]
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTRUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTCOPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMTENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMTWORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMTRUN set -eux; export COMPOSER_HOME="$(mktemp -d)"; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMTENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:c25b115468ab81aaa9017d4d794bc086cba904c84f73abda1eac28615cd44629
Last Modified: Mon, 17 Mar 2025 22:27:10 GMT
Size: 26.9 MB (26861059 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b260f9f21520ff4ef8ecebbd464f756c4b42eeef8d200ff3739e0360d36e011b
Last Modified: Tue, 18 Mar 2025 03:15:20 GMT
Size: 224.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a02ec70644549123b866d1c2182ff0cbc0649aaf062785663e3cf3f77c813173
Last Modified: Tue, 18 Mar 2025 03:15:22 GMT
Size: 80.8 MB (80816102 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4a92f3c840861f6c757cffe1b678b36ac8639e938b70d826614eef6eda30939f
Last Modified: Tue, 18 Mar 2025 03:15:20 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:42b751a3f0ea0cbb8b4ef59a623c1da25df101dd902add3f5e59606609bec4bc
Last Modified: Tue, 18 Mar 2025 03:48:37 GMT
Size: 12.3 MB (12255960 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0c4a3d4f2414e100b0ad25e9412f523bbfec6e76dc5af5c4c57c96ec010eddec
Last Modified: Tue, 18 Mar 2025 03:48:36 GMT
Size: 487.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0da3d21dab82921623930190a49c62cfa68db803c0b1e2488b97d493ef3e8093
Last Modified: Tue, 18 Mar 2025 03:48:37 GMT
Size: 26.7 MB (26704740 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2af0e7bf5a56340747401b632c5bbb0e38a9d0ba113447fdd54952aa09e19675
Last Modified: Tue, 18 Mar 2025 03:48:37 GMT
Size: 2.4 KB (2446 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4aca372a1d6b6626146b200f13f6e4421e032c8ff3407a01571398754b3ca295
Last Modified: Tue, 18 Mar 2025 03:48:37 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0a3616d91f17240b85ce64e488e7e9d331b79b45fec63af59024db92b223d128
Last Modified: Tue, 18 Mar 2025 03:48:37 GMT
Size: 9.2 KB (9180 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2221b43250042e0d924b931e9a274e99a2b4c4976c3f043ba867dfe4ae0dc154
Last Modified: Thu, 20 Mar 2025 00:53:07 GMT
Size: 1.5 MB (1529717 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b328e8de43610d8f7f4548b98c34b5fe77cb9f0c7bd69fc50cbdbdc4e9f7e660
Last Modified: Thu, 20 Mar 2025 00:53:07 GMT
Size: 314.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6ba8632537d6539ff95ca1eb6dc1cbaf6bc33ea6bc92f29ff4a65e02cefd97ae
Last Modified: Thu, 20 Mar 2025 00:53:07 GMT
Size: 740.8 KB (740826 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:585fc059355a3b7e8904b806df3a4c743dfd078105007b925d9b78e684cd5686
Last Modified: Thu, 20 Mar 2025 00:53:07 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:91d1b8aafe6f9ec835ab53e6796ce3b6d57481d99049d1aca8e158ed4b7ff392
Last Modified: Thu, 20 Mar 2025 00:53:09 GMT
Size: 21.2 MB (21157389 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip