Namespace
library
Image / Tag
drupal:9.1.13-php8.0-apache
Content Digest
sha256:c91f830efa0548a09ab18282b40d5fa69a61198e29f77c7bdad7e20a97fd6996
Details
Created

2021-11-17 21:35:05 UTC

Size

167 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.1.13

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

a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a

PHP_URL

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

PHP_VERSION

8.0.12


Layers

[#000] sha256:7af5c9e671306e395c50a515c7bbe33d6f418ea08535b01c884457f78114eb08 - 15.84% (26.5 MB)

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

[#002] sha256:87e33e26daba2890896f90f638f3a1f7dab95420a0c8dfef8da2463195374cf6 - 46.29% (77.5 MB)

[#003] sha256:97e3ca555574a6f3e82fe8dae75da4355127adbee66aab78541e64e0562b940f - 0.0% (270 Bytes)

[#004] sha256:ceaf56473b6e266b67178c18882188f7e58649580cf95838359496746f6acbef - 10.89% (18.2 MB)

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

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

[#007] sha256:f199d0e82c584d0cc53a776c7dfced10855ecc86b39c7bdd766fcc83d26492ec - 6.3% (10.5 MB)

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

[#009] sha256:b6492919db05a14b74379821544d401839c950e5c0e60d4c157a3ddd1748604a - 8.42% (14.1 MB)

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

[#011] sha256:7e034a118858155495011c8b78394ce76c075d6fae617ac3262dcebe5363a7bb - 0.0% (245 Bytes)

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

[#013] sha256:5759a31bc4892ee5e98c81c517155288ff49fdecb3b23219bd52efc28e4d355a - 1.18% (1.97 MB)

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

[#015] sha256:79d9ca680a170d1ee5900f1d1d94ddca719b5af512f68755ffe6d8de9056881d - 0.32% (540 KB)

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

[#017] sha256:312a3410267f1d9aa9907b218fba470b69e9ec1d81d88393616c3325e0065ced - 10.76% (18 MB)


History
2021-11-17 02:40:22 UTC

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

2021-11-17 02:40:22 UTC

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

2021-11-17 09:42:38 UTC

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

2021-11-17 09:42:38 UTC

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

2021-11-17 09:43:02 UTC

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

2021-11-17 09:43:03 UTC

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

2021-11-17 09:43:04 UTC

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

2021-11-17 09:49:17 UTC

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

2021-11-17 09:49:17 UTC

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

2021-11-17 09:49:28 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2021-11-17 09:49:29 UTC

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

2021-11-17 09:49:30 UTC

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

2021-11-17 09:49:31 UTC

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

2021-11-17 09:49:31 UTC

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

2021-11-17 09:49:31 UTC

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

2021-11-17 10:36:03 UTC

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

2021-11-17 10:36:04 UTC

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

2021-11-17 10:36:04 UTC

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

2021-11-17 10:36:04 UTC

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

2021-11-17 10:36:18 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-11-17 10:36:18 UTC

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

2021-11-17 10:41: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 --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2021-11-17 10:41:49 UTC

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

2021-11-17 10:41:50 UTC

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

2021-11-17 10:41:50 UTC

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

2021-11-17 10:41:51 UTC

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

2021-11-17 10:41:51 UTC

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

2021-11-17 10:41:51 UTC

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

2021-11-17 10:41:51 UTC

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

2021-11-17 10:41:52 UTC

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

2021-11-17 21:28:31 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { print $3 }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*

2021-11-17 21:28:32 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

2021-11-17 21:28:33 UTC

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

2021-11-17 21:34:49 UTC

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

2021-11-17 21:34:49 UTC

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

2021-11-17 21:35:03 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"

2021-11-17 21:35:05 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

2021-11-18 21:38:03 UTC

Size

162 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.1.13

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

a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a

PHP_URL

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

PHP_VERSION

8.0.12


Layers

[#000] sha256:a10c77af261312e7c92bcc184f2d1726175ff7f142e44b01c5779cd79348b9fd - 16.02% (25.9 MB)

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

[#002] sha256:157c4fc959f08a81f4d48849334db6a6f817cb55586cc31621ea1f0e24687ed1 - 45.23% (73.1 MB)

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

[#004] sha256:102b40f4a033a8567472552bfa0a2dae95df924d64e8b88cc9b692ad9e1aa98b - 11.02% (17.8 MB)

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

[#006] sha256:ccd1865688afe100cc2c3c5101fa26d3b58243471f4a9141c57a555078f6f8ab - 0.0% (512 Bytes)

[#007] sha256:4486eb5c6945627cbecfc7a5a175ef7115a56423e124c4eb658b5fa7b571ddab - 6.52% (10.5 MB)

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

[#009] sha256:85c44d51f3a55c86b25eea8ea3fffac38727a761e9db2bb39f8d15fe59552e4a - 8.55% (13.8 MB)

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

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

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

[#013] sha256:2433959a88bdbeb2a7b690b889148924e0f9a32945d0d00ba565b8a444adf1c8 - 1.19% (1.92 MB)

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

[#015] sha256:e86c4184474b5b8df888e98339e949d9b5729513fe39d66413683a8cf353e892 - 0.33% (551 KB)

[#016] sha256:166ca7ca9ae95240c812466043babf17bc66d1bd04d728871c8ca6a701a180ef - 0.0% (145 Bytes)

[#017] sha256:79e96d2b4dafeb7c89b172daf114f2af315969fbe16c04465b2e897cfb1f80cc - 11.14% (18 MB)


History
2021-11-17 02:21:02 UTC

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

2021-11-17 02:21:02 UTC

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

2021-11-17 19:12:49 UTC

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

2021-11-17 19:12:49 UTC

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

2021-11-17 19:13:08 UTC

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

2021-11-17 19:13:08 UTC

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

2021-11-17 19:13:09 UTC

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

2021-11-17 19:18:56 UTC

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

2021-11-17 19:18:56 UTC

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

2021-11-17 19:19:05 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2021-11-17 19:19:06 UTC

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

2021-11-17 19:19:07 UTC

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

2021-11-17 19:19:07 UTC

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

2021-11-17 19:19:08 UTC

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

2021-11-17 19:19:08 UTC

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

2021-11-17 20:07:10 UTC

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

2021-11-17 20:07:10 UTC

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

2021-11-17 20:07:11 UTC

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

2021-11-17 20:07:11 UTC

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

2021-11-17 20:07:40 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-11-17 20:07:40 UTC

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

2021-11-17 20:13:04 UTC

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

2021-11-17 20:13:05 UTC

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

2021-11-17 20:13:06 UTC

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

2021-11-17 20:13:06 UTC

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

2021-11-17 20:13:06 UTC

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

2021-11-17 20:13:06 UTC

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

2021-11-17 20:13:07 UTC

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

2021-11-17 20:13:07 UTC

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

2021-11-17 20:13:07 UTC

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

2021-11-18 21:32: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 libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { print $3 }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*

2021-11-18 21:32: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

2021-11-18 21:32:01 UTC

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

2021-11-18 21:37:49 UTC

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

2021-11-18 21:37:49 UTC

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

2021-11-18 21:38:01 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"

2021-11-18 21:38:03 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

2021-11-10 23:25:20 UTC

Size

138 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.1.13

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

a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a

PHP_URL

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

PHP_VERSION

8.0.12


Layers

[#000] sha256:c0b5ba470cac8cfdae4633f5cddb3ba9350fe1d1b1507c4965a8224eb40e52c5 - 15.77% (21.7 MB)

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

[#002] sha256:685aa625e922f7f0d745552021af637a31e80428c28e78d37048a357ec2f11a1 - 41.28% (56.8 MB)

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

[#004] sha256:bd20b088842d2c962684be2f874485789f0a6945ed23ee829d22e088b4a93912 - 12.12% (16.7 MB)

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

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

[#007] sha256:dd4383ce90587e739f6000d00479e63a215cc5702265d977ac3895f1319d025c - 7.66% (10.5 MB)

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

[#009] sha256:488a6847f8090a39c439c94e8f15f99580dc775055e6cc2c08984caad01b9ad7 - 8.67% (11.9 MB)

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

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

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

[#013] sha256:5c36d1cc6d0d551aeab9aa37660e86c2a80ecbca84719fb5fc099d3662178717 - 1.01% (1.38 MB)

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

[#015] sha256:7f55e73c8f9d8a1745cb688e16965cda1262350b4cf4601a31fd192f63d2d232 - 0.39% (551 KB)

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

[#017] sha256:f903075e729c33209353271851dac994f99d4f36e50ee74019320151f48f088e - 13.1% (18 MB)


History
2021-10-12 01:29:42 UTC

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

2021-10-12 01:29:43 UTC

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

2021-10-12 10:34:00 UTC

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

2021-10-12 10:34:00 UTC

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

2021-10-12 10:34: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/*

2021-10-12 10:34:47 UTC

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

2021-10-12 10:34:49 UTC

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

2021-10-12 10:40:07 UTC

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

2021-10-12 10:40:08 UTC

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

2021-10-12 10:40:29 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2021-10-12 10:40:32 UTC

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

2021-10-12 10:40:33 UTC

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

2021-10-14 19:34:01 UTC

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

2021-10-14 19:34:01 UTC

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

2021-10-14 19:34:02 UTC

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

2021-10-14 20:36:13 UTC

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

2021-10-21 17:19:01 UTC

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

2021-10-21 17:19:02 UTC

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

2021-10-21 17:19:02 UTC

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

2021-10-21 17:19:21 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-10-21 17:19:21 UTC

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

2021-10-21 17:24:03 UTC

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

2021-10-21 17:24:05 UTC

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

2021-10-21 17:24:07 UTC

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

2021-10-21 17:24:07 UTC

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

2021-10-21 17:24:08 UTC

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

2021-10-21 17:24:08 UTC

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

2021-10-21 17:24:09 UTC

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

2021-10-21 17:24:09 UTC

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

2021-10-21 17:24:10 UTC

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

2021-10-21 21:06: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 libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { print $3 }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*

2021-10-21 21:06: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

2021-11-10 23:17:14 UTC

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

2021-11-10 23:24:48 UTC

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

2021-11-10 23:24:49 UTC

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

2021-11-10 23:25:18 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"

2021-11-10 23:25:20 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

2021-11-17 17:19:28 UTC

Size

153 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.1.13

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

a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a

PHP_URL

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

PHP_VERSION

8.0.12


Layers

[#000] sha256:8ccb9871ed7bebcea8889b08e06fe5bd0116711ca7b110429b987475bf4d40e8 - 16.17% (24.7 MB)

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

[#002] sha256:5520d36706a765fe6cd772d0b0b13a24d44ce691eff8fe4cd7997a389e17c8b2 - 43.88% (67.1 MB)

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

[#004] sha256:db4c30b29e05232b6b28122bac2fbee05347fb4ba561005d73c4ccaba62bc9b5 - 11.45% (17.5 MB)

[#005] sha256:6b0d5b31fd8f30e14d2b7d2c5e8efa603b59a106bb79a076b3c6684be4c239a7 - 0.0% (430 Bytes)

[#006] sha256:0e23129f6054f619bb60c2ff30165cd8d7db503d54e8c0f9496f60498748b2b7 - 0.0% (483 Bytes)

[#007] sha256:171625d62ea2b86fc0ac17606b8d73955246306053f259f37a876adf84068731 - 6.76% (10.3 MB)

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

[#009] sha256:33df0e40d525984fbdff0705b8d1df731d54772aa8d40f626b369039ed77ea78 - 8.69% (13.3 MB)

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

[#011] sha256:743fe69305de0ff0e59c8996501186231b439c69dac2b5b281b65ab858253eae - 0.0% (246 Bytes)

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

[#013] sha256:843811299025c6670118dac438ee39d1cb47e881e815367e68ebf9a29978da0c - 0.91% (1.4 MB)

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

[#015] sha256:0147c89762aeb4668dbc342ebd9182154715be356d7bd4d71d363c7bd3647541 - 0.35% (551 KB)

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

[#017] sha256:63bbadd785394ee23e634eb889beb1f80100f81b7ee1dd887ec15203168d40e1 - 11.78% (18 MB)


History
2021-11-17 02:40:44 UTC

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

2021-11-17 02:40:44 UTC

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

2021-11-17 07:05:31 UTC

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

2021-11-17 07:05:32 UTC

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

2021-11-17 07:05:49 UTC

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

2021-11-17 07:05:50 UTC

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

2021-11-17 07:05:51 UTC

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

2021-11-17 07:11:28 UTC

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

2021-11-17 07:11:29 UTC

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

2021-11-17 07:11:38 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2021-11-17 07:11:39 UTC

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

2021-11-17 07:11:40 UTC

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

2021-11-17 07:11:41 UTC

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

2021-11-17 07:11:42 UTC

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

2021-11-17 07:11:43 UTC

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

2021-11-17 07:43:03 UTC

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

2021-11-17 07:43:03 UTC

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

2021-11-17 07:43:04 UTC

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

2021-11-17 07:43:05 UTC

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

2021-11-17 07:43:24 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-11-17 07:43:26 UTC

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

2021-11-17 07:46:25 UTC

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

2021-11-17 07:46:26 UTC

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

2021-11-17 07:46:27 UTC

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

2021-11-17 07:46:27 UTC

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

2021-11-17 07:46:28 UTC

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

2021-11-17 07:46:30 UTC

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

2021-11-17 07:46:30 UTC

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

2021-11-17 07:46:31 UTC

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

2021-11-17 07:46:32 UTC

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

2021-11-17 17:13:08 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { print $3 }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*

2021-11-17 17:13:09 UTC

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

2021-11-17 17:13:11 UTC

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

2021-11-17 17:19:00 UTC

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

2021-11-17 17:19:00 UTC

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

2021-11-17 17:19:26 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"

2021-11-17 17:19:28 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

2021-11-18 14:00:17 UTC

Size

172 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.1.13

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

a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a

PHP_URL

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

PHP_VERSION

8.0.12


Layers

[#000] sha256:459de0a111d5c931674a5150ef4ae6bb1ffb1685380f4aafdba04a37d556c5de - 16.95% (29.1 MB)

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

[#002] sha256:71f91d0deefc2a574ca16b9ffcab734dd5cc41275363d2d03e4c1c07f940bd22 - 45.64% (78.5 MB)

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

[#004] sha256:ff6ae13d284013580bc7e715cca24e0ff6c48eb1f18166f878fd131e73997147 - 10.99% (18.9 MB)

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

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

[#007] sha256:1ce93b8d24b0b32942db327b1e7f3e6194f973ba14c2097ca20c360d644b4d64 - 6.13% (10.5 MB)

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

[#009] sha256:12a5e4f61bed6889ff58c8222263db0d8500bada49c026df8d1508efdf04cd54 - 8.43% (14.5 MB)

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

[#011] sha256:432184c7a62bf2ebb25a7f7faeb1f240fcc27f3b1758a2165595e152d5409d17 - 0.0% (246 Bytes)

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

[#013] sha256:b9df3f73ac9d639b0b3e24540a8683b5eed7162c7ab94d10793791b6834700b1 - 1.07% (1.83 MB)

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

[#015] sha256:d2fefd7ad62400d2a562135686f9c2ca77b4b3d871068c90bc101cd6f5ace3c9 - 0.31% (551 KB)

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

[#017] sha256:242f6f5b74663521bf59066113d4b17e9f5f33b9d7d0c15350ec4e81d9d9eba0 - 10.47% (18 MB)


History
2021-11-17 03:30:22 UTC

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

2021-11-17 03:30:29 UTC

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

2021-11-18 02:03:43 UTC

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

2021-11-18 02:03:51 UTC

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

2021-11-18 02:06:06 UTC

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

2021-11-18 02:06:13 UTC

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

2021-11-18 02:06: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

2021-11-18 02:13:16 UTC

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

2021-11-18 02:13:18 UTC

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

2021-11-18 02:14:29 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2021-11-18 02:14:36 UTC

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

2021-11-18 02:14:43 UTC

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

2021-11-18 02:14:48 UTC

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

2021-11-18 02:14:56 UTC

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

2021-11-18 02:15:05 UTC

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

2021-11-18 03:00:40 UTC

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

2021-11-18 03:00:44 UTC

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

2021-11-18 03:00:46 UTC

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

2021-11-18 03:00:48 UTC

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

2021-11-18 03:01:32 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-11-18 03:01:34 UTC

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

2021-11-18 03:06:30 UTC

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

2021-11-18 03:06:33 UTC

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

2021-11-18 03:06:40 UTC

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

2021-11-18 03:06:42 UTC

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

2021-11-18 03:06:44 UTC

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

2021-11-18 03:06:45 UTC

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

2021-11-18 03:06:46 UTC

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

2021-11-18 03:06:48 UTC

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

2021-11-18 03:06:50 UTC

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

2021-11-18 13:51:35 UTC

/bin/sh -c set -eux; if command -v a2enmod; then a2enmod rewrite; fi; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { print $3 }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*

2021-11-18 13:51:41 UTC

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

2021-11-18 13:51:43 UTC

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

2021-11-18 13:59:44 UTC

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

2021-11-18 13:59:46 UTC

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

2021-11-18 14:00:11 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"

2021-11-18 14:00:17 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

2021-11-17 19:34:53 UTC

Size

147 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

DRUPAL_VERSION

9.1.13

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

a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a

PHP_URL

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

PHP_VERSION

8.0.12


Layers

[#000] sha256:b8b917e61b3be882db10e68210f73caf5cc788bfb07aec0a659e30f4796b476b - 16.67% (24.6 MB)

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

[#002] sha256:175549b8c0dc346a7a2174719227f32bae59e88671b21e3a20df8a3c9028ec51 - 41.87% (61.7 MB)

[#003] sha256:9b75fa427c6666baa6dc5a2ba0f5d9619ea36632afdd1305a5e81b8aeeb9c6e5 - 0.0% (268 Bytes)

[#004] sha256:47ed556a1a0ad11beac7c9384515a3ad3842216b03a3d8b7e4c00e529f53fd72 - 11.99% (17.7 MB)

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

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

[#007] sha256:4647a01a550efa5c7292fd2003aaf917099278b49ef38a31309afe8355e92a64 - 7.15% (10.5 MB)

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

[#009] sha256:eb78a6d50331b62dae300a45b995176dc5af43b9548e9e4209704a49dec90ad8 - 8.65% (12.7 MB)

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

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

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

[#013] sha256:3fe2a808f0f402533fa2e3bad73fa448106a153b9aaac8d24755d3daed6eba90 - 1.08% (1.59 MB)

[#014] sha256:824f2143b61216b8e75126acbe09653c89389c11eb898978a7726c0a991955b1 - 0.0% (325 Bytes)

[#015] sha256:a84a1a8b682d3b86948dd78161fb67da41fc0eda0a6d9925e48b60d0120fdb92 - 0.37% (551 KB)

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

[#017] sha256:c9444cadcef19e6911be7cd2721b20a4288a10daf15a9a9e465d769468a364a9 - 12.22% (18 MB)


History
2021-11-17 02:42:59 UTC

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

2021-11-17 02:43:00 UTC

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

2021-11-17 05:20:15 UTC

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

2021-11-17 05:20:15 UTC

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

2021-11-17 05:20:29 UTC

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

2021-11-17 05:20:32 UTC

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

2021-11-17 05:20: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

2021-11-17 05:23:05 UTC

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

2021-11-17 05:23:05 UTC

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

2021-11-17 05:23: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"

2021-11-17 05:23:14 UTC

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

2021-11-17 05:23: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

2021-11-17 05:23:15 UTC

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

2021-11-17 05:23:15 UTC

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

2021-11-17 05:23:15 UTC

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

2021-11-17 05:42:31 UTC

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

2021-11-17 05:42:31 UTC

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

2021-11-17 05:42:31 UTC

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

2021-11-17 05:42:31 UTC

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

2021-11-17 05:42:41 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-11-17 05:42:41 UTC

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

2021-11-17 05:44:35 UTC

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

2021-11-17 05:44:36 UTC

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

2021-11-17 05:44:37 UTC

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

2021-11-17 05:44:37 UTC

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

2021-11-17 05:44:37 UTC

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

2021-11-17 05:44:37 UTC

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

2021-11-17 05:44:38 UTC

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

2021-11-17 05:44:38 UTC

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

2021-11-17 05:44:38 UTC

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

2021-11-17 19:30: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 libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { print $3 }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*

2021-11-17 19:30:07 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

2021-11-17 19:30:07 UTC

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

2021-11-17 19:34:33 UTC

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

2021-11-17 19:34:33 UTC

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

2021-11-17 19:34: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"

2021-11-17 19:34:53 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