Namespace
library
Image / Tag
drupal:9.2.17-php8.0-apache-buster
Content Digest
sha256:6be6e240f88bdf5f65dad5dccc377895574c16268eade13a006dc6c2ac9c5eec
Details
Created

2022-04-20 23:06:39 UTC

Size

164 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.2.17

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

db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7

PHP_URL

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

PHP_VERSION

8.0.18


Layers

[#000] sha256:a13b13d818745c4d2234aab71df26e4a01bfe59f396ab62f20d156b94803650c - 16.19% (26.5 MB)

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

[#002] sha256:3a5a617dd74a86cb0ff5f7202424d106cdf9d03799b3f7232bfa2f18abe518a6 - 47.29% (77.5 MB)

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

[#004] sha256:7e7cc19c7a8cbcdb32fd7f87e90c53b2864cd5a4ffa57204e32e0a4951b057cd - 11.0% (18 MB)

[#005] sha256:6a5a2d88187a4de43e2bb37887e901be7bc0d45c1d5d009b283215cf3680c085 - 0.0% (432 Bytes)

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

[#007] sha256:4723753e0d8c3aa857b4b04bbdc5c0638bee24fdcef420867ad90f39fab33995 - 6.4% (10.5 MB)

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

[#009] sha256:eea113373a0261264a53f434f8aa935447ee3a72df4ab297aaa4f12fcd28bece - 6.36% (10.4 MB)

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

[#011] sha256:2087e76a78dda78d907d4df718551093427683df89702c4f84fbc8c4d9df8dab - 0.0% (243 Bytes)

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

[#013] sha256:8149b1fdf046c49eaf928cd724d7246809c2da765f2f588ff1a43b0cbfa2467c - 1.22% (2 MB)

[#014] sha256:19f5b5b4d67ef32512efb4180e26dd4f09710cb8e5d928f43512255310590edd - 0.0% (325 Bytes)

[#015] sha256:84111b06ea9aece5481ef2753acfc5060068e4965e7f7ebdc467dae53625529a - 0.39% (646 KB)

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

[#017] sha256:4faa9f3b6be01bfd597d0aa7636c686aa793948592ea3f796b9c51269145017a - 11.14% (18.2 MB)


History
2022-04-20 07:38:03 UTC

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

2022-04-20 07:38:04 UTC

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

2022-04-20 13:28:25 UTC

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

2022-04-20 13:28:26 UTC

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

2022-04-20 13:28:46 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/*

2022-04-20 13:28:46 UTC

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

2022-04-20 13:28:47 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

2022-04-20 13:32:08 UTC

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

2022-04-20 13:32:08 UTC

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

2022-04-20 13:32:21 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"

2022-04-20 13:32:22 UTC

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

2022-04-20 13:32:23 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

2022-04-20 13:32:24 UTC

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

2022-04-20 13:32:25 UTC

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

2022-04-20 13:32:26 UTC

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

2022-04-20 13:57:06 UTC

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

2022-04-20 13:57:06 UTC

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

2022-04-20 13:57:07 UTC

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

2022-04-20 13:57:08 UTC

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

2022-04-20 13:57: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

2022-04-20 13:57:20 UTC

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

2022-04-20 13:59:53 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-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 '/=>/ { 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

2022-04-20 13:59:54 UTC

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

2022-04-20 13:59:55 UTC

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

2022-04-20 13:59:55 UTC

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

2022-04-20 13:59:56 UTC

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

2022-04-20 13:59:58 UTC

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

2022-04-20 13:59:58 UTC

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

2022-04-20 13:59:59 UTC

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

2022-04-20 14:00:00 UTC

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

2022-04-20 22:59:04 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 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 '/=>/ { 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/*

2022-04-20 22:59:05 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-04-20 22:59:07 UTC

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

2022-04-20 23:06:23 UTC

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

2022-04-20 23:06:24 UTC

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

2022-04-20 23:06:37 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-04-20 23:06:39 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-04-21 07:50:55 UTC

Size

159 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.2.17

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

db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7

PHP_URL

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

PHP_VERSION

8.0.18


Layers

[#000] sha256:4be315f6562fccf08fd6c749557e31e45ab6d987370e20e2c4933ddb04ddd5ff - 16.3% (25.9 MB)

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

[#002] sha256:921036586f376b1ccb24e7c763f3162f8c43242b44b8d142f8d9b2e84d824e4b - 46.06% (73.1 MB)

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

[#004] sha256:44119b900eb11076af1257ff47b8b7cadcfecf1834dbdb0e623211a47762974b - 11.22% (17.8 MB)

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

[#006] sha256:6a330a67cbfb51e80f225ad9ba9caa56c70fdef069a43044da77f835c954799d - 0.0% (510 Bytes)

[#007] sha256:af326645b18e3cd7c03678fc9d1f3d6e6214ea54af46112f3a14841228b754a8 - 6.73% (10.7 MB)

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

[#009] sha256:0f01da3f14a09dd3fcbdb0fc3e9a4db5570f192bbbd2748261f0827672056614 - 6.44% (10.2 MB)

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

[#011] sha256:8ef8dea2eabe77fb767854e9558b57029e90beed88fec55bb053ab6f654e1afe - 0.0% (246 Bytes)

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

[#013] sha256:25966abb96fe6c129fe923fab73579fce24773067c6a0a05065b188a2eee2f2d - 1.35% (2.14 MB)

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

[#015] sha256:6e24226d06d802aee90fd58a5710d3d48f71d649a6c91b45c59e327b240598f5 - 0.4% (646 KB)

[#016] sha256:7fb54d104c704f96edf3713420e3b3f1ac3ff3658ad17ea69f46103f52e7cd50 - 0.0% (148 Bytes)

[#017] sha256:abb74d9ace23421725095736761e93bd5aeff344bec04b5d4316d01e09a7620d - 11.49% (18.2 MB)


History
2022-04-20 04:43:48 UTC

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

2022-04-20 04:43:48 UTC

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

2022-04-20 11:31:21 UTC

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

2022-04-20 11:31:22 UTC

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

2022-04-20 11:31:39 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/*

2022-04-20 11:31:40 UTC

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

2022-04-20 11:31:40 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

2022-04-20 11:35:00 UTC

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

2022-04-20 11:35:00 UTC

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

2022-04-20 11:35:09 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"

2022-04-20 11:35:10 UTC

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

2022-04-20 11:35:10 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

2022-04-20 11:35:10 UTC

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

2022-04-20 11:35:10 UTC

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

2022-04-20 11:35:10 UTC

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

2022-04-20 12:00:46 UTC

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

2022-04-20 12:00:46 UTC

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

2022-04-20 12:00:46 UTC

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

2022-04-20 12:00:46 UTC

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

2022-04-20 12:00:57 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

2022-04-20 12:00:57 UTC

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

2022-04-20 12:03:48 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-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 '/=>/ { 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

2022-04-20 12:03:48 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-20 12:03:49 UTC

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

2022-04-21 07:45:14 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 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 '/=>/ { 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/*

2022-04-21 07:45:14 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-04-21 07:45:15 UTC

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

2022-04-21 07:50:42 UTC

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

2022-04-21 07:50:42 UTC

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

2022-04-21 07: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-04-21 07:50:55 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-04-19 06:21:41 UTC

Size

135 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.2.17

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

db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7

PHP_URL

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

PHP_VERSION

8.0.18


Layers

[#000] sha256:d4bf0b27c669e589de33695047d638174fc2ca819a4366d5f80d1ad6b01c0c0e - 16.06% (21.7 MB)

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

[#002] sha256:143ea667d8c453dd32a011a5ffaeec170d3da0c6fba06e88fbb9cdf2af5f10f3 - 42.01% (56.8 MB)

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

[#004] sha256:8a8b1927e68778c5beb6d84d5877aeaec3433799a0bcd26b386abb63653da8e0 - 12.33% (16.7 MB)

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

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

[#007] sha256:f5e53aebbad7a6206546d301dd771db4f0046063231f2dd650cefb715d760df5 - 7.91% (10.7 MB)

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

[#009] sha256:33e9a2ffd2361aeff8a93680e3d218ff9f615a5fa4eca0cee6a5c8827820fc60 - 6.57% (8.88 MB)

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

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

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

[#013] sha256:e62202f0e275a762ba8e893c5413d5404f2e82a88e1da2e332dff090c36f4025 - 1.15% (1.56 MB)

[#014] sha256:803e67d5b1581f479a236a55b924f98f1e86b52e075d9aabb487c18bf243d5bf - 0.0% (328 Bytes)

[#015] sha256:b463434e530f35b8fb764b4b722b56d4045089df1701d0f9c007b0e99ba6d36b - 0.47% (646 KB)

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

[#017] sha256:67b8e38b1987389b23118ab2920c63f06d369d6039c226029de1ff113e9509c7 - 13.5% (18.2 MB)


History
2022-03-29 02:19:40 UTC

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

2022-03-29 02:19:41 UTC

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

2022-03-29 07:10:15 UTC

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

2022-03-29 07:10:15 UTC

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

2022-03-29 07:10:59 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/*

2022-03-29 07:11:00 UTC

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

2022-03-29 07:11:02 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

2022-03-29 07:16:28 UTC

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

2022-03-29 07:16:29 UTC

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

2022-03-29 07:16: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"

2022-03-29 07:16:52 UTC

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

2022-03-29 07:16: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

2022-03-29 07:16:54 UTC

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

2022-03-29 07:16:54 UTC

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

2022-03-29 07:16:55 UTC

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

2022-03-29 08:16:13 UTC

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

2022-04-19 02:40:59 UTC

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

2022-04-19 02:41:00 UTC

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

2022-04-19 02:41:00 UTC

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

2022-04-19 02:41:20 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

2022-04-19 02:41:20 UTC

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

2022-04-19 02:46:07 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { 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

2022-04-19 02:46:08 UTC

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

2022-04-19 02:46:10 UTC

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

2022-04-19 02:46:10 UTC

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

2022-04-19 02:46:10 UTC

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

2022-04-19 02:46:11 UTC

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

2022-04-19 02:46:12 UTC

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

2022-04-19 02:46:12 UTC

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

2022-04-19 02:46:12 UTC

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

2022-04-19 05:55:06 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 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 '/=>/ { 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/*

2022-04-19 05:55:08 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-04-19 05:55:08 UTC

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

2022-04-19 06:21:09 UTC

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

2022-04-19 06:21:09 UTC

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

2022-04-19 06:21:39 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-04-19 06:21:41 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-04-21 11:19:36 UTC

Size

150 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.2.17

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

db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7

PHP_URL

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

PHP_VERSION

8.0.18


Layers

[#000] sha256:6c3e5b218d6477ff77053280968d5bdeaa5dcf16a803e917d98dd0ea8b93ac82 - 16.47% (24.7 MB)

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

[#002] sha256:1ef2903a73bfbb468e8e8036e1a502e8868ad6d197f9debd5c5dd18abfa5e882 - 44.73% (67.1 MB)

[#003] sha256:3f328b99b7c1cfed16a3ef641bfcc729aab9bfc581d6b51bcb925f408374d646 - 0.0% (226 Bytes)

[#004] sha256:bfcd6664421ec7acc737190a27a1ed75dbc094c82cbf22916c82ca72ce8050f3 - 11.68% (17.5 MB)

[#005] sha256:7541ddf23a253cec9f9b79ec77879afd0c04af294bce7fdb71e87460d590eaec - 0.0% (431 Bytes)

[#006] sha256:8a90c3bf00bafa9635cdd605ddcd87f7d659c8f115a9ba324c19772dddf01488 - 0.0% (484 Bytes)

[#007] sha256:63b328c48d4eab63c44bc38d1396d92afc4958a96d01f85a388c496a32883e17 - 6.99% (10.5 MB)

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

[#009] sha256:e7809c07dc75befd6b2a8d9865f5f4482e381d4dd443037d516d6682b29bc192 - 6.48% (9.72 MB)

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

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

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

[#013] sha256:68e0d795eb4674b41eb66cd2b58830f336b10907b98268e1ca96db701b81f095 - 1.07% (1.61 MB)

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

[#015] sha256:f766a4c8b7bc7bdb80dd7607c1c3bfaae82faade091c46ab25356d1dcf8ede60 - 0.42% (646 KB)

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

[#017] sha256:c85c78ab49abe622db97584313777ea356d0f43e32ad1322914f1329a5bdafe8 - 12.16% (18.2 MB)


History
2022-04-20 04:29:36 UTC

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

2022-04-20 04:29:37 UTC

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

2022-04-20 16:11:21 UTC

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

2022-04-20 16:11:22 UTC

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

2022-04-20 16:11:37 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/*

2022-04-20 16:11:38 UTC

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

2022-04-20 16:11:38 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

2022-04-20 16:16:04 UTC

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

2022-04-20 16:16:05 UTC

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

2022-04-20 16:16:13 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"

2022-04-20 16:16:14 UTC

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

2022-04-20 16:16:15 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

2022-04-20 16:16:16 UTC

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

2022-04-20 16:16:17 UTC

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

2022-04-20 16:16:18 UTC

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

2022-04-20 16:43:13 UTC

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

2022-04-20 16:43:13 UTC

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

2022-04-20 16:43:14 UTC

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

2022-04-20 16:43:15 UTC

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

2022-04-20 16:43:31 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

2022-04-20 16:43:32 UTC

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

2022-04-20 16:46:09 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { 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

2022-04-20 16:46:10 UTC

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

2022-04-20 16:46:10 UTC

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

2022-04-20 16:46:11 UTC

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

2022-04-20 16:46:12 UTC

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

2022-04-20 16:46:14 UTC

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

2022-04-20 16:46:14 UTC

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

2022-04-20 16:46:15 UTC

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

2022-04-20 16:46:16 UTC

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

2022-04-21 11:11:00 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 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 '/=>/ { 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/*

2022-04-21 11:11:01 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-04-21 11:11:03 UTC

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

2022-04-21 11:19:16 UTC

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

2022-04-21 11:19:17 UTC

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

2022-04-21 11:19:34 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-04-21 11:19:36 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-04-19 08:10:13 UTC

Size

169 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.2.17

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

db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7

PHP_URL

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

PHP_VERSION

8.0.18


Layers

[#000] sha256:7db831386ce67ac1cf2b4f1513fe3746c9ea2b8d4c82efca75be638eaf533614 - 17.27% (29.1 MB)

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

[#002] sha256:2d9b86d7c159a3693d52e18bfcc537a8c59101e9537110faa8a87c6d58f8f6e6 - 46.5% (78.5 MB)

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

[#004] sha256:99aed90f9277ccf9978a35c584800f9519ed7d48eea650fdc0275295a0f8473e - 11.2% (18.9 MB)

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

[#006] sha256:d31d613753f9086a5e36d697c2a0362c2baee800ef3fceb5b3793307d912c1a0 - 0.0% (518 Bytes)

[#007] sha256:5df35f0a940d4cff02b361c7c4303cda6fd191e0c5b217d33de0e13703032c26 - 6.33% (10.7 MB)

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

[#009] sha256:5aa7706de65155fa89469066cbb80cc85eca8a8c9afef6b82fcce70814903282 - 6.3% (10.6 MB)

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

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

[#012] sha256:165f79a356ce7dea55cb160a98c19cdf82e051d711b7af9e5da474c5dbf0109c - 0.0% (897 Bytes)

[#013] sha256:e5921f03c4f397339d72de0d1e06f93fdb526357c917a7b8665c8edbe6d1c9ad - 1.21% (2.05 MB)

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

[#015] sha256:9286a9f663e310f4d6cd87a6e5a1beef98ac6d5042276402004caa5542000c04 - 0.37% (646 KB)

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

[#017] sha256:64a2acf6309f5f39fc98eecc163e5b57fc93533cc23c93a28d392d48d59b1e33 - 10.81% (18.2 MB)


History
2022-03-29 00:22:59 UTC

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

2022-03-29 00:23:00 UTC

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

2022-03-29 01:46:23 UTC

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

2022-03-29 01:46:26 UTC

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

2022-03-29 01:48:04 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/*

2022-03-29 01:48:10 UTC

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

2022-03-29 01:48:16 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

2022-03-29 01:54:00 UTC

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

2022-03-29 01:54:03 UTC

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

2022-03-29 01:54:49 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"

2022-03-29 01:54:55 UTC

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

2022-03-29 01:54: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

2022-03-29 01:55:01 UTC

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

2022-03-29 01:55:03 UTC

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

2022-03-29 01:55:04 UTC

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

2022-03-29 03:06:36 UTC

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

2022-04-19 03:20:29 UTC

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

2022-04-19 03:20:32 UTC

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

2022-04-19 03:20:34 UTC

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

2022-04-19 03:21:15 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

2022-04-19 03:21:17 UTC

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

2022-04-19 03:27:55 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-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 '/=>/ { 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

2022-04-19 03:27:57 UTC

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

2022-04-19 03:28:01 UTC

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

2022-04-19 03:28:03 UTC

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

2022-04-19 03:28:05 UTC

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

2022-04-19 03:28:07 UTC

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

2022-04-19 03:28:08 UTC

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

2022-04-19 03:28:09 UTC

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

2022-04-19 03:28:12 UTC

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

2022-04-19 07:40:49 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 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 '/=>/ { 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/*

2022-04-19 07:40:57 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-04-19 07:40:58 UTC

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

2022-04-19 08:09:18 UTC

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

2022-04-19 08:09:22 UTC

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

2022-04-19 08:10: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-04-19 08:10:13 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-04-21 07:50:29 UTC

Size

145 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.2.17

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

db161652cacae4b31c347fbf2e17b80656473cb365f2bb3460c4552f5647e2e7

PHP_URL

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

PHP_VERSION

8.0.18


Layers

[#000] sha256:b59fdcf2cb29d2ee4dd08aa08a467372e33525431c4caba9b01e9eb28f76425f - 16.98% (24.6 MB)

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

[#002] sha256:0d6a99619f509741e6e5a69cfdc332dfc66d5583b167cbf6d66a8980962d456b - 42.66% (61.7 MB)

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

[#004] sha256:b52f12d5d889b0e56b2dabb628a0aa2ee44ded6e6048def4cb53e483875580aa - 12.21% (17.7 MB)

[#005] sha256:7721cc5cbc12b519c3520be41203ad3c667f31552518811f37f50d5512fd485e - 0.0% (483 Bytes)

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

[#007] sha256:74424487bcadc70c90d6a01b3fe340a7781a90fc7e53ad47e7f0f010508027b4 - 7.39% (10.7 MB)

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

[#009] sha256:08faedcbd70ce7884d653bd1344c9004ea04f366e107ac945501ceba179ea91d - 6.49% (9.4 MB)

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

[#011] sha256:22c67c08bb9fa844a53cc0bde8bdc3a7e47bcfc46967d84300327d7eca63076b - 0.0% (246 Bytes)

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

[#013] sha256:21ad8f12c40e5bd16299d256ef2d7b877575957c88c2f0103ddb7363e8cd7e14 - 1.22% (1.77 MB)

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

[#015] sha256:c35d01d7b72353e93e49caa1426d179fd221ed9af517bb86b85126a5490c8a72 - 0.44% (646 KB)

[#016] sha256:957846a5d3e059e3ca3158be58f4c4072f596a02c6404bdabdb691386c66e905 - 0.0% (145 Bytes)

[#017] sha256:238de68c000474d2dad5bb5ac63cd68cf311207d3c04904c5eeff3eb15713cd1 - 12.61% (18.2 MB)


History
2022-04-20 08:40:41 UTC

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

2022-04-20 08:40:45 UTC

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

2022-04-20 16:32:09 UTC

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

2022-04-20 16:32:09 UTC

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

2022-04-20 16:32:28 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/*

2022-04-20 16:32:32 UTC

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

2022-04-20 16:32:32 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

2022-04-20 16:37:36 UTC

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

2022-04-20 16:37:37 UTC

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

2022-04-20 16:38:02 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"

2022-04-20 16:38:05 UTC

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

2022-04-20 16:38:08 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

2022-04-20 16:38:08 UTC

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

2022-04-20 16:38:09 UTC

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

2022-04-20 16:38:10 UTC

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

2022-04-20 17:08:01 UTC

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

2022-04-20 17:08:02 UTC

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

2022-04-20 17:08:03 UTC

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

2022-04-20 17:08:03 UTC

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

2022-04-20 17:08:16 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

2022-04-20 17:08:16 UTC

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

2022-04-20 17:11:07 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { 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

2022-04-20 17:11:09 UTC

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

2022-04-20 17:11:10 UTC

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

2022-04-20 17:11:11 UTC

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

2022-04-20 17:11:11 UTC

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

2022-04-20 17:11:11 UTC

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

2022-04-20 17:11:11 UTC

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

2022-04-20 17:11:12 UTC

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

2022-04-20 17:11:12 UTC

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

2022-04-21 07:36:33 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 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 '/=>/ { 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/*

2022-04-21 07:36:34 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-04-21 07:36:34 UTC

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

2022-04-21 07:50:05 UTC

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

2022-04-21 07:50:05 UTC

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

2022-04-21 07:50:24 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-04-21 07:50:29 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