Namespace
library
Image / Tag
drupal:10.3.0-rc1-php8.3-apache-bullseye
Content Digest
sha256:c2bb0d529879eadb1fe935dc989180aa39dec3f044ea43e1b220137486b00f91
Details
Created

2024-06-05 21:45:07 UTC

Size

184 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

10.3.0-rc1

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.8.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

aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7

PHP_URL

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

PHP_VERSION

8.3.8


Layers

[#000] sha256:71e749b27156c50e0706f9267afd1ca9fb38d6272a353964948602fb62336fd8 - 16.77% (30.9 MB)

[#001] sha256:97aed16b5ec705dc8f65ed896eb7046098ec93f53876fdab3048d808f5390025 - 0.0% (228 Bytes)

[#002] sha256:78570be584424d09614e91509d0ad5ceeddd337ea6f639d3beda849ce359bfaf - 47.96% (88.4 MB)

[#003] sha256:50fa0f9c2cf0e6e10f42b84df4a09b370d77fd6cd34aa522cf8421ce5b930104 - 0.0% (223 Bytes)

[#004] sha256:9a53c0af5b39d79071f59f8eb504feb75d53ae5218567e8f9f81c53d9e076bec - 10.22% (18.8 MB)

[#005] sha256:a50b597cbb300b100723acb9672fb7920d316399e7496b02a6f4e829dc6eadb4 - 0.0% (438 Bytes)

[#006] sha256:03a53ae356c0e89d93cb48fbf7a13f58f19ccd8eca22e1aabdb98ccbcd2985df - 0.0% (486 Bytes)

[#007] sha256:40e1a932fb7a80075c5c333a9314a0ddbdbdabe2b29df07daefee249b456af97 - 6.63% (12.2 MB)

[#008] sha256:965aec9d830a3336ba05197d3bfaee95b08f359719584740fb10207397dd9cad - 0.0% (493 Bytes)

[#009] sha256:108d7523a127901088e8b656bb64e908b33dcb40e4f2c212814217b48ad5931f - 6.1% (11.2 MB)

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

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

[#012] sha256:82b686f0e2dac1e974130988bdb847b5c960aaf4023b6bb5b87f27929c8ec1c7 - 0.0% (895 Bytes)

[#013] sha256:983427c59050a4ad2dbb03570029d74a347c8dfa9c14e9a75cad37c84bc2fbeb - 1.03% (1.9 MB)

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

[#015] sha256:590a9c15f7a893ae8a6d54b4311b84945f637356605ebd50b716ed427e654229 - 0.38% (709 KB)

[#016] sha256:9cd4adc03ff33fcce137f09cd24c9e3f886ac45d75d81bc71a9b5433d298a814 - 0.0% (114 Bytes)

[#017] sha256:dda5adbfc4ce6839fa3c190ce8183ad5367b03c93ccff784b6407ba7c79a96aa - 10.9% (20.1 MB)


History
2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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/*

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45: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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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" ; 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"

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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-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 --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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit

2024-06-05 21:45:07 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-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

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

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.3.0-rc1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-06-05 21:45:07 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-06-05 21:45:07 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-06-05 21:45:07 UTC

Size

182 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

10.3.0-rc1

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.8.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

aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7

PHP_URL

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

PHP_VERSION

8.3.8


Layers

[#000] sha256:f7b75fe1f735933f47315080637abf01f87962d47f8636a07ff4535ed7a4a133 - 16.5% (30 MB)

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

[#002] sha256:1a109f755558dbcfdd770735d396b90cbbd56cdc35b0c469aaa1044e02791c23 - 48.11% (87.4 MB)

[#003] sha256:ceb2d4b8bb8c03c3e380ad8351f64ff603e579e108b8050a0fea93b805e85f79 - 0.0% (225 Bytes)

[#004] sha256:a38a16de9d87ab23730ccf66bc025a300b05bef63a01846d89d1117619eae2da - 10.12% (18.4 MB)

[#005] sha256:d4185172ae77aa4142cfb540a7f7d7494993b3106f7a404b601875c3f7e81609 - 0.0% (435 Bytes)

[#006] sha256:6c33e02462d6a997945848f57fabec9cd29a74b0c9faf200d8be43407602ca7a - 0.0% (487 Bytes)

[#007] sha256:6edfcb21b7959026f4253f018d7bc5ea5fe160e0cb2d6f8c5b897ef30b716e4e - 6.73% (12.2 MB)

[#008] sha256:269b5b37efb991fe44d80127dc1fa9e48668cb835b03b1eda79807c06989e2b1 - 0.0% (493 Bytes)

[#009] sha256:913bd829f296512e49336883b8ee1a25426bab36fac6e1c25a7c24bd0dfe7123 - 6.08% (11 MB)

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

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

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

[#013] sha256:bb6bc6169d2e2ecd70286e1e9de50e58d2ec7ec7bac100874321427f87125de4 - 1.01% (1.84 MB)

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

[#015] sha256:df970c7fbfef50da59934490133b7080f92723c75895162249d7db599c972af1 - 0.38% (709 KB)

[#016] sha256:83081103dca28e279a76a0bc15043ae3c97f2e8d4f536e6aa8d1f93df6314e25 - 0.0% (114 Bytes)

[#017] sha256:3b8ee2914cb9d6b2ea29789bab95bb70304cccf76987120a45e2c10442d59519 - 11.06% (20.1 MB)


History
2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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/*

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45: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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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" ; 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"

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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-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 --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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit

2024-06-05 21:45:07 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-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

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

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.3.0-rc1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-06-05 21:45:07 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-06-05 21:45:07 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-06-05 21:45:07 UTC

Size

152 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

10.3.0-rc1

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.8.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

aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7

PHP_URL

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

PHP_VERSION

8.3.8


Layers

[#000] sha256:4873d96591a32d2d686ff6c86338fc9a63b9d60639482601b5402eb76e56a566 - 16.63% (25.4 MB)

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

[#002] sha256:1ab21e23870a47b07c8c3b2d5e281b82d2b942a495e6803e64aac02a72c2f792 - 43.36% (66.1 MB)

[#003] sha256:0470199c436921e368812e676a806f397ec2c62b5c9f60b9bc98f2896aa161cd - 0.0% (223 Bytes)

[#004] sha256:dcfcb18ea150e71b5a7b6820c81113675287be18dc6c8820a802832723c4b5b1 - 11.27% (17.2 MB)

[#005] sha256:a74ba39ca25a6cb877024970e43aea73614edcd8185e0728883f0314d23c9c89 - 0.0% (435 Bytes)

[#006] sha256:3b89a0268d21fcc1960ad4123d3fea977126d9e9e5826bd23f66f7136598501e - 0.0% (487 Bytes)

[#007] sha256:082c8ee3fc4e8e3d6ad2542c2d57a888e62eb509b0be0185aef0a54600cdeaf2 - 8.02% (12.2 MB)

[#008] sha256:04b95e7b42352d45d22b81f89212ba79b61fa4c9bfd6bb9eb1d074bd780e72bc - 0.0% (493 Bytes)

[#009] sha256:850b9d036d32d4d59d618be7e3d8ae886050aa5f41144320c35db259e9713b3b - 6.26% (9.55 MB)

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

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

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

[#013] sha256:6acd0202ee6435e7618d2caeaab8c9a83aee7015aa99683baaf0a26c4ac1d811 - 0.82% (1.25 MB)

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

[#015] sha256:5ce4a2a22cbd0d9b1ba0b59ae77ddd2e7bab20f19aeafc240faee720e0cdca5d - 0.45% (709 KB)

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

[#017] sha256:bbd25a36951733b928b6fc8590161d3d2b237cb3f8458caacff0cac8a97883af - 13.18% (20.1 MB)


History
2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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/*

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45: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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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" ; 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"

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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-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 --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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit

2024-06-05 21:45:07 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-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

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

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.3.0-rc1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-06-05 21:45:07 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-06-05 21:45:07 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-06-05 21:45:07 UTC

Size

176 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

10.3.0-rc1

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.8.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

aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7

PHP_URL

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

PHP_VERSION

8.3.8


Layers

[#000] sha256:ca4da1869379178993d4f7abc946f75e7515789ff7e15c7ccfedfc8e2bfeaf6d - 16.29% (28.7 MB)

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

[#002] sha256:bdf33de5c5123d32dcbc9caede5d0639eb9b3d4b40006adc14547b33fc57bbd0 - 47.08% (82.9 MB)

[#003] sha256:4ea68fe2dd43a299463270880906a394ddbb1c1ccb5c229d9aa9088f930f1b5a - 0.0% (223 Bytes)

[#004] sha256:82582baa1924fd8ebe0dd5bafab877b423bd0e11a00c79b46e1a15da2b837891 - 10.39% (18.3 MB)

[#005] sha256:362dc171c47b59c6bb9e24c00f9114bf09f12097ffe2eda5fb5f24d5ae65b080 - 0.0% (435 Bytes)

[#006] sha256:9c7f110f3d9ebf3472eb6bea8858522efd5cc622267e2c6fadd12140b7724337 - 0.0% (489 Bytes)

[#007] sha256:87a8307e3940075580285181a8a367ad513788e32e603fe9836066deca6ea06d - 6.94% (12.2 MB)

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

[#009] sha256:9d21ae196eeba3d66ba4138994b18b31db760726805f92ec326924013768c789 - 6.3% (11.1 MB)

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

[#011] sha256:8262aeba5498a72e2e0c0a8787358535a88f159a9ea444e59d0be0888e948ed1 - 0.0% (246 Bytes)

[#012] sha256:df54ebf64827e702bc0748f5b69e9d8bbd8d6993838c1d81ec365e2145c04c4a - 0.0% (893 Bytes)

[#013] sha256:ba34730621c450e9759b299c315df9843c5d3192bbc04f19f8847333253d51b0 - 1.19% (2.09 MB)

[#014] sha256:e737d2edc44dcc25bc6ea23ad715bd41b9e798ce870e0f81eb667024b2afa7c9 - 0.0% (314 Bytes)

[#015] sha256:7648d6ca097433801d52fa5f7e828032505272a727adafde1df7a936ea07735a - 0.39% (709 KB)

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

[#017] sha256:87939371d164b6548d3930a4e40b1e21b9e6ffe142201f9c05a14c7c6a1d8b53 - 11.41% (20.1 MB)


History
2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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/*

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45: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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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" ; 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"

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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-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 --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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit

2024-06-05 21:45:07 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-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

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

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.3.0-rc1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-06-05 21:45:07 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-06-05 21:45:07 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-06-05 21:45:07 UTC

Size

182 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

10.3.0-rc1

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.8.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

aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7

PHP_URL

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

PHP_VERSION

8.3.8


Layers

[#000] sha256:64741f366161eb41a5c86810e08ceabb9f4e4b69ac16c725aa2d48f19486e1be - 18.5% (33.7 MB)

[#001] sha256:1ca4158c957e880d53b16fd513b0559ddf65cab1dc613ff0082f169c1eeee134 - 0.0% (224 Bytes)

[#002] sha256:0bd44f7aeaf059ae5e93572d881547fbb5cfeb97b51e2a32026a1a56c3517c93 - 45.39% (82.6 MB)

[#003] sha256:8a4cac5c7c4ae34924cd1f3293ad7a458119cceb792985d59a6f24cc717aae4d - 0.0% (225 Bytes)

[#004] sha256:c55367dc57545185df05e1ba7c34fce1b152284e1a103b5fcaa5c9b7c84c9730 - 10.73% (19.5 MB)

[#005] sha256:e311376300358efd8c397451b260b5a4669b3a394b62b88ae8b0f6b2f71b7c17 - 0.0% (434 Bytes)

[#006] sha256:9bfa78e26cc2f6540ad7f974e8c9d9ccb6e345f21b52fe24c149e958e6f0c246 - 0.0% (488 Bytes)

[#007] sha256:1ad17edc2a379333e1235fb3103af7c53a6bc6d79da64c537f777087ecdc4c6d - 6.72% (12.2 MB)

[#008] sha256:34aa418e56f99b33b7f056fe8b700fefa2df289b96d882a78f1e79e7d717d6a0 - 0.0% (491 Bytes)

[#009] sha256:d30644a065b58c4336c60d4415d0a47d785f3af23e425a848e871c04015eb291 - 6.3% (11.5 MB)

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

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

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

[#013] sha256:10ef2c35fd467b164a4cfcf8a015a5654f7c5489c1dc446cb2cce9e4b7e66293 - 0.94% (1.71 MB)

[#014] sha256:0a0f669994ef682ad8ccee6ef85180b64768919a5b90c3d2e6e6b9f3e32336b8 - 0.0% (315 Bytes)

[#015] sha256:adfc261447884d4c536978bc7864473ac69431543ba833aee93b914e0c0bf45a - 0.38% (709 KB)

[#016] sha256:913b97eed0fbe91840204a8ca9ba7f875f74b5aef4406b961d8312d5dec4c0c0 - 0.0% (116 Bytes)

[#017] sha256:33446375cb062d987a937c9e12667653204c9fdf6b61326aceaabe16abfe59da - 11.04% (20.1 MB)


History
2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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/*

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45: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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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" ; 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"

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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-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 --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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit

2024-06-05 21:45:07 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-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

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

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.3.0-rc1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-06-05 21:45:07 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-06-05 21:45:07 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-06-05 21:45:07 UTC

Size

160 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

COMPOSER_ALLOW_SUPERUSER

1

DRUPAL_VERSION

10.3.0-rc1

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.8.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

aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7

PHP_URL

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

PHP_VERSION

8.3.8


Layers

[#000] sha256:b9966e11fe1c4138e9aa4f0356568463c21e36009b72062413bb596e0e57738f - 17.72% (28.3 MB)

[#001] sha256:1bc0eb64cb70f61cabce8784ea7dce8f479df72303c09ad03b9cca40c133a78b - 0.0% (227 Bytes)

[#002] sha256:1bae5af34695758612e889dbc5a480f79d5d0a8acd267e92e2c146047a1240ac - 42.79% (68.3 MB)

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

[#004] sha256:310de36d29450fa483aab0c171e61556a2eb6569cea3aac80a1aacc4cf07ad22 - 11.41% (18.2 MB)

[#005] sha256:d57d022ce23a123782328e9129e7787a36ec320d86d0464eb0901faf61c4c939 - 0.0% (433 Bytes)

[#006] sha256:a7da6bb42f4bdf1eb39b9c7fe9ae3cdac341a0203a86ff9fbb8e82850c7ab435 - 0.0% (488 Bytes)

[#007] sha256:e082ba563f1fed8f8e6f9068fdc5b4e8ee82510e35a2acfd3cec479ee904b49b - 7.66% (12.2 MB)

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

[#009] sha256:af3fef28ae2c485a10b8d5a89c410ee6eb3a375a2c947d81946c145235cf5546 - 6.49% (10.4 MB)

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

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

[#012] sha256:77e2bcd0b4251c6905c30e2b4fb917d044fd2ab5b2d0872d2d1a125eefdc858a - 0.0% (895 Bytes)

[#013] sha256:f749e1aeb6a299634d140c9c4871bc34f53b5add2c2051d07060bbe19b0505d2 - 0.91% (1.45 MB)

[#014] sha256:b8107411a8922c0708102bb23692e7734b2d0b331e6298968f854e3cce5df74b - 0.0% (314 Bytes)

[#015] sha256:756ea1f8741b33747c7c0a0551ae019dc4edcb481aa921c2e6aad7494aa31dea - 0.43% (709 KB)

[#016] sha256:043920c40245777a27fed9946f6ef3af155f28940a59a98ece518fb08af495ee - 0.0% (115 Bytes)

[#017] sha256:9b782f5c1a7a3e3044ba75544b2584b2c8013635811862552a27c7870a0e7d9e - 12.59% (20.1 MB)


History
2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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/*

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45: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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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" ; 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"

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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-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 --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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 UTC

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

2024-06-05 21:45:07 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); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit

2024-06-05 21:45:07 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-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

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

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.3.0-rc1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_ALLOW_SUPERUSER=1

2024-06-05 21:45:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-06-05 21:45:07 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-06-05 21:45:07 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