Namespace
library
Image / Tag
drupal:10.2.3-php8.2-apache-bookworm
Content Digest
sha256:803c5f79148f2ab7d56e03c94055d274b8cb6aae04f6c61b4d0d7d1bdb6bc467
Details
Created

2024-02-08 04:27:17 UTC

Size

189 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.3

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

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

28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593

PHP_URL

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

PHP_VERSION

8.2.16


Layers

[#000] sha256:beff29d65c5c5787a278dcce32970cc3af7110d5c13ae23f5a08898a2015b4c3 - 15.18% (28.7 MB)

[#001] sha256:6cfde49385a90835b9c1612c002c49650aa228e709c6bec76329576d154acf40 - 0.0% (228 Bytes)

[#002] sha256:8f0ed10d21879c841ec1dc9f3c51bfc996313547be9838dd0871e0c090e9db93 - 51.13% (96.8 MB)

[#003] sha256:0108a981d683eb4695cf1efac3357088358d8bd27fafb095510dcdc689e9270f - 0.0% (269 Bytes)

[#004] sha256:fa94a6b92707cb45a0ff3ab809cb18c5a53cfcaad6fb553c591ef3b376088a1e - 10.49% (19.9 MB)

[#005] sha256:9e4ba0ea043787178dd74139db437ce2498a8d3bf85e4eed296ea8e55a598f5a - 0.0% (475 Bytes)

[#006] sha256:35ec064cfc067a6de6b378be145b2249b472d81b6fbf511d5f614fdf9909cad5 - 0.0% (513 Bytes)

[#007] sha256:93d571a557eb17cd66ccd923db5aaed0047842aea3e3407b428b83e0d6c8ae3f - 6.25% (11.8 MB)

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

[#009] sha256:f8e6d815268b454ee74bcd297e927a9333f4d672ff50d6352c2181170be4f511 - 5.86% (11.1 MB)

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

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

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

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

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

[#015] sha256:c79318beddf2e163448c4f218b1e804b325d5423bb307e30ee9d488af60f3e57 - 0.36% (705 KB)

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

[#017] sha256:ae15ceed18a82cc560144172f57d17432021d6ca04a348d2a483c3cb104f42ed - 9.69% (18.4 MB)


History
2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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"

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27: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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27: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-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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

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

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.3

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-02-08 04:27:17 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-02-08 04:27:17 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-02-08 04:27:17 UTC

Size

190 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.3

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

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

28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593

PHP_URL

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

PHP_VERSION

8.2.16


Layers

[#000] sha256:e1caac4eb9d2ec24aa3618e5992208321a92492aef5fef5eb9e470895f771c56 - 14.59% (27.8 MB)

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

[#002] sha256:bef1b237c949fbfc49af0024af5189a1feefff253e445a7b19ab4327ce5a5909 - 52.29% (99.5 MB)

[#003] sha256:56c66cb68b0ffb6ab95a1aa748b4012b5da8077a4a4c14a3f9bebcf9bf02f351 - 0.0% (270 Bytes)

[#004] sha256:9c790c1c009dd7204cac7a35fd9151636c23f96ae965fec6263addd5d366c547 - 10.17% (19.4 MB)

[#005] sha256:e055748d0b38a426b2cef949d76f35fc04c5a9a9a66a2d40449219a4853635cf - 0.0% (480 Bytes)

[#006] sha256:5a9d72b3b895bccef06314fe3a5818d977b5b695a9e1a698eab278c1138790f8 - 0.0% (513 Bytes)

[#007] sha256:98b90bb434846536391948ee1ffdac4ef2fd724857f77e2a6bcb3392220a4641 - 6.22% (11.8 MB)

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

[#009] sha256:4a03c0d0f6838be3b898e34e1b7431b5ff44a514189110691d7207f9b15e1aa2 - 5.71% (10.9 MB)

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

[#011] sha256:370828abc98a59ec5398970ce62de40c715c2531d29b1d21c5c1fbd5194d9cb4 - 0.0% (243 Bytes)

[#012] sha256:a789e0a12acdce1263593405ba614fb1c3ad43adba4905e9f9921fdbf25e8ef3 - 0.0% (892 Bytes)

[#013] sha256:994ea06ddf66d72d60847dab5d1eceb53d9e68aac627f09ccf936e599bb2d7dd - 1.0% (1.9 MB)

[#014] sha256:061c9a9eede1cc5fe02d972335e7d8faee84928ae1ab52f43113781c4dfe94e2 - 0.0% (310 Bytes)

[#015] sha256:81f9a4d6f7415db094f757d37d2bef2dbda711f28a0b96568d85331c018dcdd3 - 0.36% (705 KB)

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

[#017] sha256:bbd5a7a4c19c44f33cce896738cf029b85e5b0016b3768809c4ac809717ecde4 - 9.64% (18.4 MB)


History
2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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"

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27: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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27: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-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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

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

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.3

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-02-08 04:27:17 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-02-08 04:27:17 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-02-08 04:27:17 UTC

Size

156 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.3

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

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

28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593

PHP_URL

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

PHP_VERSION

8.2.16


Layers

[#000] sha256:7a5e2a926145215a27b5a8051ed294061243135af64539be80d4449e05f71f52 - 15.12% (23.6 MB)

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

[#002] sha256:490d32b608328a311a60472b26afd97528354bc034d70970888f6ee739c420a5 - 46.59% (72.6 MB)

[#003] sha256:80d22eae8ae049c93976062baae1ae123e100467b9a9fa3fa3b1f0eec2054f92 - 0.0% (268 Bytes)

[#004] sha256:8c7976c47c921676dbb2f61cab51f861ebe6c1c2fd0256ef4ca602e76284a260 - 11.65% (18.2 MB)

[#005] sha256:98b35d2b7a621e2db4c4934c42f654f792902d71ff2b5ef08c61dd51a06157f7 - 0.0% (476 Bytes)

[#006] sha256:fed02b1cf9e045fe41f1be886a34b49a7acc8cefc8c55d4985bf1bf99ea65882 - 0.0% (513 Bytes)

[#007] sha256:f2af0b5aa84beeda148bb4da82ea4eb24707aae92be1821f514f345089c763cd - 7.59% (11.8 MB)

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

[#009] sha256:01c1ae8ae0fe7af0efc0d539a527a65ea01e2d353dabaa271a426405a29cbca9 - 6.0% (9.36 MB)

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

[#011] sha256:051b22ebe5b88b6291c20747fc62fe5b767c147dd10fe2373643c7eec06c7810 - 0.0% (246 Bytes)

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

[#013] sha256:6efacf21adc68d56905c310d1cd54412f8fb87b2336a2cf7db4806bb3b72ca2c - 0.83% (1.29 MB)

[#014] sha256:129a6ee3b627f22693e2f4ddd9c7825483a501253660d49f91a098db22eee644 - 0.0% (313 Bytes)

[#015] sha256:281de1870a01ff2079cdd512e08a365d8627c549dfacb5736d1dfb3e459a726e - 0.44% (705 KB)

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

[#017] sha256:7c7f15dc374323afe1df6e3eb10fcc95fa778704f8c84ea0aafd2334a825fdbb - 11.77% (18.4 MB)


History
2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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"

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27: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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27: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-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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

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

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.3

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-02-08 04:27:17 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-02-08 04:27:17 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-02-08 04:27:17 UTC

Size

185 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.3

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

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

28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593

PHP_URL

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

PHP_VERSION

8.2.16


Layers

[#000] sha256:f546e941f15b76df3d982d56985432b05bc065e3923fb35be25a4d33d5c0f911 - 15.06% (27.8 MB)

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

[#002] sha256:290f914abd180febe4ca21f26e7dbd62a7d47b3e0c2bb607b502ef0420c26a39 - 50.67% (93.6 MB)

[#003] sha256:f3aa77fec9d8935ca4f47917fa1800499aeb09f491467b65b0914b9598f905ab - 0.0% (269 Bytes)

[#004] sha256:015e32a81172311d82a21a8c59c44a19943264d56868424bc14043cf6100b2fd - 10.49% (19.4 MB)

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

[#006] sha256:ebf1ed550d4635090d82d30c08e1d408806bfba8c24fffe9004f3b0837df191b - 0.0% (511 Bytes)

[#007] sha256:56f2add01290aa3598b2ea1cdd0a04d3a306905439735d9270a89c6deaec7a6d - 6.41% (11.8 MB)

[#008] sha256:54656683693ef7e6d7409402141fec35ede4063c6f31f233643482cc1a911db9 - 0.0% (490 Bytes)

[#009] sha256:76ef51206c991e1983ab30a13df1e7d253c131c9818b5a276c54f78007f844e6 - 5.89% (10.9 MB)

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

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

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

[#013] sha256:5f4fe6252d594664d58cec60fafb616edb1cb6c68cc9a2a3d50964c85f796afd - 1.16% (2.15 MB)

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

[#015] sha256:34b1f5b13da7913707213348c33e60e539425170d91651260a773365032a489e - 0.37% (705 KB)

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

[#017] sha256:6b5242172d179734ab3b682e1a0fefafbd9d6d16d76b7b5511035fea9cdc199f - 9.94% (18.4 MB)


History
2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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"

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27: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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27: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-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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

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

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.3

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-02-08 04:27:17 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-02-08 04:27:17 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-02-08 04:27:17 UTC

Size

195 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.3

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

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

28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593

PHP_URL

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

PHP_VERSION

8.2.16


Layers

[#000] sha256:b1cce6d9947985e4270ac998aa258401bc5deca94d504040a14f9f3c47258d68 - 16.24% (31.6 MB)

[#001] sha256:388f1023e69b0297ca1b43f02b0de9f2700c16c9f3bc3cd4d532dce1fed98a82 - 0.0% (228 Bytes)

[#002] sha256:47c21152df6e3694f2bd61235e4c23ee7e24735cd91cfff9f6dca5abb307a801 - 50.65% (98.5 MB)

[#003] sha256:0608cc469fd017def730be29629f988d7db21971cb60c627d4043f3f4ff24e3d - 0.0% (267 Bytes)

[#004] sha256:4c86cd418ad9f36395f647795ce8a6ee67f8cc57ee87b45a13e843c0d2209c3f - 10.53% (20.5 MB)

[#005] sha256:82afa6fa26cbb0b105f3ff50f1bb25a7743b2fb1e1e56092bf210cfd7a63d9ae - 0.0% (473 Bytes)

[#006] sha256:e20423759eec7201d4e061fab44ae4f2be21b3cf195ccf90ecac69aa7ff61e45 - 0.0% (513 Bytes)

[#007] sha256:e3ac54141bd03ba3998d5a07c1579de7ccdfe88299cfa45e4733e01ca12e3de0 - 6.09% (11.8 MB)

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

[#009] sha256:49609f1d79df3385e4b15e6eee2d1b9c566011134aeaec20e69417ae8a697ee8 - 5.79% (11.3 MB)

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

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

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

[#013] sha256:8a0d6f4064184383e987e68e157b93f25e735edcee0b134a87613a02f127d18e - 0.91% (1.77 MB)

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

[#015] sha256:a7dc543854fd13477b7787ac27a0b1e3b1bde38489e6aa2530b96e4d8b43565f - 0.35% (705 KB)

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

[#017] sha256:865f9cfc266e53a27b234ed073646453714b464baef0809f753804d41dcb1631 - 9.44% (18.4 MB)


History
2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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"

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27: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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27: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-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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

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

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.3

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-02-08 04:27:17 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-02-08 04:27:17 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-02-08 04:27:17 UTC

Size

165 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

10.2.3

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

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

28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593

PHP_URL

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

PHP_VERSION

8.2.16


Layers

[#000] sha256:e55f0b78e9a121a048a72242f0aec2a221466b10bedb873c07b73e4b99f873cb - 15.91% (26.2 MB)

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

[#002] sha256:e1d7e20d739007df636f4e0bffb8c753fe34b5834c77a8560ad481209b713da9 - 46.77% (77.1 MB)

[#003] sha256:231f09f66b39d784560a47b0a9a35c9ffc75c958ac6d714b931e2f10052eeccc - 0.0% (268 Bytes)

[#004] sha256:0ad9a7e236c2428d77411e290e407d3e563b97f82068a1a6f62ffd1c26dbd087 - 11.62% (19.2 MB)

[#005] sha256:f35a1a694219ffe08748ca3f8b465091ef91d33338469118ed8f6a3ba20e1b7a - 0.0% (472 Bytes)

[#006] sha256:5ad958effa4899374506d8ba746fcbf20d73ce55af4e9e5dae0e070db097fd91 - 0.0% (509 Bytes)

[#007] sha256:0a67e0e7db7bca80c9d8beada908dbc822d0dd003d758cc4f415f8eb09c7e008 - 7.19% (11.8 MB)

[#008] sha256:6fb3b1badfdc7eafaa820f7a6534b07fd32ce236fd3681e448b38478b1c8de7c - 0.0% (491 Bytes)

[#009] sha256:0c5e572f19690093fc1054945c8b1a604b78851ca3b95d13782fe6aed4b58c8e - 6.05% (9.96 MB)

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

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

[#012] sha256:ab5c4db249c297f0d073eb34f2c2153db9644fd1e0f039346fcc12e63feda368 - 0.0% (892 Bytes)

[#013] sha256:1390b0c4c32098c0f612453a2c6cc2393d6787f58e887937cab19cd195b66c90 - 0.9% (1.48 MB)

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

[#015] sha256:674eddbd0a659b8b0fec9c28f6a3a83f599e5842ac6d6f170be87c8c9432c1a9 - 0.42% (705 KB)

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

[#017] sha256:1d08b3c3f06f1f3c0a98788fb575b6e8a23d437131564d842f41f365bd71f0c9 - 11.14% (18.4 MB)


History
2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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"

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27: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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC

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

2024-02-08 04:27: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-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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 UTC

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

2024-02-08 04:27:17 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-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

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

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

ENV DRUPAL_VERSION=10.2.3

2024-02-08 04:27:17 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/drupal

2024-02-08 04:27:17 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-02-08 04:27:17 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