Namespace
library
Image / Tag
drupal:9.3.0-apache-buster
Content Digest
sha256:cd0bbdc5d2bd285e9eab68e1acd07513f50bd9656ea906fc346e73a0bb3102b6
Details
Created

2022-01-03 19:56:37 UTC

Size

169 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.0

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

fbde8247ac200e4de73449d9fefc8b495d323b5be9c10cdb645fb431c91156e3

PHP_URL

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

PHP_VERSION

8.0.14


Layers

[#000] sha256:16e3a221bce3a5f7f4a71f72926f381ff9c6141ccb5918b7ea924ff7f7f09d06 - 15.71% (26.5 MB)

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

[#002] sha256:2edb1663b27790d4fec647c37123dd6b66193226d9729046ca137d2b4f30edd5 - 45.91% (77.5 MB)

[#003] sha256:6c8a8af335b30cca4be37c6f715065b79e533367f11a6f4b343931bd5e42e55a - 0.0% (271 Bytes)

[#004] sha256:4cee771aebf79474e747a278b7b6124284a2e5659ba23d9aefd265826dfe0ea9 - 10.8% (18.2 MB)

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

[#006] sha256:4d9dbf38596cc57fea79b6ed0bb8b25700459661cef23119317de8bdd1a3b701 - 0.0% (515 Bytes)

[#007] sha256:213addeefc3e7c69158d6ff8ea72a5c3f11ec8575761b5d504a41c23c38e3339 - 6.33% (10.7 MB)

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

[#009] sha256:378202353d9e8725d42c778f0a4032dea27f708b8bec06270b42c4d0adcdb03d - 8.36% (14.1 MB)

[#010] sha256:c6643d4bf1084e797c3b3fd43177cd7dc13d965e2d6d43be94c24e4eb18864f9 - 0.0% (2.26 KB)

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

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

[#013] sha256:93c1028439cc634c55a5130987fd85b4e95bcb6814206c2059cc406314c0c306 - 1.17% (1.97 MB)

[#014] sha256:aeaa592f81d41868ac285a3bdde8619a0c4977e4cf02bb115606ace1a1fc719b - 0.0% (329 Bytes)

[#015] sha256:7b4809332fc5fc403ab7d01347d5169ab379cd10beb2c32367e7fcd9eaea2b00 - 0.32% (560 KB)

[#016] sha256:ffe05924d28b481eebf4213935ed858fe51fc98884c2a0924ef367b5e90b7289 - 0.0% (147 Bytes)

[#017] sha256:183d1af082612dc25efbeca77ab86dd146eab50ca2b2e5a37b6b0d917950d2c3 - 11.38% (19.2 MB)


History
2021-12-21 01:40:45 UTC

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

2021-12-21 01:40:45 UTC

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

2021-12-21 13:24:32 UTC

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

2021-12-21 13:24:32 UTC

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

2021-12-21 13:24:55 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/*

2021-12-21 13:24:56 UTC

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

2021-12-21 13:24:57 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 777 /var/www/html

2021-12-21 13:31:40 UTC

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

2021-12-21 13:31:40 UTC

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

2021-12-21 13:31:51 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 777 "$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"

2021-12-21 13:31:52 UTC

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

2021-12-21 13:31:53 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

2021-12-21 13:31:54 UTC

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

2021-12-21 13:31:54 UTC

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

2021-12-21 13:31:54 UTC

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

2021-12-21 14:32:54 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2021-12-21 14:32:54 UTC

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

2021-12-21 14:32:54 UTC

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

2021-12-21 14:32:55 UTC

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

2021-12-21 14:33:19 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; 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

2021-12-21 14:33:19 UTC

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

2021-12-21 14:41:27 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" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --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 '/=>/ { print $(NF-1) }' | 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

2021-12-21 14:41:28 UTC

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

2021-12-21 14:41:29 UTC

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

2021-12-21 14:41:30 UTC

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

2021-12-21 14:41:30 UTC

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

2021-12-21 14:41:30 UTC

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

2021-12-21 14:41:31 UTC

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

2021-12-21 14:41:31 UTC

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

2021-12-21 14:41:31 UTC

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

2021-12-22 09:01:08 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; 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 '/=>/ { print $3 }' | 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/*

2021-12-22 09:01:09 UTC

/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'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini

2022-01-03 19:56:23 UTC

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

2022-01-03 19:56:23 UTC

/bin/sh -c #(nop) ENV DRUPAL_VERSION=9.3.0

2022-01-03 19:56:23 UTC

/bin/sh -c #(nop) WORKDIR /opt/drupal

2022-01-03 19:56:36 UTC

/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"

2022-01-03 19:56:37 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2022-01-03 19:40:57 UTC

Size

163 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.0

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

fbde8247ac200e4de73449d9fefc8b495d323b5be9c10cdb645fb431c91156e3

PHP_URL

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

PHP_VERSION

8.0.14


Layers

[#000] sha256:72a69066d2febc34d8f3dbcb645f7b851a57e9681322ece7ad8007503b783c19 - 15.88% (25.9 MB)

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

[#002] sha256:cddf9116140097c570dbf83d0301fe37fed9551b2f476c69cecd86397bdc239e - 44.85% (73.1 MB)

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

[#004] sha256:1d9707294ce1de6d169b3f08b5dee9e60e872ea53564a7a21236507197d5877a - 10.93% (17.8 MB)

[#005] sha256:443be0efd1a3affd98bc62c3d179c1275a6a00932be3aa2c441c3485755a3c50 - 0.0% (475 Bytes)

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

[#007] sha256:6c820803ed342f5a7c3ee5581415441361f5966ab7a0ee9fbc2195a08c270354 - 6.55% (10.7 MB)

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

[#009] sha256:baae0a6127dc8b879300ef42492a35b00de28162367842382f825735fa447703 - 8.48% (13.8 MB)

[#010] sha256:6bf9a9ed0438301812a5ec9e720ebe03ac8cbbaa6f405d897b27d54a6c050033 - 0.0% (2.26 KB)

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

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

[#013] sha256:055195676acf3d07c6045f4a799847ce1efde6e983ddfdeeb74e63496b3081cf - 1.18% (1.92 MB)

[#014] sha256:c6fbb935a0cd3e18c600054f31df24e9c275cbba1f78cea6f1a1bee8ac087c94 - 0.0% (327 Bytes)

[#015] sha256:4960d24ff9e782b60a31088a70182f9a7cc45c098f2f50b8d8f51fa437249ed3 - 0.34% (560 KB)

[#016] sha256:e47f7af46a5a483f8626cfeac9353d79d16ad08c0d54ed07776c1763ca0e2440 - 0.0% (149 Bytes)

[#017] sha256:c58210d367de0b2049477592c988262447543737d963c39b0a1447e6fddfc87a - 11.78% (19.2 MB)


History
2021-12-21 01:23:04 UTC

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

2021-12-21 01:23:04 UTC

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

2021-12-21 19:55:15 UTC

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

2021-12-21 19:55:16 UTC

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

2021-12-21 19:55:51 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/*

2021-12-21 19:55:51 UTC

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

2021-12-21 19:55:52 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 777 /var/www/html

2021-12-21 20:03:53 UTC

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

2021-12-21 20:03:54 UTC

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

2021-12-21 20:04:12 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 777 "$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"

2021-12-21 20:04:14 UTC

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

2021-12-21 20:04:16 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

2021-12-21 20:04:17 UTC

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

2021-12-21 20:04:17 UTC

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

2021-12-21 20:04:18 UTC

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

2021-12-21 21:08:04 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2021-12-21 21:08:04 UTC

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

2021-12-21 21:08:04 UTC

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

2021-12-21 21:08:04 UTC

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

2021-12-21 21:08:28 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; 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

2021-12-21 21:08:29 UTC

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

2021-12-21 21:13:41 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" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --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 '/=>/ { print $(NF-1) }' | 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

2021-12-21 21:13:41 UTC

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

2021-12-21 21:13:42 UTC

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

2021-12-21 21:13:42 UTC

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

2021-12-21 21:13:43 UTC

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

2021-12-21 21:13:43 UTC

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

2021-12-21 21:13:43 UTC

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

2021-12-21 21:13:43 UTC

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

2021-12-21 21:13:43 UTC

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

2021-12-22 10:57:44 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; 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 '/=>/ { print $3 }' | 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/*

2021-12-22 10:57:45 UTC

/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'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini

2022-01-03 19:40:43 UTC

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

2022-01-03 19:40:43 UTC

/bin/sh -c #(nop) ENV DRUPAL_VERSION=9.3.0

2022-01-03 19:40:43 UTC

/bin/sh -c #(nop) WORKDIR /opt/drupal

2022-01-03 19:40:55 UTC

/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"

2022-01-03 19:40:57 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2022-01-03 20:53:45 UTC

Size

139 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.0

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

fbde8247ac200e4de73449d9fefc8b495d323b5be9c10cdb645fb431c91156e3

PHP_URL

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

PHP_VERSION

8.0.14


Layers

[#000] sha256:b597e1a6bc27aa2a24a587cb687c9551dfbcfa730a11d48c5a44ff77ff6fdd75 - 15.63% (21.7 MB)

[#001] sha256:31790e78e71da3493063e5402d65c27e8cb5f7140f9aba0ff2de9aaba77773b4 - 0.0% (227 Bytes)

[#002] sha256:f548eb2e152190a56328e2a5f34e6655f41f1c332c9d678629753a97745ee82d - 40.87% (56.8 MB)

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

[#004] sha256:aeaf1c1024c01ee445d31e937dc994e626716da6b9705e29345681bf6265f0f2 - 12.0% (16.7 MB)

[#005] sha256:665705be425f7e835310c58a9ef3028ce6dd76bb509be9e7e4d9de43a351ba9f - 0.0% (476 Bytes)

[#006] sha256:dc7b9681b33fd145ac0facba259d73e6e16547c07a25e706affb3786fe6a5fed - 0.0% (519 Bytes)

[#007] sha256:0375c1e553ce415705ccffe9dfa268680ecbe428a55d528878a4cb70e0f27bce - 7.69% (10.7 MB)

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

[#009] sha256:4d3db086639b483ed2090d3f03716aa9229c595143193b19d711ac26b83ee3ee - 8.59% (11.9 MB)

[#010] sha256:5234049a1e7a3349200b6d634d080e7b53f73b6f3890b6785b3841856d712584 - 0.0% (2.26 KB)

[#011] sha256:f5cf8b0a99eeac188ace0934ac91225bb10f67d4277fa1c46fad621a54a8754d - 0.0% (249 Bytes)

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

[#013] sha256:aacf05724c7980a1bb9218829acaa13b9587eeed267644809385e7c15c454d65 - 1.0% (1.39 MB)

[#014] sha256:bd3a67fcae564c08467cd6bff65f21d5dddef0a11fdd3965b6d34213439bcb29 - 0.0% (327 Bytes)

[#015] sha256:fea1382bc83e7cd506f768382c3af06399039ec6e4e9b9d0bdf1faa11001409d - 0.39% (560 KB)

[#016] sha256:206e95a46052471d588862d489d463eac39067301ea9c9b3f9e240c3363a4c87 - 0.0% (149 Bytes)

[#017] sha256:f03fb543a9387d9543bcc320a4760bb04578edc61f6e18908574d91fa4c1c7e6 - 13.83% (19.2 MB)


History
2021-12-21 02:00:52 UTC

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

2021-12-21 02:00:52 UTC

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

2021-12-21 10:26:49 UTC

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

2021-12-21 10:26:50 UTC

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

2021-12-21 10:27:38 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/*

2021-12-21 10:27:40 UTC

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

2021-12-21 10:27:41 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 777 /var/www/html

2021-12-21 10:33:13 UTC

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

2021-12-21 10:33:14 UTC

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

2021-12-21 10:33:35 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 777 "$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"

2021-12-21 10:33:37 UTC

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

2021-12-21 10:33:39 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

2021-12-21 10:33:39 UTC

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

2021-12-21 10:33:40 UTC

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

2021-12-21 10:33:40 UTC

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

2021-12-21 11:15:23 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2021-12-21 11:15:24 UTC

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

2021-12-21 11:15:24 UTC

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

2021-12-21 11:15:25 UTC

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

2021-12-21 11:15:44 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; 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

2021-12-21 11:15:45 UTC

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

2021-12-21 11:20:33 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" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --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 '/=>/ { print $(NF-1) }' | 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

2021-12-21 11:20:34 UTC

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

2021-12-21 11:20:36 UTC

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

2021-12-21 11:20:36 UTC

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

2021-12-21 11:20:37 UTC

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

2021-12-21 11:20:37 UTC

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

2021-12-21 11:20:38 UTC

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

2021-12-21 11:20:38 UTC

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

2021-12-21 11:20:39 UTC

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

2021-12-22 22:37:02 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; 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 '/=>/ { print $3 }' | 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/*

2021-12-22 22:37:03 UTC

/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'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini

2022-01-03 20:53:09 UTC

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

2022-01-03 20:53:09 UTC

/bin/sh -c #(nop) ENV DRUPAL_VERSION=9.3.0

2022-01-03 20:53:10 UTC

/bin/sh -c #(nop) WORKDIR /opt/drupal

2022-01-03 20:53:42 UTC

/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"

2022-01-03 20:53:45 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2022-01-03 21:37:01 UTC

Size

154 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.0

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

fbde8247ac200e4de73449d9fefc8b495d323b5be9c10cdb645fb431c91156e3

PHP_URL

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

PHP_VERSION

8.0.14


Layers

[#000] sha256:753408153c81560bc4244b14524c404cbf483c8afa8ac924272545400536a9d8 - 16.03% (24.7 MB)

[#001] sha256:399cd382f74b9333921ab9450361ddfc29e07826cfb4906582618a1665ba6ba0 - 0.0% (227 Bytes)

[#002] sha256:978dcfbedcedd2e259c7988f1c18e962e16d5ca4aaf0371c8d53e57eeb7411b6 - 43.5% (67.1 MB)

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

[#004] sha256:ddea69969cce0cd061920b09c53b87bfaa4f22bd200e665ca39b1b53f80bba21 - 11.35% (17.5 MB)

[#005] sha256:08dcaca783979ecf373cc99da723cd1da88c2e82df4996e8cdc91d5a72c051be - 0.0% (431 Bytes)

[#006] sha256:b45e6c5a9aba6e73fe091cc78eda737bc67e6650c252a596a254dd8309aca36a - 0.0% (485 Bytes)

[#007] sha256:59177fa5eb0004461d8aaa641bc918c868e91ae7b310adfb5720e716970d4dc7 - 6.79% (10.5 MB)

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

[#009] sha256:3a504d70590034392190096460e80a58f849e49fc7834c4f753d63ffcd15be8f - 8.61% (13.3 MB)

[#010] sha256:a6e01666352d3f1ba4bb9cf364b650b3deb0fef5b421ac31e7143d13f221c223 - 0.0% (2.26 KB)

[#011] sha256:08c79ef9498262f664a322bf74d42c3de354e292327fb6ff36cffedee8e25a37 - 0.0% (245 Bytes)

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

[#013] sha256:834b160d54bbf4cf8c713e4ee41390d253fa0779ea413b97f1d12847d0550cc1 - 0.91% (1.4 MB)

[#014] sha256:b130d0076332d2e6df7ed09eee4f90f6638d8911e453f7fe85c72121ba4bd6c7 - 0.0% (326 Bytes)

[#015] sha256:5f58a17ca272ff95f870624e051352ce953fc550b2d586704b5c209a358d28c9 - 0.35% (560 KB)

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

[#017] sha256:f00fb403b8ea4843771c8a3346154b37225fcba625c2120af51811ba15bf584f - 12.45% (19.2 MB)


History
2021-12-21 01:42:48 UTC

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

2021-12-21 01:42:49 UTC

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

2021-12-21 03:52:38 UTC

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

2021-12-21 03:52:38 UTC

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

2021-12-21 03:52:55 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/*

2021-12-21 03:52:55 UTC

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

2021-12-21 03:52:56 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 777 /var/www/html

2021-12-21 03:57:20 UTC

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

2021-12-21 03:57:21 UTC

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

2021-12-21 03:57:29 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 777 "$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"

2021-12-21 03:57:30 UTC

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

2021-12-21 03:57:31 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

2021-12-21 03:57:32 UTC

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

2021-12-21 03:57:33 UTC

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

2021-12-21 03:57:34 UTC

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

2021-12-21 04:25:13 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2021-12-21 04:25:14 UTC

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

2021-12-21 04:25:15 UTC

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

2021-12-21 04:25:16 UTC

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

2021-12-21 04:25:34 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; 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

2021-12-21 04:25:35 UTC

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

2021-12-21 04:28:08 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" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --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 '/=>/ { print $(NF-1) }' | 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

2021-12-21 04:28:10 UTC

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

2021-12-21 04:28:10 UTC

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

2021-12-21 04:28:11 UTC

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

2021-12-21 04:28:12 UTC

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

2021-12-21 04:28:14 UTC

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

2021-12-21 04:28:14 UTC

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

2021-12-21 04:28:15 UTC

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

2021-12-21 04:28:16 UTC

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

2021-12-22 00:08:40 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; 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 '/=>/ { print $3 }' | 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/*

2021-12-22 00:08:41 UTC

/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'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini

2022-01-03 21:36:33 UTC

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

2022-01-03 21:36:33 UTC

/bin/sh -c #(nop) ENV DRUPAL_VERSION=9.3.0

2022-01-03 21:36:34 UTC

/bin/sh -c #(nop) WORKDIR /opt/drupal

2022-01-03 21:36:59 UTC

/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"

2022-01-03 21:37:01 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2022-01-03 21:23:11 UTC

Size

173 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.0

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

fbde8247ac200e4de73449d9fefc8b495d323b5be9c10cdb645fb431c91156e3

PHP_URL

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

PHP_VERSION

8.0.14


Layers

[#000] sha256:e2c79f8e0929abda2022fed71e090d3c34c8c3fdfb2a513ede1d117020a46821 - 16.82% (29.1 MB)

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

[#002] sha256:a61e3c5a1fa71cf0719b52f3a7251f4495550c9ad79cc0e7e254e3ef0c9242f6 - 45.28% (78.5 MB)

[#003] sha256:d2cb6020b1fc266273c381d36910555df49ff35872349f3cfedcc4fdc7ac9050 - 0.0% (271 Bytes)

[#004] sha256:2039beeb74569c64839c020d6dc7707191f446981355b2e62626700d19343e8d - 10.91% (18.9 MB)

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

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

[#007] sha256:84d1b9d5e66023d28b0e0ac44babb635350736fde2ecc94b334021187f7a0bdf - 6.16% (10.7 MB)

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

[#009] sha256:694f799fec21fb9daca4de167041cd6f462782d8a8ffebe6bdc0553472d7de4b - 8.37% (14.5 MB)

[#010] sha256:8e64b1371c5382d23b835f27467a4982e6478191b7c4248fc1e935e03f3dc515 - 0.0% (2.26 KB)

[#011] sha256:1a0c303be0a2edce769db4050a5ee707fb9f3d138ec1f20c8fe3255451305a4a - 0.0% (252 Bytes)

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

[#013] sha256:5b27d42841d196ffe479abc816efceebd6c411e1cf1bfe3979a1d48570666b0e - 1.06% (1.83 MB)

[#014] sha256:0106855ded658602d1b2a9ce898b1b23f3d0eaa69ce75617e93af55c3a16f511 - 0.0% (330 Bytes)

[#015] sha256:4b3626bb3bd94556564af3105d8e7cbc396d4552529d38c8e9ba9400418f7a9c - 0.32% (560 KB)

[#016] sha256:11ca523fd1e1c5a575d7bbdf3522ab777f92883330bc247fcda6f8499a840931 - 0.0% (149 Bytes)

[#017] sha256:2e14cefbc3e4c67524bfb182ff7d11b1dc53364c427d3ad8f47959b5cc78e307 - 11.08% (19.2 MB)


History
2021-12-21 02:21:09 UTC

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

2021-12-21 02:21:13 UTC

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

2021-12-21 07:02:15 UTC

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

2021-12-21 07:02:16 UTC

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

2021-12-21 07:03:32 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/*

2021-12-21 07:03:39 UTC

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

2021-12-21 07:03:43 UTC

/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html

2021-12-21 07:09:09 UTC

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

2021-12-21 07:09:12 UTC

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

2021-12-21 07:09:50 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 777 "$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"

2021-12-21 07:09:55 UTC

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

2021-12-21 07:09:59 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

2021-12-21 07:10:01 UTC

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

2021-12-21 07:10:02 UTC

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

2021-12-21 07:10:03 UTC

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

2021-12-21 07:50:03 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2021-12-21 07:50:05 UTC

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

2021-12-21 07:50:06 UTC

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

2021-12-21 07:50:07 UTC

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

2021-12-21 07:50:42 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; 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

2021-12-21 07:50:44 UTC

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

2021-12-21 07:54:59 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" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --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 '/=>/ { print $(NF-1) }' | 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

2021-12-21 07:55:02 UTC

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

2021-12-21 07:55:06 UTC

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

2021-12-21 07:55:08 UTC

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

2021-12-21 07:55:09 UTC

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

2021-12-21 07:55:10 UTC

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

2021-12-21 07:55:11 UTC

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

2021-12-21 07:55:14 UTC

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

2021-12-21 07:55:15 UTC

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

2021-12-22 05:30:30 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; 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 '/=>/ { print $3 }' | 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/*

2021-12-22 05:30:36 UTC

/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'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini

2022-01-03 21:22:35 UTC

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

2022-01-03 21:22:37 UTC

/bin/sh -c #(nop) ENV DRUPAL_VERSION=9.3.0

2022-01-03 21:22:39 UTC

/bin/sh -c #(nop) WORKDIR /opt/drupal

2022-01-03 21:23:05 UTC

/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"

2022-01-03 21:23:11 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin

Details
Created

2022-01-03 21:50:56 UTC

Size

149 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.0

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

fbde8247ac200e4de73449d9fefc8b495d323b5be9c10cdb645fb431c91156e3

PHP_URL

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

PHP_VERSION

8.0.14


Layers

[#000] sha256:10979941d091693f28e3dc033cc6ca88996acf42a0aace27ad85fbd894945e20 - 16.52% (24.6 MB)

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

[#002] sha256:c0ffc077076230c4b93f115982fd907a1402d52434473293959fa276ef6e4259 - 41.49% (61.7 MB)

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

[#004] sha256:dac2c4c8edd1fedc2814c42975c3d00803f5e403a770e83a551ecc7ae44b63a8 - 11.88% (17.7 MB)

[#005] sha256:81d4743723046dc889ad5079091ad0d3fc091d48c9d2a68f8278bc63929fd7bf - 0.0% (473 Bytes)

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

[#007] sha256:1adc5387e2f5577a89acec1c013f3c4c4700a39cade795e091a4e796a8f93738 - 7.18% (10.7 MB)

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

[#009] sha256:bbe4b8c9b5129d86a1f046f22bc6a38c3e3ab7b178a98b5c170d29c40b66b663 - 8.57% (12.8 MB)

[#010] sha256:39c7cb29815c47241b21ee84454f71654a68017fdd3ae0a14267d0042c6e5c25 - 0.0% (2.26 KB)

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

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

[#013] sha256:30918dc9a7c6792632be65ba8821bc492bccdf01ab44b210ccb2cbbce3d52f7d - 1.07% (1.59 MB)

[#014] sha256:08c1d0420ab65fdd3d6643443c6de0c109ea063a53fc6d2864006294e083b07b - 0.0% (328 Bytes)

[#015] sha256:6ef2c21e60ec5b8cbd06982c2187887c073ef07419054dc29e982521fd9411a0 - 0.37% (560 KB)

[#016] sha256:3126497f3fb2ecb23ef11d689f90a7030d3c80f382ac354637ae498101faccf0 - 0.0% (149 Bytes)

[#017] sha256:0fab3397092a5c3172e0d8a43db321426421ebe6956667a222c99071e30e1b6d - 12.91% (19.2 MB)


History
2021-12-21 01:42:57 UTC

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

2021-12-21 01:42:59 UTC

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

2021-12-21 05:58:04 UTC

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

2021-12-21 05:58:04 UTC

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

2021-12-21 05:58:19 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/*

2021-12-21 05:58:22 UTC

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

2021-12-21 05:58:22 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 777 /var/www/html

2021-12-21 06:00:54 UTC

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

2021-12-21 06:00:54 UTC

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

2021-12-21 06:01:01 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 777 "$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"

2021-12-21 06:01:02 UTC

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

2021-12-21 06:01:03 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

2021-12-21 06:01:03 UTC

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

2021-12-21 06:01:03 UTC

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

2021-12-21 06:01:03 UTC

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

2021-12-21 06:20:34 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2021-12-21 06:20:34 UTC

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

2021-12-21 06:20:34 UTC

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

2021-12-21 06:20:34 UTC

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

2021-12-21 06:20:48 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; 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

2021-12-21 06:20:48 UTC

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

2021-12-21 06:22:46 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" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --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 '/=>/ { print $(NF-1) }' | 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

2021-12-21 06:22:47 UTC

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

2021-12-21 06:22:48 UTC

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

2021-12-21 06:22:48 UTC

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

2021-12-21 06:22:48 UTC

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

2021-12-21 06:22:48 UTC

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

2021-12-21 06:22:49 UTC

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

2021-12-21 06:22:49 UTC

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

2021-12-21 06:22:49 UTC

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

2021-12-21 16:51:19 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; 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 '/=>/ { print $3 }' | 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/*

2021-12-21 16:51:20 UTC

/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'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini

2022-01-03 21:50:39 UTC

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

2022-01-03 21:50:39 UTC

/bin/sh -c #(nop) ENV DRUPAL_VERSION=9.3.0

2022-01-03 21:50:40 UTC

/bin/sh -c #(nop) WORKDIR /opt/drupal

2022-01-03 21:50:53 UTC

/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"

2022-01-03 21:50:56 UTC

/bin/sh -c #(nop) 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