Namespace
library
Image / Tag
drupal:11.3.0-rc2-fpm-alpine
Content Digest
sha256:9f18767cfe2d3ac0fc4858301b3ed312bd00ebbc954c95ec0d9d322b105d7588
Details
Created

2025-12-15 21:18:45 UTC

Size

57.4 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:3527b4f952d5950d8caa74dc0d1759215000f2f0a195344f0239c7e2805fe2fc - 6.12% (3.52 MB)

[#001] sha256:c40f3c13450f02007e17bc20fb8f9181bcf7b37b2b54c84a50f34c48644f01dc - 6.02% (3.46 MB)

[#002] sha256:9155a3e54b80d1c7e22085266af719e9ac8732911fdc3a88099d3807a9752a80 - 0.0% (929 Bytes)

[#003] sha256:8927d906183c357c72a3ab3419979c42e1a0fbd64bea0e115031573c3d916158 - 0.0% (214 Bytes)

[#004] sha256:ddf1cc81cbd25c7e6a20b3d0e3d925b7c475bcb0f2321d82d213191a931cb550 - 22.71% (13 MB)

[#005] sha256:eec43c7158f2d20491f559d806f730a022d16d01f21a06aa88a5260552785a5d - 0.0% (489 Bytes)

[#006] sha256:0fad202167e178e6ef1a5a5b2b3a0a4241594cbc9a7750b3f17c915e6cf4e2bd - 25.71% (14.8 MB)

[#007] sha256:9ef7e560e47210d2bc86a9aaa0307c3a02715b85211ff548296840fb95554bf3 - 0.0% (2.39 KB)

[#008] sha256:3f228f750f69a8394be033d4735b9c3befb83d2135bd95216ac15aba8bee40ce - 0.04% (22.9 KB)

[#009] sha256:8f9cc8ac37d108737f595f63df986ab4b00e073b44f2161908688c37ce46e9e8 - 0.04% (23 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:4923bfe5f49324fbda7f3d56664d1c96432566d33263d075d42ad5fff83c0126 - 0.02% (8.98 KB)

[#012] sha256:088a30f939bbf8b8a5f96174adaeaecef92672938d20196a6887ff82d8eb8c03 - 2.7% (1.55 MB)

[#013] sha256:05184bedf70c2eb2ff6976d51b8f30f288791b0acf8ac97cad84eadc5d914fd7 - 0.0% (310 Bytes)

[#014] sha256:73a2c427807049975aa30ab41d9dd3dfa7a7ce42b168d607c844c27fd6d064a5 - 1.29% (760 KB)

[#015] sha256:ef1272c118ea4a039681c117a0d0a1a6d33c5a4283358bfb246b2c1ed284153b - 0.0% (114 Bytes)

[#016] sha256:4efe5f899643a431be6291d56e63aaca3e23d89abbbd4ecffaa49f7992d49387 - 35.35% (20.3 MB)


History
2025-12-03 19:30:18 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-x86.tar.gz / # buildkit

2025-12-03 19:30:18 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:04:49 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:08:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:08:18 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:11:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:11:38 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:11:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:11:39 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-15 21:18:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-15 21:18:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-15 21:18:38 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-15 21:18:38 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-15 21:18:38 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-15 21:18:38 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:18:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:18:45 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-15 21:21:24 UTC

Size

57.2 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:014e56e613968f73cce0858124ca5fbc601d7888099969a4eea69f31dcd71a53 - 6.44% (3.68 MB)

[#001] sha256:dc381c22afc093b02701ea7d26801e5f8bc363e734bd1329d32f7d7e43ff1df9 - 5.99% (3.42 MB)

[#002] sha256:3c740ff8b99fd46790bb6390b290de42ce7099d84fbac7504b27a3588714ccf5 - 0.0% (930 Bytes)

[#003] sha256:054dacb7cedcbcc68afdd2c8a9ab1ee0e35a9ceb5a0840295ad4fd0d2d944af7 - 0.0% (215 Bytes)

[#004] sha256:30edd268a5e867e6244318c34082637d873da4a4d8a4c2bdb4ef1ae302d08b81 - 22.81% (13 MB)

[#005] sha256:f51b7a6e2771a892024bc3cfa97a4f83864ca7b74618eb4fc92e2664e335929a - 0.0% (487 Bytes)

[#006] sha256:2869b10c053eb7477436bceb903eaf223528f45077ee35a6dab6ee94c9272c68 - 25.31% (14.5 MB)

[#007] sha256:9f993fa5ab3f7cc2d01c503df819c9420e8ec632cc7ae84add75ee1ff66dcdf5 - 0.0% (2.39 KB)

[#008] sha256:2ca4b9fc8208da9338ae20690d77d3eb73c6985f4c93d049d6d3fca56bcef98b - 0.04% (22.9 KB)

[#009] sha256:f6d092dbf8d7ccda9a3c07fbc692d30434705d85fed14dfb2c6f6b4bca9432ee - 0.04% (23 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:e9a63374b4f48f197771338016f8bdf8efe04e099963e866ba5b556d913d3b3e - 0.02% (8.98 KB)

[#012] sha256:17e2c021f43e49b04b2227a5f6de3fd303c05bb14d5587d1fa38be6758a9bb68 - 2.55% (1.46 MB)

[#013] sha256:2bbd81b33731ad68b5160ca91e81f4b90bee61c5d7d129d9d5d221834b195d6e - 0.0% (313 Bytes)

[#014] sha256:43f2968e71afad07fc96c3f559f3d6e8e93d489964054c98205269f8d4334ac6 - 1.3% (760 KB)

[#015] sha256:230e8742fbb05e311ec8e0fb5002ab2e01ff5946c8b97c08b49c31a1f6776abc - 0.0% (114 Bytes)

[#016] sha256:0fa21e8664b0acb2b5f46372138dbb2d00d32bf5f45acc17eef21607d753afb9 - 35.51% (20.3 MB)


History
2025-12-03 19:30:18 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-x86_64.tar.gz / # buildkit

2025-12-03 19:30:18 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:04:18 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:04:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:04:22 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:07:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:07:36 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:07:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:07:37 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-15 21:21:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-15 21:21:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-15 21:21:17 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-15 21:21:18 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-15 21:21:18 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-15 21:21:18 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:21:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:21:24 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-15 21:16:21 UTC

Size

55.2 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:dd0740468c9e19d93d459e4637a652c4fb8e1012c1adeac2e7311f14dcd210f6 - 6.16% (3.4 MB)

[#001] sha256:282ab84442e5667da6ab76755d677f2c138618e5b0017a60d63a818618ed74b3 - 6.12% (3.38 MB)

[#002] sha256:73582f6b7d2492e7c93ffb23e5878769a782317485b2ac5ac238b60dfc377367 - 0.0% (928 Bytes)

[#003] sha256:ffb66864cd68154387ebc22f9d9623f22d3d77a445f6fcd3e4ca8e011bafe39c - 0.0% (217 Bytes)

[#004] sha256:efe71e1476088e03d5e5de4b045877aa44c1827923ae7bd0bece6b331640baf3 - 23.61% (13 MB)

[#005] sha256:16fd6ae9e0ed34dd07593ea5d3a45bd9c88b53a7872d148f88256eac9c623dd0 - 0.0% (490 Bytes)

[#006] sha256:972fce26c06d50aaafdd40816f26aee787e6f5dba2b03a091349dd08488cae0c - 23.59% (13 MB)

[#007] sha256:243296c3b1687861e7d9e578cac3f25d58b18eed39f084d88bde175bbc793298 - 0.0% (2.39 KB)

[#008] sha256:4dd887ec93be8d760fdd9fad3ea2705674fe4ce7cf248ce72757e9bfd5f3c53e - 0.04% (22.8 KB)

[#009] sha256:8cd127b364805d092e50c01c5772ffe4319aeee24526867648f0136131150f0e - 0.04% (22.8 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:4a1e012cf4b899dd1dbd8088e1bc5c9c2f021ecf484ec13f1e802a762696dcd2 - 0.02% (8.97 KB)

[#012] sha256:228590308c73ca3b9b711a4f0fa3428d3984060c3b1a1247a1744a5bfbc99add - 2.31% (1.28 MB)

[#013] sha256:70c694dbab00bc4ba6bf175a4fc52fcc2f1f13357e070103dc529870595d9675 - 0.0% (310 Bytes)

[#014] sha256:e0ca93730edcc66c3f3eca68509b656bbfc6a285476f849b01cb5cd4486b44a9 - 1.34% (760 KB)

[#015] sha256:95a9db47eeb656ddc5ac38b5a4d8123d3d1e4495fb7111fde0ca13e914b79e9e - 0.0% (114 Bytes)

[#016] sha256:a8a8e92908c55e42794045acefe3087244110dff53f910691b21d1408fce199b - 36.76% (20.3 MB)


History
2025-12-03 19:30:25 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-armhf.tar.gz / # buildkit

2025-12-03 19:30:25 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:03:23 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:10:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:10:52 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:13:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:13:48 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:13:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:13:50 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-15 21:16:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-15 21:16:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-15 21:16:08 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-15 21:16:08 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-15 21:16:08 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-15 21:16:08 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:16:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:16:21 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-15 21:21:49 UTC

Size

54 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:5f34bcd7b3c0108b00e414f3370e9140a1cb6e02ec1caaa14ff2f25408910a24 - 5.79% (3.13 MB)

[#001] sha256:bfd894f51e3764736bb05301b970f25645c1cf3e4f8c635b1c60a852a93f7ac8 - 5.91% (3.19 MB)

[#002] sha256:9259ca1939c2345efa94c49afa3bb7114bd93157c3c12c9d71e12b61fb659030 - 0.0% (928 Bytes)

[#003] sha256:cabe771a7bc75ff2477d17a4e1e5f8a78571610720921b5a8e6b761dd954c99c - 0.0% (214 Bytes)

[#004] sha256:721a295816b865b9072f65802d34d9904fe939654b367bcd434b59973e994cae - 24.17% (13 MB)

[#005] sha256:7590389d88b30bcacdb597cd70702395962e08e3b8f5f2469b82fa6f77ba301f - 0.0% (492 Bytes)

[#006] sha256:1578098c266a015ffbb817415e4551197024d094ea098635a78f02c9b1dbfaac - 22.81% (12.3 MB)

[#007] sha256:8ad7ed1dd8e10a8310b2591cae448b8526d7cc0927ec73e848840245c0760a8f - 0.0% (2.39 KB)

[#008] sha256:0b8b8e31d695cca008dc4758a98461b22f9b9a2f5cb4baaa7378e80672e38966 - 0.04% (22.8 KB)

[#009] sha256:6d42732065277b79cd0ac41d5a2d9933c840610251e1d8b07e8651ae854c41fc - 0.04% (22.8 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:2e6a5f7f80d131611662fabccd3822ed9e251bd2e1aa9af0287fd64f2ed7b097 - 0.02% (8.98 KB)

[#012] sha256:d492481fe744073adaf694193ddf5fcb6594f5951cae1bba478409d5455e87df - 2.19% (1.18 MB)

[#013] sha256:27b7ed7a0bc38ffe120798332b90b0b930b5baacb6f43a8529e862fc70ffa13b - 0.0% (312 Bytes)

[#014] sha256:bec1b7eee5b9723efbfc99a24e857a1c2b4961bce31454ea528057ed73badb5f - 1.38% (760 KB)

[#015] sha256:0f3c8907137a97e68d34ef305f467274a470398648037b2d1e016bcfd9bef8bb - 0.0% (114 Bytes)

[#016] sha256:5e68c6c098e863c4dc72c73dba58126891c75d7d271e546237bb79c8345851cb - 37.63% (20.3 MB)


History
2025-12-03 19:30:51 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-armv7.tar.gz / # buildkit

2025-12-03 19:30:51 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:03:22 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:07:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:07:13 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:10:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:10:10 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:10:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:10:11 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-15 21:21:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-15 21:21:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-15 21:21:42 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-15 21:21:42 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-15 21:21:42 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-15 21:21:42 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:21:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:21:49 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-15 21:20:46 UTC

Size

57 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:0bd713040ebbdef7247f70b0753f8fb2f410e8eb358e95af409a8412b9847d78 - 7.02% (4 MB)

[#001] sha256:ac8f6818f2b4c8063bb18759e2c7020abede0da990a04ac78231557e2251d5f7 - 6.02% (3.43 MB)

[#002] sha256:f3fa82dc6805c7b8c66c152a9808394315bfcc0cff5690ddc4a3c2d5ea0b48d5 - 0.0% (929 Bytes)

[#003] sha256:ef6f187c586428770f6e8ab0f7df259d4e638fe97735b150d47ba796ecf46c69 - 0.0% (215 Bytes)

[#004] sha256:1d887a51e02d6cfd2c5e030f622450a1f7f1b376bef576e3a0f419f6354c380c - 22.88% (13 MB)

[#005] sha256:6039c19b05c6dabc703a14a2d773a473d4e0e1e22879d9d6cd7870575bbfe0b1 - 0.0% (486 Bytes)

[#006] sha256:10b4a3e7e05aa44443f5ae3e4271ca949d6e214f01714c7ed54af17c56d3f21a - 24.57% (14 MB)

[#007] sha256:60b67105a9144a6e398227703915785f934cc83fba7dea08208ea95eca963bde - 0.0% (2.39 KB)

[#008] sha256:dee24e75cd58c648160be3c4a395cdb3394546fad4f69491f382b6ed5bf885a7 - 0.04% (22.8 KB)

[#009] sha256:426a9ad64d069ac6cfe8fcef5b0a91bb62ee3293ad0e869e4e1487159a2566aa - 0.04% (22.8 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:dd665a2eb61f764194db661b4e331df88406223a13a2b76225c746d129965ff7 - 0.02% (8.98 KB)

[#012] sha256:a8ddd090cf7db66b40b1c5e7433da322ff73b49eedeb8f20f6ce9f25efdc7aeb - 2.48% (1.41 MB)

[#013] sha256:cefa9d4833ba6e3659a0c38421b071831166097320fcaad0df3887c8fdabe37a - 0.0% (311 Bytes)

[#014] sha256:e8e47073e6e3730250bca00cac8e8b30f90d872145ca7e715cf2783911204b9c - 1.3% (760 KB)

[#015] sha256:4d3a35505747bde531cb23518222463a7f0aae033ef1508d5ae1f5dd214829d5 - 0.0% (114 Bytes)

[#016] sha256:1291a530aefbef74efdddc5d8ade69dfa09b3faeeba0be55e439a3492b6f691f - 35.63% (20.3 MB)


History
2025-12-03 19:30:17 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-aarch64.tar.gz / # buildkit

2025-12-03 19:30:17 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:05:46 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:05:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:05:50 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:09:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:09:08 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:09:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:09:10 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-15 21:20:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-15 21:20:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-15 21:20:39 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-15 21:20:39 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-15 21:20:39 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-15 21:20:39 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:20:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:20:46 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-15 21:21:29 UTC

Size

58 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:bebb36295c11d2d52cd92944b382c4aa60dce148b63090816248052f38358488 - 6.3% (3.65 MB)

[#001] sha256:7c0a7d1a3b5b7008c71c24d3d5a87883f4c3804bbe6f605d645eca31542c453c - 6.2% (3.59 MB)

[#002] sha256:c4195a5efebe02f479fe9c6976a2651e23f862d3990e7d601648b7bd1f929850 - 0.0% (931 Bytes)

[#003] sha256:79239a134bbad0459d3e57c5cc7de1311cda2607ee4f1b08432fc54de839a4e5 - 0.0% (222 Bytes)

[#004] sha256:c1fb50256cf5cfef74e3383d7fa4ca3e5c53e437ebd969bc0fb6829868faccb6 - 22.51% (13 MB)

[#005] sha256:6a844a2b3b9af21a2e476cbbc2808c5fd83d1ba1ca7f029f11da4cb630ce8b19 - 0.0% (487 Bytes)

[#006] sha256:b58edcb7addd3a3306a7dafb48950a9f4fdc01310c86eddba6b64ffaefb45ea6 - 25.86% (15 MB)

[#007] sha256:7b31f558c52d39e060a61155e22d222ce5ca97bf5b98c92fb16800e4613c0152 - 0.0% (2.39 KB)

[#008] sha256:f33f4cb022e8ef9565628ace41c252c90d6851707201f489a5e386ab7f8e5175 - 0.04% (22.8 KB)

[#009] sha256:d235f2960210453009b9c31adcf5dbc9a2363e74edcd7b4f539b233145a39f74 - 0.04% (22.8 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:0d486d352329a5e6e75fab05368b786fe620610f9de3c6b083a91e1b56fea205 - 0.02% (8.98 KB)

[#012] sha256:fd82d092fc49db5b89aecbd678c93c13745580a4189f011000c9b148e6e5c2c5 - 2.72% (1.57 MB)

[#013] sha256:3683da7427e1a9ce4ef521da66f5ab4991357b783b337ba5a8b252c484cff3f2 - 0.0% (309 Bytes)

[#014] sha256:6e092c36bcd12ed188013200bb990c53daaa83cbf0b19eba589cd24bf2aa2645 - 1.28% (760 KB)

[#015] sha256:017a17dbfdb104e5238385ed2548e41c293e9610527211847e88bda84d05878b - 0.0% (115 Bytes)

[#016] sha256:df637c8e8244c58b62b3273c84908c927346390905379576ee454b327730b1ce - 35.04% (20.3 MB)


History
2025-12-03 19:29:24 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-ppc64le.tar.gz / # buildkit

2025-12-03 19:29:24 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:04:38 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:04:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:04:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:04:38 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:04:39 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:10:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:10:39 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:20:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:20:22 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:20:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:20:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:20:25 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:20:26 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:20:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:20:27 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:20:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:20:27 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-04 22:48:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-04 22:48:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-04 22:48:17 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-04 22:48:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-04 22:48:17 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-04 22:48:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:21:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:21:29 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-16 12:59:00 UTC

Size

56.3 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:9929557817a4c85b33d6dbeb491f7396ef32added7e77de7ac1b644ed0975313 - 6.07% (3.42 MB)

[#001] sha256:2559d37315299ac2974df718491e68e75407bd4024398180bf2e31452dba7291 - 6.34% (3.57 MB)

[#002] sha256:4c1e3bd8574cb0921dcd93805f3fca6feedf60a33fb9c08e52f2eb9827989b0a - 0.0% (931 Bytes)

[#003] sha256:49f8090aa9a6be2d187aa1322d22eee1829c9afdeb8a4c68df173418fa6face7 - 0.0% (222 Bytes)

[#004] sha256:bf8b6f1d80a56f12660d5596d9ccb80af5ab2555709531ec9536283065ba2b7c - 23.18% (13 MB)

[#005] sha256:d2e4cd5b409854fe4a455aee413aea8743702d3c39940d594e8a1d5df3b733c7 - 0.0% (491 Bytes)

[#006] sha256:9ddc5f3cd1bc938589d3af8bee2a0a760eac5593351c8cfbf7daa966d79bd79a - 24.49% (13.8 MB)

[#007] sha256:2dea69d8712081a20f50702211ef8728c137aef12d913a49d7b3b2210aa82298 - 0.0% (2.39 KB)

[#008] sha256:34ce5c9a07f0e52fb87d03303a9f5405bb267fc835bc6e3c87635f0f0732cebf - 0.04% (22.8 KB)

[#009] sha256:7f45b2944ae118a8ba724c516eb2a8946f88256c5d31706a46d89fb1ad4b979e - 0.04% (22.8 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:deefbbba63184595d7d47d0b71530760ce003b267843b476a5c4b464abb797ab - 0.02% (8.98 KB)

[#012] sha256:942546d22289f4d26887826cc301b7a1e088cdd544208283c820e056099d78e6 - 2.4% (1.35 MB)

[#013] sha256:20df3d1cde9a29cfbddaeeb5803285865eba879e55cd2c88845a7e176c1cdd07 - 0.0% (313 Bytes)

[#014] sha256:a431ed32eba67ddde6cd38a9f5a8359aae3fba34fb3ffd78dfd8531657bfde5f - 1.32% (760 KB)

[#015] sha256:3fed8e664c87d218e1a3f5bb6c2b5e253037c9bcbc461a321f591b9d2390f424 - 0.0% (114 Bytes)

[#016] sha256:a589f84fc9983c58dc37165048c720d3325d95b55cc2d86b307a40a5cd671e0e - 36.09% (20.3 MB)


History
2025-12-03 19:29:39 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-riscv64.tar.gz / # buildkit

2025-12-03 19:29:39 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 04:20:58 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 04:20:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 04:20:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 04:20:58 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 04:20:59 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 07:28:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 07:28:27 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 09:25:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 09:25:13 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 09:25:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 09:25:23 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-05 07:59:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-05 07:59:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-05 07:59:29 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-05 07:59:29 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-05 07:59:29 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-05 07:59:29 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-16 12:59:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-16 12:59:00 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2025-12-15 21:17:26 UTC

Size

57 MB

Content Digest
Environment
COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

11.3.0-rc2

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

PHP_URL

https://www.php.net/distributions/php-8.4.15.tar.xz

PHP_VERSION

8.4.15


Layers

[#000] sha256:c7cee97a7811b4965924727bdc0a2333d48e3c6b4064a9c8867d48607fa0fc16 - 6.23% (3.55 MB)

[#001] sha256:a57875495d370cfefa264d828344954d60baa21cfed9c624ccc8c3f7017d281f - 6.34% (3.62 MB)

[#002] sha256:e4a484672f7cc3379a76694729bfaa2a2fc1eed11bf2448fd84a78a6c0e5cbf8 - 0.0% (929 Bytes)

[#003] sha256:bf2e20e4686724e9dce787d50b8e7300dbca70dabe54a633b4e671c04ac36e27 - 0.0% (224 Bytes)

[#004] sha256:237aa36c44796eb102ff0717bb1e63f78aaac5d6bb8b6edde4cfecd653ac5d44 - 22.87% (13 MB)

[#005] sha256:0961f2d0ceb7670e7e99fd9c2a3a2e010a9fdca3aeddce7138f3f348ccad7c24 - 0.0% (488 Bytes)

[#006] sha256:81987196c07e62c0a120ffade2285400d8033516352fdce4c64f38902cbf42c5 - 24.97% (14.2 MB)

[#007] sha256:68e9656a162e2c1ffdd25cf650ccb65d7724e2556fed6ff04226283bbad506d6 - 0.0% (2.39 KB)

[#008] sha256:bed158a0da4993508c7f621c3b055a252ab549bb6819f5a74d2b795b5fefc29c - 0.04% (22.8 KB)

[#009] sha256:873f4caa6c65cb8f9c00db6333dab888b64c1bc5c4f4440506987c3ded0a9388 - 0.04% (22.8 KB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:dce21b0b318274894904c8a1ba421608c1a756ea703a8de88c8eb6b0557cfc66 - 0.02% (8.98 KB)

[#012] sha256:5af8c4c148000fb92183fe6f5cd0d11ac6b248246f9311328f297f3cab73bd60 - 2.58% (1.47 MB)

[#013] sha256:adcb2fc132179248e02c6e94a64a0aaab821433b1c2edfaef53f178622cd971f - 0.0% (311 Bytes)

[#014] sha256:e89b73c3ee52ca68513951a76768da230387c53da25d1e4ff0c725c90f5201c4 - 1.3% (760 KB)

[#015] sha256:7b5c71fa1c8a8fee6310dd24e47f3484483cf8894e026b5a95d6a3148dd543c8 - 0.0% (115 Bytes)

[#016] sha256:7b42c63139c42def10d0ed0853cd5caead4d953b0c1f9593fd0c1d946d8d48b1 - 35.61% (20.3 MB)


History
2025-12-03 19:29:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.0-s390x.tar.gz / # buildkit

2025-12-03 19:29:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-12-04 01:03:54 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-12-04 01:03:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-12-04 01:03:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-12-04 01:03:54 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.15

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.15.tar.xz.asc

2025-12-04 01:03:55 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e

2025-12-04 01:04:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; 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"; apk del --no-network .fetch-deps # buildkit

2025-12-04 01:04:48 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-12-04 01:18:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-12-04 01:18:06 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-12-04 01:18:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2025-12-04 01:18:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-12-04 01:18:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-12-04 01:18:14 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-12-04 01:18:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-04 01:18:16 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-12-04 01:18:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-12-04 01:18:16 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-12-04 23:43:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libzip-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_mysql pdo_pgsql zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-12-04 23:43:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { 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

2025-12-04 23:43:24 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/local/bin/ # buildkit

2025-12-04 23:43:24 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=11.3.0-rc2

2025-12-04 23:43:24 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2025-12-04 23:43:24 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2025-12-15 21:17:26 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c 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

2025-12-15 21:17:26 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete