Namespace
library
Image / Tag
drupal:9.3.6-php8.0-apache-buster
Content Digest
sha256:257ee485c587ee95a0433af2d9f314c64c8555c99f864c6679dee5f117ba6bb1
Details
Created

2022-03-03 01:38:06 UTC

Size

165 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.6

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.16.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16


Layers

[#000] sha256:c761ce6f2bf0aed07e1198c6f827444969d6e76dda0e55dbb45900920e551d27 - 16.04% (26.5 MB)

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

[#002] sha256:3c858978934e4ad1cb5c3a373aae3e9709353e928e1347b48c2c60ac035f8ee5 - 46.87% (77.5 MB)

[#003] sha256:15397aa73308994ae5416b0dda851652beacba723bc6a402ba001bca543da166 - 0.0% (268 Bytes)

[#004] sha256:6595fec51259306bbec13866a1c8832392c69e8d0523ea866b993add64f53e1f - 11.03% (18.2 MB)

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

[#006] sha256:7e39a4c79c334f5bf94b0a35cdd6ec0cc105f86a693b901d811732dc520e9a37 - 0.0% (516 Bytes)

[#007] sha256:2906faaab266d449f484a95f0410d54397e8281320ca9c50458346f75a34cb64 - 6.46% (10.7 MB)

[#008] sha256:608d1db59596cafedbade04cff7752249e2e2c8f2403fd0c8dc8d86a26f022ee - 0.0% (490 Bytes)

[#009] sha256:0b9467af51d881ce7cbaf9d340971dc8f3ae4081a768c96f20b15eb72efb7625 - 6.31% (10.4 MB)

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

[#011] sha256:26ecf7b2555d1a9d81070c4785786716e012642535d4d8513944b81aaa6a6fdc - 0.0% (245 Bytes)

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

[#013] sha256:9782b0a4f3e3ee07d6e5035eb726a96d7065a8e3f10ea227d3eeac80c3b8e431 - 1.33% (2.21 MB)

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

[#015] sha256:963c1300d8951fce56f5200dd90777692edac8ddf5582c413e2281092a2980e7 - 0.33% (562 KB)

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

[#017] sha256:23c1a162178872fe98b8bb50aea55d55f7054fca78fc06cba268f6014b0fe705 - 11.62% (19.2 MB)


History
2022-03-01 02:08:04 UTC

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

2022-03-01 02:08:04 UTC

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

2022-03-01 15:47:22 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-01 15:47:22 UTC

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

2022-03-01 15:47:57 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-01 15:47:58 UTC

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

2022-03-01 15:47:59 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-01 15:57:30 UTC

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

2022-03-01 15:57:31 UTC

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

2022-03-01 15:57:43 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; 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-01 15:57:45 UTC

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

2022-03-01 15:57:46 UTC

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

2022-03-01 15:57:46 UTC

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

2022-03-01 15:57:46 UTC

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

2022-03-01 15:57:47 UTC

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

2022-03-01 17:08:50 UTC

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

2022-03-01 17:08:50 UTC

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

2022-03-01 17:08:51 UTC

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

2022-03-01 17:08:51 UTC

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

2022-03-01 17:09:59 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-03-01 17:09:59 UTC

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

2022-03-02 21:25:49 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 --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-03-02 21:25:50 UTC

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

2022-03-02 21:25:50 UTC

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

2022-03-02 21:25:51 UTC

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

2022-03-02 21:25:51 UTC

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

2022-03-02 21:25:51 UTC

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

2022-03-02 21:25:51 UTC

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

2022-03-02 21:25:51 UTC

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

2022-03-02 21:25:51 UTC

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

2022-03-03 01:31:10 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-03-03 01:31:11 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-03-03 01:31:11 UTC

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

2022-03-03 01:37:53 UTC

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

2022-03-03 01:37:53 UTC

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

2022-03-03 01:38:04 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-03-03 01:38:06 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-03-03 13:37:53 UTC

Size

160 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.6

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.16.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16


Layers

[#000] sha256:15115158dd02a1bf2fd28724e3c1024394033fb0e9a5d3e451ed2715b6ae312d - 16.22% (25.9 MB)

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

[#002] sha256:e126f6ddd1fc272906f55b52bbb2dc87f83ca764af5bfd36bbe45398ec7e20b4 - 45.81% (73.1 MB)

[#003] sha256:79d3be01dcb2ff53840047b141a554ef76c77c0cc682e97165f4b71d439eecd2 - 0.0% (270 Bytes)

[#004] sha256:01f5a8e0a5e39d7e6b58f839153222e2c1229cb366ec7005e4fa2150fdd11b66 - 11.16% (17.8 MB)

[#005] sha256:4eb036b4c7979a00895fc6630250e4ae5c75c3cef4c8a337028733a3d4e9d5ac - 0.0% (471 Bytes)

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

[#007] sha256:0aed67b69c376ec8bde34dd9e072a1e7e6232a9ebff5acbaafb21b5c7c75dc82 - 6.69% (10.7 MB)

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

[#009] sha256:f297c387fe9a066b06837f1cae05a4b06465b0286acbafdd9f700443c22ce32c - 6.4% (10.2 MB)

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

[#011] sha256:0f3426e431cd8d613275b49ded2c176b5f192074289b8c528a71c525ff7ede49 - 0.0% (246 Bytes)

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

[#013] sha256:f6303ae84405d830a270bf31464cf2ff6042a0b159d6ea7c249ee2755d8ab63f - 1.34% (2.14 MB)

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

[#015] sha256:721fcc6943bc0e374562bbe47ee9af66891ae1099cbec0f7ed57add9916beed6 - 0.34% (562 KB)

[#016] sha256:6dda1b6a473a79019f558e9844eaaf968b51de1c88e16d67b0dc489bd30d986b - 0.0% (148 Bytes)

[#017] sha256:7d1c488e78618b41f17bae1bc3133f996e1df9676030cd12f6f55658224ddcab - 12.03% (19.2 MB)


History
2022-03-01 02:13:56 UTC

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

2022-03-01 02:13:56 UTC

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

2022-03-01 19:37:41 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-01 19:37:42 UTC

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

2022-03-01 19:37:58 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-01 19:37:59 UTC

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

2022-03-01 19:37:59 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-01 19:44:49 UTC

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

2022-03-01 19:44:49 UTC

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

2022-03-01 19:44:57 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-01 19:44:58 UTC

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

2022-03-01 19:44:58 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-01 19:44:59 UTC

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

2022-03-01 19:44:59 UTC

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

2022-03-01 19:44:59 UTC

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

2022-03-01 20:36:07 UTC

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

2022-03-01 20:36:07 UTC

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

2022-03-01 20:36:07 UTC

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

2022-03-01 20:36:08 UTC

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

2022-03-01 20:37: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-03-01 20:37:16 UTC

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

2022-03-03 09:07: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-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-03-03 09:07:53 UTC

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

2022-03-03 09:07:54 UTC

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

2022-03-03 09:07:54 UTC

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

2022-03-03 09:07:55 UTC

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

2022-03-03 09:07:55 UTC

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

2022-03-03 09:07:55 UTC

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

2022-03-03 09:07:55 UTC

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

2022-03-03 09:07:55 UTC

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

2022-03-03 13:32:01 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-03-03 13:32:02 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-03-03 13:32:02 UTC

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

2022-03-03 13:37:40 UTC

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

2022-03-03 13:37:40 UTC

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

2022-03-03 13:37:50 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-03-03 13:37:53 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-03-03 18:10:33 UTC

Size

136 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.6

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.16.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16


Layers

[#000] sha256:1acfd43b1a25aefe6117ba65bf2b46a19e3cf8e72b76f522a9fe299412e1c5f2 - 15.96% (21.7 MB)

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

[#002] sha256:8d3c2837a47e874246ad0d49971bc781b8b80cd87a070d3a35a4fcd3d68dbbd7 - 41.75% (56.8 MB)

[#003] sha256:4a799d53e4b5b1d80e81a6c90fa52c161d0c333a7bcdbfdcebda8791a8c95511 - 0.0% (268 Bytes)

[#004] sha256:c8365775f115a862def0d8bd17e7317413f4d5169cbaf57329864bc72be6bc57 - 12.26% (16.7 MB)

[#005] sha256:974dbe11ca8100f600672dd3719acaf370f42c88cf3c037d54b524aa224d0fbb - 0.0% (479 Bytes)

[#006] sha256:2216688894b18574a175cc7301e08182bc309630a124f731fd290a64c3f28e30 - 0.0% (516 Bytes)

[#007] sha256:b0316810d8aea3e5f02e3cee327a69fa0108ed86b3ef5a3fb5e6800bb3da39a6 - 7.86% (10.7 MB)

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

[#009] sha256:bfccb0e82bb92f87c731d6c84e678c1ea488bedde736179793ff87e6808ba044 - 6.49% (8.82 MB)

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

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

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

[#013] sha256:fd07c84236671015cdfc49724ef60de5e400fd1c40da4cd44fc9b60804c039ef - 1.14% (1.56 MB)

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

[#015] sha256:949891c73411502ed31f5df24983611e7ca89716709070937a0b827b686bb2a2 - 0.4% (562 KB)

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

[#017] sha256:443db974761e8e6879ca24d52c66709614cb9e41921e530af0645b524ab8139c - 14.12% (19.2 MB)


History
2022-03-01 02:04:06 UTC

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

2022-03-01 02:04:07 UTC

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

2022-03-01 23:11:33 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-01 23:11:34 UTC

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

2022-03-01 23:12:17 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*

2022-03-01 23:12:18 UTC

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

2022-03-01 23:12:19 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-01 23:17:57 UTC

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

2022-03-01 23:17:57 UTC

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

2022-03-01 23:18:18 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-01 23:18:19 UTC

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

2022-03-01 23:18:21 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-01 23:18:21 UTC

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

2022-03-01 23:18:22 UTC

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

2022-03-01 23:18:22 UTC

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

2022-03-02 00:00:13 UTC

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

2022-03-02 00:00:13 UTC

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

2022-03-02 00:00:14 UTC

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

2022-03-02 00:00:14 UTC

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

2022-03-02 00:00:50 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-03-02 00:00:50 UTC

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

2022-03-03 13:13: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-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-03-03 13:13:49 UTC

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

2022-03-03 13:13:50 UTC

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

2022-03-03 13:13:51 UTC

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

2022-03-03 13:13:51 UTC

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

2022-03-03 13:13:52 UTC

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

2022-03-03 13:13:52 UTC

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

2022-03-03 13:13:53 UTC

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

2022-03-03 13:13:53 UTC

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

2022-03-03 17:59:39 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-03-03 17:59:40 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-03-03 17:59:41 UTC

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

2022-03-03 18:10:02 UTC

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

2022-03-03 18:10:02 UTC

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

2022-03-03 18:10:31 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-03-03 18:10:33 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-03-03 02:50:22 UTC

Size

151 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.6

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.16.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16


Layers

[#000] sha256:69bf0018a85cc0775a59a4dbda1b2f2e71086a2d817473f72336bf4d0a83b9d0 - 16.38% (24.7 MB)

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

[#002] sha256:bb4dda3b537c15a4f0063ce7ee30d2f3e99efcb6461d538fad765d053a78147f - 44.47% (67.1 MB)

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

[#004] sha256:645561bc39249c705aaf564e5abd6720856e4102af22615803ca3927552edb79 - 11.61% (17.5 MB)

[#005] sha256:1d5f6ae8015ae36a8e4d74be1f8f87b3601881b8e78a5cb77643178fc7206a64 - 0.0% (429 Bytes)

[#006] sha256:83620950bb5ecfbd875aeca9d9159b092bdcf88bf0ac491496b3e01b31eb862a - 0.0% (484 Bytes)

[#007] sha256:8a9bb1d9235112ed2a08f75400e7836aaf514bdd4dff4becd1fcb779a45ae77c - 6.94% (10.5 MB)

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

[#009] sha256:a3b3b6f3c2a86164dc653d43fdf8ae4b02a9e67c1c73167c6f96ba41806be5e8 - 6.44% (9.72 MB)

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

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

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

[#013] sha256:674b291e39dae38d09e14dd2d315ddfe4f42e9e2ee8e23bf8babf9b2a1d5ef17 - 1.06% (1.61 MB)

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

[#015] sha256:97f70cba46e34e520e52f5bfde7cecd0d1ca4b2b128187fe626023d28b4eb074 - 0.36% (562 KB)

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

[#017] sha256:7ee5136ec7c5a9c3fca09e6ee1e9b733e58a512ad95353d657b53cee4b48f8c7 - 12.72% (19.2 MB)


History
2022-03-01 02:11:57 UTC

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

2022-03-01 02:11:57 UTC

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

2022-03-01 16:41:55 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-01 16:41:56 UTC

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

2022-03-01 16:42:12 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-01 16:42:12 UTC

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

2022-03-01 16:42:13 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-01 16:48:08 UTC

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

2022-03-01 16:48:09 UTC

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

2022-03-01 16:48:17 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; 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-01 16:48:18 UTC

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

2022-03-01 16:48:19 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-01 16:48:20 UTC

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

2022-03-01 16:48:21 UTC

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

2022-03-01 16:48:22 UTC

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

2022-03-01 17:18:34 UTC

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

2022-03-01 17:18:34 UTC

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

2022-03-01 17:18:35 UTC

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

2022-03-01 17:18:36 UTC

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

2022-03-01 17:19:25 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-03-01 17:19:27 UTC

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

2022-03-02 21:30: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 --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-03-02 21:30:09 UTC

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

2022-03-02 21:30:10 UTC

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

2022-03-02 21:30:10 UTC

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

2022-03-02 21:30:11 UTC

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

2022-03-02 21:30:13 UTC

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

2022-03-02 21:30:13 UTC

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

2022-03-02 21:30:14 UTC

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

2022-03-02 21:30:15 UTC

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

2022-03-03 02:44: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-03-03 02:44: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-03-03 02:44:03 UTC

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

2022-03-03 02:49:52 UTC

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

2022-03-03 02:49:53 UTC

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

2022-03-03 02:50:20 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-03-03 02:50:22 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-03-03 05:41:21 UTC

Size

170 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.6

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.16.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16


Layers

[#000] sha256:3cee81bb9485c9d0b620c87842e566d7a1f93086ef88c00a4d7175fc776b7f3f - 17.19% (29.1 MB)

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

[#002] sha256:a4b433eb8ed01760479b9fe8c020598e6f51b2bfa766b60ef5b70c04c79b1505 - 46.28% (78.5 MB)

[#003] sha256:5d8a110a95bdc94e2027f47a128712d8a24e8709cac0adb3e1b27e3ff5d3c3b8 - 0.0% (270 Bytes)

[#004] sha256:b57d8327bdb1e4eacfb11eadd29f48cba452542eddf6e56dcc9ed10e728e0204 - 11.15% (18.9 MB)

[#005] sha256:b6e07faa1cfc36da5d968207e068fa92b74427472cbc94c1493263ebddae1405 - 0.0% (478 Bytes)

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

[#007] sha256:0541760bd0124b9b0dcfd9f6c060cadde52ef0e5b58333ca086f1affa56775a1 - 6.3% (10.7 MB)

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

[#009] sha256:f4f300c8ad7883828656b35782ca667d6d96a7d6cd106141b20904cc58594c37 - 6.24% (10.6 MB)

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

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

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

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

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

[#015] sha256:14aef4e05c7bc33cb85bbfa36ba2076a98e3fe8224effe213b9f0701b5416e49 - 0.32% (562 KB)

[#016] sha256:2f30f5cb780deb329d2f60d108a37c74a71debeed921fdb3197c3a3e79860488 - 0.0% (146 Bytes)

[#017] sha256:f9f816ff4a94c21a251e6df02694a1ed31cbbacdbadc9de8108465162d1b8e88 - 11.32% (19.2 MB)


History
2022-03-01 02:06:09 UTC

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

2022-03-01 02:06:14 UTC

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

2022-03-02 20:22:52 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-02 20:22:54 UTC

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

2022-03-02 20:25:21 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-02 20:25:27 UTC

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

2022-03-02 20:25:37 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-02 20:33:29 UTC

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

2022-03-02 20:33:31 UTC

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

2022-03-02 20:34:33 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-02 20:34:42 UTC

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

2022-03-02 20:34:49 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-02 20:34:52 UTC

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

2022-03-02 20:34:55 UTC

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

2022-03-02 20:34:57 UTC

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

2022-03-02 21:58:23 UTC

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

2022-03-02 21:58:32 UTC

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

2022-03-02 21:58:39 UTC

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

2022-03-02 21:58:51 UTC

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

2022-03-02 22:02:01 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-03-02 22:02:03 UTC

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

2022-03-02 22:08:22 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 --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-03-02 22:08:26 UTC

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

2022-03-02 22:08:38 UTC

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

2022-03-02 22:08:44 UTC

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

2022-03-02 22:08:57 UTC

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

2022-03-02 22:09:01 UTC

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

2022-03-02 22:09:08 UTC

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

2022-03-02 22:09:14 UTC

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

2022-03-02 22:09:24 UTC

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

2022-03-03 05:26:07 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-03-03 05:26:21 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-03-03 05:26:24 UTC

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

2022-03-03 05:40:10 UTC

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

2022-03-03 05:40:15 UTC

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

2022-03-03 05:41:09 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-03-03 05:41:21 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-03-03 00:46:06 UTC

Size

146 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.3.6

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.16.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16


Layers

[#000] sha256:cb73b674076b2da947cefa0692c1d193bda8bfd443c178f9bb39bbae7656ead8 - 16.88% (24.6 MB)

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

[#002] sha256:fd9af384474f8d5a819137e0e87894058b7e014fc85c61546b749e00bc496628 - 42.4% (61.7 MB)

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

[#004] sha256:a4a1a8da8b9d18693eef1d3fc9682e3cb76a7773b5b7e7fdba2a0f629d19b3a2 - 12.14% (17.7 MB)

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

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

[#007] sha256:f503a0b3a1297eef9dbeb4aa01b5c5e6278459322ffdae8180718deaf2a076cf - 7.34% (10.7 MB)

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

[#009] sha256:754808347a3a7c17c598797af3e14cef5b27747c7071697e81a1cb8b33e1f221 - 6.45% (9.4 MB)

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

[#011] sha256:598a8af7f3870c94d91c23c66699424f12738c3d2128c6550ebcd7baca88949b - 0.0% (243 Bytes)

[#012] sha256:92f302e8f61ca21c75e3ec0a6dfd487eee6f4105b4706acf24a3c53142dfe8eb - 0.0% (891 Bytes)

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

[#014] sha256:6f28e69e1aaa730b294901ba4d2b10317c15937a8398e6ea4b0c9ece29f75f2c - 0.0% (324 Bytes)

[#015] sha256:ec907a1a5048c3107972eb151cc84bb3ae7e55ea77820917fbaf2986fd8d43c7 - 0.38% (562 KB)

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

[#017] sha256:a331c40de9a9780db87f6018a8436e3219256bda69c575e1a8decc721ef879bf - 13.19% (19.2 MB)


History
2022-03-01 02:02:27 UTC

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

2022-03-01 02:02:28 UTC

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

2022-03-01 13:46:31 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-01 13:46:31 UTC

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

2022-03-01 13:46:45 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-01 13:46:47 UTC

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

2022-03-01 13:46:48 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-01 13:50:52 UTC

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

2022-03-01 13:50:52 UTC

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

2022-03-01 13:51: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"

2022-03-01 13:51:02 UTC

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

2022-03-01 13:51: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

2022-03-01 13:51:03 UTC

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

2022-03-01 13:51: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-01 13:51:03 UTC

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

2022-03-01 14:14:23 UTC

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

2022-03-01 14:14:23 UTC

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

2022-03-01 14:14:23 UTC

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

2022-03-01 14:14:23 UTC

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

2022-03-01 14:15:22 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-03-01 14:15:23 UTC

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

2022-03-02 20:27:10 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 --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-03-02 20:27:11 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-02 20:27:12 UTC

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

2022-03-03 00:41:07 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-03-03 00:41: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-03-03 00:41:08 UTC

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

2022-03-03 00:45:43 UTC

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

2022-03-03 00:45:43 UTC

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

2022-03-03 00:46:02 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-03-03 00:46:06 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