Namespace
library
Image / Tag
drupal:10.2.0-php8.3-apache
Content Digest
sha256:a396e9da82ba7413e4691432287680a608fff9148cf7bb5d471adb1302423d78
Details
Created

2024-01-03 18:58:56 UTC

Size

190 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.0

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.1.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

56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

PHP_URL

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

PHP_VERSION

8.3.1


Layers

[#000] sha256:8d4aad22fb6a12b8cc7a78d338dfb9bc2bd6d621517b374e446f2915833ea883 - 15.09% (28.7 MB)

[#001] sha256:1a67261edd7b9e6693f4cb4099c5f0cac3b8242bb32462503c7b4601fb022c0f - 0.0% (226 Bytes)

[#002] sha256:b34da8f089333e690321a44246a643bc3740e16fa4b064ad14edebdc446947cf - 50.84% (96.8 MB)

[#003] sha256:6f20232fd1a6a3744f261b8cd8703645db2b73ba9c6f9f8767ed58c0035369b9 - 0.0% (273 Bytes)

[#004] sha256:583c28de16ed8105fb75c436c9824fa03b132682c59c628af399c890092f4686 - 10.43% (19.9 MB)

[#005] sha256:c06b93afaa9d72db57b4db14cfe41e83f4b76c91b3bfc984b97039b917be5b46 - 0.0% (477 Bytes)

[#006] sha256:72ae963a8ff2191c2e247d38578ad8643b11cc4903c0dac19a5a41f6b3ef2daf - 0.0% (515 Bytes)

[#007] sha256:864f336a9210ef45d0402427848740db71183c27838272faecfe8191f41fafdc - 6.4% (12.2 MB)

[#008] sha256:a59597958cc1301da727d337e50a09d1e8beb894754c74143d888163d5cc489e - 0.0% (494 Bytes)

[#009] sha256:dcc2476821fb4015206eb1f8bd07707812abdf2178c2b360a93888e1e6d2bab1 - 6.23% (11.9 MB)

[#010] sha256:0c014b9a0bea2ae8cac0e661a135f6e51b5fc5db71a0a071c15f09aec6ec6a4c - 0.0% (2.4 KB)

[#011] sha256:822cc7ef19f2efbd885ddf382753c634006bbce2c0e74d4aa997ed9387d21769 - 0.0% (246 Bytes)

[#012] sha256:a25422114e2c7fdeebcbee4db26de9eab99e5398f6c55e3def74c36c73c10847 - 0.0% (896 Bytes)

[#013] sha256:aa2dbaa2ac71fcfb0c241cc5098adfec1adc047b97914eee533c09aafd0bdb95 - 1.03% (1.96 MB)

[#014] sha256:790c4f361552c1aded3b78f66b98ca8dc5aa9d06ec0a69e9f6fec931710c73a8 - 0.0% (315 Bytes)

[#015] sha256:66ed301dbd9844feba8383791be0448a1b9a641fb7ae34e7303378da5fff2fd9 - 0.35% (689 KB)

[#016] sha256:8577cf2beac1f77e29daf8a129d4c7e2f622c201d0715f3daec72f3805e83022 - 0.0% (115 Bytes)

[#017] sha256:b20e8d326f5bd7158b417d733057d399efd9e05864a22bf61a2b11d1bebb823b - 9.62% (18.3 MB)


History
2023-12-19 01:39:07 UTC

/bin/sh -c #(nop) ADD file:6f4083d57ea9644b5a827e67b0725087a15aa428272ec223ab968bf8b4623e42 in /

2023-12-19 01:39:07 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-12-19 16:52:41 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2023-12-19 16:52:41 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2023-12-19 16:53:05 UTC

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

2023-12-19 16:53:07 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-19 16:53:07 UTC

/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

2023-12-19 17:00:04 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2023-12-19 17:00:04 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-19 17:00:15 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2023-12-19 17:00:16 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2023-12-19 17:00:17 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2023-12-19 17:00:17 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 17:00:17 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 17:00:17 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-19 17:00:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-27 21:45:26 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.3.1

2023-12-27 21:45:27 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.1.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.1.tar.xz.asc

2023-12-27 21:45:27 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

2023-12-27 21:45:41 UTC

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

2023-12-27 21:45:41 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2023-12-27 21:52:09 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev 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-ftp --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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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); print 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

2023-12-27 21:52:10 UTC

/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/

2023-12-27 21:52:10 UTC

/bin/sh -c docker-php-ext-enable sodium

2023-12-27 21:52:10 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2023-12-27 21:52:10 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2023-12-27 21:52:11 UTC

/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/

2023-12-27 21:52:11 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2023-12-27 21:52:11 UTC

/bin/sh -c #(nop) EXPOSE 80

2023-12-27 21:52:11 UTC

/bin/sh -c #(nop) CMD ["apache2-foreground"]

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.0

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-01-03 18:58:56 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" ./; 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-03 18:58:56 UTC

Size

191 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.0

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.1.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

56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

PHP_URL

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

PHP_VERSION

8.3.1


Layers

[#000] sha256:af107e978371b6cd6339127a05502c5eacd1e6b0e9eb7b2f4aa7b6fc87e2dd81 - 14.52% (27.8 MB)

[#001] sha256:6480d4ad61d22c10d4a7237828e51d8a2ca3b5d60fcdf3d9800350353b5ac3fa - 0.0% (227 Bytes)

[#002] sha256:95f5176ece8bbdb815830df5e9eab427554c171d3b1459ced51bd7f991b2d9c5 - 52.01% (99.5 MB)

[#003] sha256:0ebe7ec824ca8231eb30bfc1bc1416a2e73ecc77cefb226cba43ab8c84676045 - 0.0% (272 Bytes)

[#004] sha256:673e01769ec9ab92c5580bf1b3de45ce83ad6fb946a2a1c53bf6f546d61ab109 - 10.12% (19.4 MB)

[#005] sha256:74f0c50b3097295649c2ae489f3540f903bff7f8d18a53e291445c931f6cc7a0 - 0.0% (485 Bytes)

[#006] sha256:1a19a72eb529a45c1f923059e6e81d8d3fef65976b2272628309d6b46464f661 - 0.0% (512 Bytes)

[#007] sha256:1bcacd3b3e8f90e6829ec57d198f26fdc93b554a31e1ada3b01535209313f8ce - 6.37% (12.2 MB)

[#008] sha256:7ecea380beca5b2a37a8bdfff3d788908c6514c8ab3fcac66e1928c7ac0c7d42 - 0.0% (493 Bytes)

[#009] sha256:2b4d15bd79ff6231cdd119e96a34e914329831a66995236eacae0385b4f1f47c - 6.07% (11.6 MB)

[#010] sha256:f0361737f984188afd022358a6767c1f160cc2132cc3c3f6104804c1b5f46484 - 0.0% (2.4 KB)

[#011] sha256:12f6862a8758c9f448ee34637c08a68757feffa082a0dd2051f33639595c697c - 0.0% (247 Bytes)

[#012] sha256:ae5aa47eebdd1601433ed50996872674c8f0fb7806bab9b525ac2ae6b509bfe0 - 0.0% (894 Bytes)

[#013] sha256:a0456779b38a00c208255129e1faef6056e24701a7df7270a6ebfed16c697722 - 1.0% (1.91 MB)

[#014] sha256:1f83613a022d3f1b122b602ebb1a0e0d045164acd16f9d14390a2b7caf888ce3 - 0.0% (316 Bytes)

[#015] sha256:0a169d0aa8c1f4022380fc93f7a7bbeb1e92ffa973b16e93c4c65601384918dc - 0.35% (689 KB)

[#016] sha256:2ea8441c51858c25b5e160a361842b50a62cb9d53b44f2e2c17bd672978680a0 - 0.0% (113 Bytes)

[#017] sha256:7e0329e324d27519bf2cd2504975c2fdd2f1b0a25a77a08ceb91e329fe7c1b6a - 9.58% (18.3 MB)


History
2023-12-19 01:20:27 UTC

/bin/sh -c #(nop) ADD file:ac3cd70031d35e46d86b876934946ffc8756de4de065fbc926dce642dac07ff3 in /

2023-12-19 01:20:28 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-12-19 12:35:23 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2023-12-19 12:35:23 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2023-12-19 12:35:42 UTC

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

2023-12-19 12:35:43 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-19 12:35:43 UTC

/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

2023-12-19 12:39:46 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2023-12-19 12:39:46 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-19 12:39:55 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2023-12-19 12:39:56 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2023-12-19 12:39:56 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2023-12-19 12:39:56 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 12:39:56 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 12:39:57 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-19 12:39:57 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-27 22:33:17 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.3.1

2023-12-27 22:33:17 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.1.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.1.tar.xz.asc

2023-12-27 22:33:17 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

2023-12-27 22:33:28 UTC

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

2023-12-27 22:33:29 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2023-12-27 22:37:17 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev 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-ftp --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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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); print 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

2023-12-27 22:37:17 UTC

/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/

2023-12-27 22:37:18 UTC

/bin/sh -c docker-php-ext-enable sodium

2023-12-27 22:37:18 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2023-12-27 22:37:18 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2023-12-27 22:37:18 UTC

/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/

2023-12-27 22:37:18 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2023-12-27 22:37:18 UTC

/bin/sh -c #(nop) EXPOSE 80

2023-12-27 22:37:18 UTC

/bin/sh -c #(nop) CMD ["apache2-foreground"]

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.0

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-01-03 18:58:56 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" ./; 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-03 18:58:56 UTC

Size

157 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.0

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.1.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

56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

PHP_URL

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

PHP_VERSION

8.3.1


Layers

[#000] sha256:65ab19615c01a3b542f77fadb3bd27872b6a20cba3e9269fb951de36d8fa6805 - 15.03% (23.6 MB)

[#001] sha256:e65740699e811c46b300dc1c124377acd0b62ad6293d766b800ff0b0b1b15ee4 - 0.0% (225 Bytes)

[#002] sha256:aec00c82ca03d32d2179c766fbeb2791d1a6a7104cd30a45449f41afb3f0330b - 46.31% (72.6 MB)

[#003] sha256:2f0665bd380315b2d7d72a79a178c0632e460bcca310ce7a4d22f72d74308b66 - 0.0% (273 Bytes)

[#004] sha256:c87e8e176db52cf02bbac190df26c2b5b2d182d6fc422d729b45cbbd4dc7d955 - 11.58% (18.2 MB)

[#005] sha256:15e9c21e2f8d836c54fb9350565c794082c47ae434dd3144be72fc15ac3a9279 - 0.0% (476 Bytes)

[#006] sha256:d1927f0f803b500e6a170c314fa969007b5682fd1ffd745f1de74bee82a931f0 - 0.0% (512 Bytes)

[#007] sha256:13bfd2c2a0033c1aa7b66232616c30300cc2925feef92531820a84aacf97649d - 7.77% (12.2 MB)

[#008] sha256:936d7e9f6b93b23541d832e74d5bd443b447ab214ff9dbb305183f22c98e6483 - 0.0% (493 Bytes)

[#009] sha256:114842eca0d87a328576ff68013143dc4fb6b47ce41fb8727908dbe54bdccf03 - 6.38% (10 MB)

[#010] sha256:92eafa60e5e6cfdde2c2372fb5ed7e9c7d6b1c90c3a51365460c2cc51585e7d3 - 0.0% (2.4 KB)

[#011] sha256:f37531de81894c60fcbe89423a7d899677095a06970a49b0a875e51893d8e0f3 - 0.0% (248 Bytes)

[#012] sha256:50c3560c36935b1db5e1bf63a9bf0151833308d5036b6a7b64f86b15bbdaa2d0 - 0.0% (895 Bytes)

[#013] sha256:94a2ea79b1ab5d29797d4b16e612174585e323b252057a38467b0120c440a2af - 0.82% (1.29 MB)

[#014] sha256:1a080dc1c459e86a22947295ebc65fba3bad4c836eda5783ca62ffb770972219 - 0.0% (315 Bytes)

[#015] sha256:c51228c3055f4e870dd1da0a429301c4caea56a7e379b75b9290a0761f912da0 - 0.43% (689 KB)

[#016] sha256:16b63b3c09db5fd413b1715b9e3c45967983884d47cdd3fa5fc7c290c062aa31 - 0.0% (114 Bytes)

[#017] sha256:a6b2011ccbc84e0ecf301cbe8b7512b522a64ade8b0b14d49700759d6e002a97 - 11.68% (18.3 MB)


History
2023-12-19 02:07:50 UTC

/bin/sh -c #(nop) ADD file:aef112919e7924ad6da32181b1df5099cd692680c104118da3a24cd4dfe55a1d in /

2023-12-19 02:07:50 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-12-19 05:09:57 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2023-12-19 05:09:58 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2023-12-19 05:10:20 UTC

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

2023-12-19 05:10:21 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-19 05:10:21 UTC

/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

2023-12-19 05:13:35 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2023-12-19 05:13:35 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-19 05:13:45 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2023-12-19 05:13:46 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2023-12-19 05:13:46 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2023-12-19 05:13:47 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 05:13:47 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 05:13:47 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-19 05:13:47 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-27 22:23:12 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.3.1

2023-12-27 22:23:12 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.1.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.1.tar.xz.asc

2023-12-27 22:23:12 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

2023-12-27 22:23:30 UTC

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

2023-12-27 22:23:30 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2023-12-27 22:30:58 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev 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-ftp --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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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); print 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

2023-12-27 22:30:59 UTC

/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/

2023-12-27 22:31:00 UTC

/bin/sh -c docker-php-ext-enable sodium

2023-12-27 22:31:00 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2023-12-27 22:31:00 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2023-12-27 22:31:01 UTC

/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/

2023-12-27 22:31:01 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2023-12-27 22:31:01 UTC

/bin/sh -c #(nop) EXPOSE 80

2023-12-27 22:31:01 UTC

/bin/sh -c #(nop) CMD ["apache2-foreground"]

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.0

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-01-03 18:58:56 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" ./; 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-03 18:58:56 UTC

Size

186 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.0

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.1.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

56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

PHP_URL

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

PHP_VERSION

8.3.1


Layers

[#000] sha256:24e221e92a36ab5b0075dd156b4f2ff095532a9b0927946cf6070bb1bea208b8 - 14.97% (27.8 MB)

[#001] sha256:a3e96785d20e673831d412d2f9b010766cf6cc304754506c9f319a0c310648a0 - 0.0% (225 Bytes)

[#002] sha256:938e1c871e0583217541b555fdb548e900c71ae825a7b19ce7a08b9263ad1e06 - 50.4% (93.6 MB)

[#003] sha256:c628ed3e4c42b1a141608f9c9e2b48f01921e2ad6dc5ae8821b194a014a954c6 - 0.0% (273 Bytes)

[#004] sha256:42ba4aaa606d2789d4d1e1ea8b1e3f2941844d13760133bd44eeb1b74d49578f - 10.43% (19.4 MB)

[#005] sha256:7aac66f1c9c7993085a363e1621997697944a88c2c12e1d308c13f30477a7072 - 0.0% (473 Bytes)

[#006] sha256:ef8425f87af575dd0a67b357b654b7e598884925e2e771055d7806bdc98ca125 - 0.0% (514 Bytes)

[#007] sha256:25485104a64bb6eaf159e32076cb5939d1e8dee9df9add421c4e39aa80a8ecf6 - 6.56% (12.2 MB)

[#008] sha256:2ff52fb24a36f79a60bd79deac9f688f4654b64d7e2168488381f0a6ee3cf9c8 - 0.0% (493 Bytes)

[#009] sha256:10c74be706af09edb62f59918bc8df82f5bea429dbea9d8d5513e619231eace0 - 6.25% (11.6 MB)

[#010] sha256:70701af4a1e0153ea4fdb0505da1a8541eca5d97722ba2be4e9a21c3006f5e6f - 0.0% (2.4 KB)

[#011] sha256:0867d8043c1b9e33fe6539a465e84f38884eae3356e297d8fbae9e4c4b44e0ca - 0.0% (246 Bytes)

[#012] sha256:d1cbcab308f02bc7d6c4f8e35e528e319a1317ef6d3d72f681d13cada7a7d316 - 0.0% (894 Bytes)

[#013] sha256:159318d93bbb83bda09da8e8fdfbe501d929babef5f76a982498a6d84619a386 - 1.16% (2.15 MB)

[#014] sha256:09c504deca4e8d5d2200439c28042a9145678d667a0d4425cf7e9f7dbc1b925b - 0.0% (311 Bytes)

[#015] sha256:7d8e52ccda647506c0f418fab6464bcc912b733933dfa6f2ead34e5acdc6c946 - 0.36% (689 KB)

[#016] sha256:075b8641d0b62050150f40b207cbd95f6e305d95708f3698ac78e5712c411dcb - 0.0% (115 Bytes)

[#017] sha256:07b367f33a0c8488812e9e75691ec47590c5e1ad12d368005741a4ec0a0aece0 - 9.87% (18.3 MB)


History
2023-12-19 01:41:11 UTC

/bin/sh -c #(nop) ADD file:262fd7bf0bc26e5d2a229fba52626e22b8a93beac29733acfc60e716c26e689d in /

2023-12-19 01:41:11 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-12-19 03:26:28 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2023-12-19 03:26:28 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2023-12-19 03:26:48 UTC

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

2023-12-19 03:26:50 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-19 03:26:50 UTC

/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

2023-12-19 03:30:36 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2023-12-19 03:30:36 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-19 03:30:43 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2023-12-19 03:30:43 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2023-12-19 03:30:44 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2023-12-19 03:30:44 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 03:30:44 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 03:30:44 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-19 03:30:44 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-27 21:54:47 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.3.1

2023-12-27 21:54:47 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.1.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.1.tar.xz.asc

2023-12-27 21:54:47 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

2023-12-27 21:54:58 UTC

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

2023-12-27 21:54:58 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2023-12-27 21:58:30 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev 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-ftp --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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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); print 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

2023-12-27 21:58:31 UTC

/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/

2023-12-27 21:58:31 UTC

/bin/sh -c docker-php-ext-enable sodium

2023-12-27 21:58:31 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2023-12-27 21:58:31 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2023-12-27 21:58:31 UTC

/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/

2023-12-27 21:58:31 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2023-12-27 21:58:31 UTC

/bin/sh -c #(nop) EXPOSE 80

2023-12-27 21:58:32 UTC

/bin/sh -c #(nop) CMD ["apache2-foreground"]

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.0

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-01-03 18:58:56 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" ./; 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-03 18:58:56 UTC

Size

196 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.0

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.1.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

56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

PHP_URL

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

PHP_VERSION

8.3.1


Layers

[#000] sha256:fc9b8f5eec3aa37ab3aace05165427479352f290d53904cea87dca6349633a09 - 16.14% (31.6 MB)

[#001] sha256:af2c39e6db4944508d5e3e708b7b22cdaf778ff9c9719d85d9c759ac4dd574cb - 0.0% (226 Bytes)

[#002] sha256:59183cd2ba3932a3cf6fbac25c2794bfc4ffc7cd8880225207922103ae571620 - 50.36% (98.5 MB)

[#003] sha256:67aaf39f49d7e2ae60934f00b5f11cb1f82ba015bf7fde4197881f9a9ca07b75 - 0.0% (272 Bytes)

[#004] sha256:5c6239371a8cd761a8e82c2ba70c38ba8bbb48f64800c357ca5dce40bb464f8d - 10.48% (20.5 MB)

[#005] sha256:50ab0c5806bcf9602169aed031ded72c52757eb2c61d6d1e98406e6c011fe84b - 0.0% (475 Bytes)

[#006] sha256:b2153bb81aa045f8d4106985a468d5c289e2031704b25f0e16b91ca519835f8a - 0.0% (514 Bytes)

[#007] sha256:5201172b9a0b9450325d6f2348f5c2bef3870d9f8114bc8ee8ea037003e224d8 - 6.23% (12.2 MB)

[#008] sha256:916af92451f8b41421c5f9008fc8c62aeaf90aadb3c6ad4066ea58004a6638f9 - 0.0% (494 Bytes)

[#009] sha256:9b78aab0f7b37be6c7fd22233f2afab918d085d079b37637445c76bf37d9d77c - 6.17% (12.1 MB)

[#010] sha256:e4bd97b62fa60a5ddcd6e39c34bb3bbfd8392884e9caf48d02f01cbf7c05785a - 0.0% (2.4 KB)

[#011] sha256:476aa9e9fc23d7190242769b5fd63810ee057b0a3a8c912aa1d3dd0d34a3a839 - 0.0% (247 Bytes)

[#012] sha256:68d33eaeaceb5057a751d9f703124b62c9bf2e6af62985e06b82307a90cca932 - 0.0% (895 Bytes)

[#013] sha256:4b67d72c57f3357c57f2da805eaba06ab908fa002488c7c198c23b4795ae2774 - 0.9% (1.77 MB)

[#014] sha256:90dae862a93954d872ecf0e3e859aff4b167fc9b9488f7817f27da04dda419ef - 0.0% (316 Bytes)

[#015] sha256:a11c48d8322247c3b31f5e046397055e2261faf758bd599d3df289fcd410ab10 - 0.34% (689 KB)

[#016] sha256:61cdf3f9e9d692247d2d3d323554664cbaf635079dc1e9e9a1cd46b42253c9bb - 0.0% (115 Bytes)

[#017] sha256:5f85fd4d41050a3160586fc0ed0ad791d45be4504a830c87addc0699a1783a98 - 9.37% (18.3 MB)


History
2023-12-19 01:21:50 UTC

/bin/sh -c #(nop) ADD file:ca1db68689e0b0388337ba450ad2c8e79c159c6b78f5aa6d3ff2b89b8d7edc93 in /

2023-12-19 01:21:51 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-12-19 06:13:44 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2023-12-19 06:13:44 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2023-12-19 06:14:22 UTC

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

2023-12-19 06:14:26 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-19 06:14:27 UTC

/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

2023-12-19 06:17:52 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2023-12-19 06:17:53 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-19 06:18:11 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2023-12-19 06:18:13 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2023-12-19 06:18:14 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2023-12-19 06:18:14 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 06:18:14 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 06:18:14 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-19 06:18:14 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-27 22:31:28 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.3.1

2023-12-27 22:31:28 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.1.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.1.tar.xz.asc

2023-12-27 22:31:29 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

2023-12-27 22:32:00 UTC

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

2023-12-27 22:32:00 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2023-12-27 22:35:26 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev 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-ftp --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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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); print 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

2023-12-27 22:35:27 UTC

/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/

2023-12-27 22:35:28 UTC

/bin/sh -c docker-php-ext-enable sodium

2023-12-27 22:35:29 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2023-12-27 22:35:29 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2023-12-27 22:35:29 UTC

/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/

2023-12-27 22:35:30 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2023-12-27 22:35:30 UTC

/bin/sh -c #(nop) EXPOSE 80

2023-12-27 22:35:31 UTC

/bin/sh -c #(nop) CMD ["apache2-foreground"]

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.0

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-01-03 18:58:56 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" ./; 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-03 18:58:56 UTC

Size

166 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.0

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.1.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

56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

PHP_URL

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

PHP_VERSION

8.3.1


Layers

[#000] sha256:bc6b1888979d3ceb063da848b2034e980e2c2613642159c1e856550b79aa620c - 15.81% (26.2 MB)

[#001] sha256:9993e12ceea1ed9ab1957e772571c1402e00c56af6350d38cb28b84fab395fe5 - 0.0% (229 Bytes)

[#002] sha256:cdbaa3864255466905f8344dd4efe349cde8c5ca9073a12ae0fbf9825d3204b1 - 46.49% (77.1 MB)

[#003] sha256:a8f2d7b23522c637c77fedeb3e91c28de912e575dcb61875b074a831136c9a99 - 0.0% (272 Bytes)

[#004] sha256:d67e70d27d6b690ba47e87f1f888675d50761326913207a9e15144bf0b6a8cbf - 11.55% (19.2 MB)

[#005] sha256:da85699a84ac1f4cce8508e1beb3b2dbc234025fcbafc77062a76426fdfc708e - 0.0% (474 Bytes)

[#006] sha256:3c2663f96dd77fe8464a27af74b2ebaf28c557c094cb1fbdb2770ff36c4d8d0c - 0.0% (517 Bytes)

[#007] sha256:008c75bc1e33d990ac87504f3faed5704bfb77b89f4861cef46ee2b0b08f2dc0 - 7.35% (12.2 MB)

[#008] sha256:1d10f06c8230d7d3df5d030c7397dec57825f3330b6f38b1452ef1d05ff8d7a0 - 0.0% (492 Bytes)

[#009] sha256:43599cc9521717eaf5be33d312a87432407682121108b97b50dae0702c919caf - 6.44% (10.7 MB)

[#010] sha256:53e919708b7beac7fe43b1cf2662fbf514d1737297c5936588dba8d09f9bcdf7 - 0.0% (2.4 KB)

[#011] sha256:1088f7b5807018612e8d7d3bfe257b2a8174c4dc7aefb4f2ead9b558772697e6 - 0.0% (244 Bytes)

[#012] sha256:1d51b14168cc14569ef1216afe18067e3fa7a35d405de5291ed30bfdcf424b64 - 0.0% (895 Bytes)

[#013] sha256:3e1b3a95c03f9d4887152b5337a8e478252f9d460b80106403f55197367fe43c - 0.89% (1.48 MB)

[#014] sha256:f242e2ac635f973d9a78a12faee9cf501134af28cb023062f31b8028823f8780 - 0.0% (312 Bytes)

[#015] sha256:0483c2633c1191856b9e590c9491b955ad7eec4efefe3a55fed363dca3dafaae - 0.41% (689 KB)

[#016] sha256:075246aeb35c58f99d2443253371ff4a63810eb8b446da03a69135f883c197f6 - 0.0% (115 Bytes)

[#017] sha256:40b4541e2d7d7f61c5f866d7f9fb9e3315720df8060a6e57d9b14410a0bfe723 - 11.05% (18.3 MB)


History
2023-12-19 01:42:37 UTC

/bin/sh -c #(nop) ADD file:f06f12fa5a93afc3a79ac4371d24b0a471a5a1818cf34c1d90004c8f410914b9 in /

2023-12-19 01:42:39 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-12-19 03:47:40 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2023-12-19 03:47:40 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2023-12-19 03:48:08 UTC

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

2023-12-19 03:48:14 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-19 03:48:14 UTC

/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

2023-12-19 03:51:18 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2023-12-19 03:51:19 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-19 03:51:26 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2023-12-19 03:51:27 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2023-12-19 03:51:28 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2023-12-19 03:51:28 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 03:51:28 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2023-12-19 03:51:28 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-19 03:51:28 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-27 21:45:50 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.3.1

2023-12-27 21:45:50 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.1.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.1.tar.xz.asc

2023-12-27 21:45:50 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

2023-12-27 21:45:58 UTC

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

2023-12-27 21:45:58 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2023-12-27 21:48:28 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev 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-ftp --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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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); print 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

2023-12-27 21:48:29 UTC

/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/

2023-12-27 21:48:29 UTC

/bin/sh -c docker-php-ext-enable sodium

2023-12-27 21:48:29 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2023-12-27 21:48:29 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2023-12-27 21:48:30 UTC

/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/

2023-12-27 21:48:30 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2023-12-27 21:48:30 UTC

/bin/sh -c #(nop) EXPOSE 80

2023-12-27 21:48:30 UTC

/bin/sh -c #(nop) CMD ["apache2-foreground"]

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

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

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.0

2024-01-03 18:58:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-01-03 18:58:56 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" ./; 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

2024-01-03 18:58:56 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