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/ 'bullseye''@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:55147cbf65d4d152c070165835355b8ea7a090d48d81ba52cbeb9bbe8d629fc0
Last Modified: Mon, 17 Mar 2025 22:17:31 GMT
Size: 30.3 MB (30253836 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f64c0f604bfc406dec89e091d06523489f894e5accd1188d6f9d5d36ea95ea7e
Last Modified: Mon, 17 Mar 2025 23:22:08 GMT
Size: 223.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:84e492cf684de4631f764dc69eb586085e0f061483207d7db025f92a2635ec6f
Last Modified: Mon, 17 Mar 2025 23:22:11 GMT
Size: 91.4 MB (91448962 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:582ef077979b0b7f0ab1ff93a0ae1d00f8d26385059145cab91a3a2ff02620e7
Last Modified: Mon, 17 Mar 2025 23:22:08 GMT
Size: 223.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9d0759ac3dfc66a2e48c729465d406435600417adb5498a1871cbd577a2d0de2
Last Modified: Mon, 17 Mar 2025 23:22:09 GMT
Size: 12.3 MB (12251052 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9ac98c85527df0f6fc40d23ed3af470a6aa4804ef953f73fdc4328e4074980a3
Last Modified: Mon, 17 Mar 2025 23:22:09 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:46b14d7711cd580666bc698cf758eecd151bb901ed353e80f9543e41c2ab2811
Last Modified: Mon, 17 Mar 2025 23:22:10 GMT
Size: 26.3 MB (26322718 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b1c888206df2b413ef98b3452ca68784afc2622fd33ff55609d4232d97fea954
Last Modified: Mon, 17 Mar 2025 23:22:10 GMT
Size: 2.4 KB (2449 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2e626e7a11f8679d2d68c13effecc306aa6edd130f7dd2215ad9ec24bfa64015
Last Modified: Mon, 17 Mar 2025 23:22:11 GMT
Size: 247.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:5fdea224ed5956f023285b2c8254ca458f93397b25400339c037473632d0f4e0
Last Modified: Mon, 17 Mar 2025 23:22:11 GMT
Size: 9.2 KB (9180 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:77b677d3ed3ebb9d7be2cb72b037affe27cd52705bd4aa5eefd9874dd390cb4a
Last Modified: Wed, 19 Mar 2025 23:23:48 GMT
Size: 1.9 MB (1904805 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7c29e9a0f266859d06d9edf6a5faeb4fc138b671dd93802bf834df4dac9607b3
Last Modified: Wed, 19 Mar 2025 23:23:48 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c44c628fc10f27c5b248cc83d55a89702a72b5160498d62e4b48d352e099c409
Last Modified: Wed, 19 Mar 2025 23:23:48 GMT
Size: 740.8 KB (740826 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ea4cb78a86b272ed5791e3c53602a050d7ac1aef5199d4fd16c058f6556da04f
Last Modified: Wed, 19 Mar 2025 23:23:48 GMT
Size: 116.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:28cc952759c33aeedc6ac7093073c3664d97b9faafd9b85d97ddcda252217eba
Last Modified: Wed, 19 Mar 2025 23:23:49 GMT
Size: 21.2 MB (21157268 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'armhf' out/ 'bullseye''@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:3687c9079028ac9bf763326f4be55b4e440b37b5baf0c4529715d811c7ec1718
Last Modified: Mon, 17 Mar 2025 22:19:22 GMT
Size: 25.5 MB (25535344 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5b1025fe025af769b6936ee3ed06b13f60f6c4df2ea57a88d17e56f673ea45b6
Last Modified: Tue, 18 Mar 2025 06:34:40 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b8c44daab001583fce063841032bb6ea652620064ab9fbf7d880588eaf67c75b
Last Modified: Tue, 18 Mar 2025 06:34:43 GMT
Size: 69.1 MB (69119208 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ff841f7831550381d69a8f1bf31c3b5a47d736c2f6a95a57f029a70b9f2ba3ea
Last Modified: Tue, 18 Mar 2025 06:34:40 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0a316216f435ace1ac0758c4bfa03abcf7e7771a23725bfa34143226a5178a52
Last Modified: Tue, 18 Mar 2025 10:17:11 GMT
Size: 12.2 MB (12249463 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:48534695212ce905894b996f5f0b93df945999331ab03c362e1df5c49cab41c4
Last Modified: Tue, 18 Mar 2025 10:17:11 GMT
Size: 487.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c331969d66c00b84fead1fff66a963c162f4e15d3c189cbe522ef4ca95912183
Last Modified: Tue, 18 Mar 2025 10:20:43 GMT
Size: 24.0 MB (24034293 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:af99953407788fe3c9a3f39d39965ec084d2b965cbf948cb0275deda05d84293
Last Modified: Tue, 18 Mar 2025 10:20:42 GMT
Size: 2.4 KB (2447 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a486401d62cd32be4fa2c1b1ecdcb6f573b8d81ec658cf10ebb4fcce10300fd7
Last Modified: Tue, 18 Mar 2025 10:20:42 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:ef4fe6c61d50aef04d637d59ad0bb7c3eb410899d7d85866e567af65b41549d2
Last Modified: Tue, 18 Mar 2025 10:20:42 GMT
Size: 9.2 KB (9185 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:51eecf6c6dc5a34d933f70bdf15f543cd1a8ee08df9456042a85733e9d2b2787
Last Modified: Tue, 18 Mar 2025 15:15:49 GMT
Size: 1.3 MB (1284322 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:56abf610b2554da623317db8146dc741bf69d60a3e314c1e8cf8db97c6b83a20
Last Modified: Tue, 18 Mar 2025 15:15:49 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:87ebd72347fb49c9c998cdc73efb4c96c0fcb898b9a5f54a2f7f2c9a78e1672c
Last Modified: Tue, 18 Mar 2025 15:15:49 GMT
Size: 740.8 KB (740822 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c8e9c4632090c8d21c8137c50584ae8825ee297b555153227cf31f4cb02665c0
Last Modified: Thu, 20 Mar 2025 00:12:40 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:69f1f247a1b8582c4d0f59edf2507a797912c3a2f58858cadc740d572020f199
Last Modified: Thu, 20 Mar 2025 00:12:42 GMT
Size: 21.2 MB (21157405 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'arm64' out/ 'bullseye''@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:6eba8885c82049d690776150810f32585aca6c3eba49f692753434bdaee447ec
Last Modified: Mon, 17 Mar 2025 22:18:52 GMT
Size: 28.7 MB (28745923 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4c30a4b98d6d9d341325155385916d7532526ea08768653b48f2722f278a8d43
Last Modified: Tue, 18 Mar 2025 05:31:07 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:feb0e83a8ad79344475695e51f2489c2d8cf5877a26fcded29b10154759542f1
Last Modified: Tue, 18 Mar 2025 05:31:09 GMT
Size: 86.7 MB (86734007 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f80f21d828c5691e64bf7ff33432f2bc2b409ac5eb2fbbdd42b81f7c20557c38
Last Modified: Tue, 18 Mar 2025 05:31:07 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d599a5ed3ccb1d3f38e4bd85830dc095da91afd75440ebf875cc4ff6b65242e7
Last Modified: Tue, 18 Mar 2025 07:47:44 GMT
Size: 12.3 MB (12250264 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:78fd327cee99c0c90f6e7aa29c8084265ca086e1aaf7375cb51bec2d228ecde4
Last Modified: Tue, 18 Mar 2025 07:47:43 GMT
Size: 490.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:69dc16e63f8a4864d6bfb42033cdb2f33b1110bca8e961787adf1e8df3bf0a28
Last Modified: Tue, 18 Mar 2025 07:51:28 GMT
Size: 26.4 MB (26381897 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1ff5186d93f6898362eca7edc624f9189573772f7b5ff2dc2f0dd85673ca8003
Last Modified: Tue, 18 Mar 2025 07:51:27 GMT
Size: 2.4 KB (2448 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:853f4e8bbc83516157157bee3c35d529cfca6f568711b1f7f5b283a0a291ff92
Last Modified: Tue, 18 Mar 2025 07:51:27 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:a251c5092da7906f3eb7b280bac4bfbd8fd898e710e30e3e8ae1fb736d40b51f
Last Modified: Tue, 18 Mar 2025 07:51:27 GMT
Size: 9.2 KB (9185 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3ea454469c3c67a8119d5bc59e7cbc406641a0e90d48ea607ea29872e30d1f1f
Last Modified: Thu, 20 Mar 2025 00:01:42 GMT
Size: 2.2 MB (2170866 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ed16b3e472df4b976674faed24cfe790b201eb612f4eb9fa3728e916f4bf826f
Last Modified: Thu, 20 Mar 2025 00:01:42 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ef908b0b8ee6d6b894e1dbf57d299d9e128c333e2c877f3360f5f1439eea5a6c
Last Modified: Thu, 20 Mar 2025 00:01:42 GMT
Size: 740.8 KB (740826 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9fd06b2d833b76e4201acd349e03a677c2abfbd0a3d65dabfec7312c9a9ca5a9
Last Modified: Thu, 20 Mar 2025 00:01:42 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d9b857c947547f7ed504db53e3514eb4aa5534143f1607ae8dc1b4b27428bdd6
Last Modified: Thu, 20 Mar 2025 00:01:44 GMT
Size: 21.2 MB (21157394 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
# Thu, 13 Mar 2025 21:54:41 GMTRUN # debian.sh --arch 'i386' out/ 'bullseye''@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:e83ba34877ecae8e583197e97ef35a452a1d1b81c406023bf40d3c79d5ba9025
Last Modified: Mon, 17 Mar 2025 22:17:57 GMT
Size: 31.2 MB (31180337 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e264907dd383dfeb17c3f06a26d8d221abcbf177d204784473050d644e8b1918
Last Modified: Mon, 17 Mar 2025 23:31:02 GMT
Size: 224.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:38fafdaf76b91cb64ae13c3d7d5f67558f32a62a3d2f848607503e9408b0820e
Last Modified: Mon, 17 Mar 2025 23:31:05 GMT
Size: 92.5 MB (92521356 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:de88d077f149f4d573a4886d9b138623b6d43b02e8843d2dc97c339717f9d042
Last Modified: Mon, 17 Mar 2025 23:31:02 GMT
Size: 224.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2dad39d8577d0333a7365c385758d88e648c88a27f11aaf55c9e31164609b76f
Last Modified: Mon, 17 Mar 2025 23:31:03 GMT
Size: 12.3 MB (12250200 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:53492e5baa5d80b1c869a6292991ba86ccb01f4d87d077e66ab0794b6dc428e4
Last Modified: Mon, 17 Mar 2025 23:31:03 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f1e5dab548142fd9535e25fd3239909e96528964c5027979c621cb3c5c281ada
Last Modified: Mon, 17 Mar 2025 23:31:05 GMT
Size: 26.8 MB (26816283 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0d6bdd7664dd6d05252a8c82d0616536c3108349bfe341eb5026a75464c844f9
Last Modified: Mon, 17 Mar 2025 23:31:04 GMT
Size: 2.5 KB (2450 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e5a9374ad3d03fb92351d9bdb625536dcd890f518fb07af238d3bb7ba4f1fb7d
Last Modified: Mon, 17 Mar 2025 23:31:04 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:57d8eb926e07918fd173c263f07ab229ee1b3f225f06a8998374c2fe27db24c1
Last Modified: Mon, 17 Mar 2025 23:31:05 GMT
Size: 9.2 KB (9180 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2badfb62a00c56839012615701882fb174643a206598d92d40a9b40fcb88c2cd
Last Modified: Wed, 19 Mar 2025 23:23:55 GMT
Size: 2.0 MB (1971124 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9e6196676239820e220d3cdc6c5e98f0fc55753b3a2a5991674ef5d0b52888e1
Last Modified: Wed, 19 Mar 2025 23:23:55 GMT
Size: 314.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:16e04f705a38610070b783a7f1654184230bb5c1f8521e431c0932cc84a23a73
Last Modified: Wed, 19 Mar 2025 23:23:55 GMT
Size: 740.8 KB (740826 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8604d264b63806a6c9f6e46977b29ebc51ce3f29dbaf57d03086ada122979402
Last Modified: Wed, 19 Mar 2025 23:23:55 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6f1916253dc09ef678f908c4df5b5d878660a4515bcdad731a3a5cee9ad388d3
Last Modified: Wed, 19 Mar 2025 23:23:57 GMT
Size: 21.2 MB (21157409 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip