$ docker pull drupal@sha256:e5a3b45d0c90c5f607ab9edc6f643d2df92ec4fdd6826151c2e1620cc111501b
Manifest MIME: application/vnd.oci.image.index.v1+json
Platforms: 12
linux; amd64
unknown; unknown
linux; arm variant v7
unknown; unknown
linux; arm64 variant v8
unknown; unknown
linux; 386
unknown; unknown
linux; ppc64le
unknown; unknown
linux; s390x
unknown; unknown
drupal:10.3-apache
- linux; amd64
$ docker pull drupal@sha256:c35e27ff87626c2b1137a37e3f0e91da2cdc45d7899a45f6268dd56c4119d69e
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 200.3 MB (200288216 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:9e24728f93d6a32d9e878189f9b204d2ae24ac6f46963469fbafaa57618fbff8
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 21:54:41 GMT
RUN # debian.sh --arch 'amd64' out/ 'bookworm' '@1745798400'
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d" ; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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 }\n export \1 /' "$APACHE_ENVVARS" ; . "$APACHE_ENVVARS" ; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir" ; mkdir -p "$dir" ; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir" ; chmod 1777 "$dir" ; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log" ; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN { echo '<FilesMatch \. php$>' ; echo '\t SetHandler application/x-httpd-php' ; echo '</FilesMatch>' ; echo; echo 'DirectoryIndex disabled' ; echo 'DirectoryIndex index.php index.html' ; echo; echo '<Directory /var/www/>' ; echo '\t Options -Indexes' ; echo '\t AllowOverride All' ; echo '</Directory>' ; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMT
ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL" ; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL" ; export GNUPGHOME="$(mktemp -d)" ; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" ; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 21:54:41 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 21:54:41 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMT
CMD ["apache2-foreground" ]
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get(" extension_dir");')" /*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n ", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
RUN { echo 'opcache.memory_consumption=128' ; echo 'opcache.interned_strings_buffer=8' ; echo 'opcache.max_accelerated_files=4000' ; echo 'opcache.revalidate_freq=60' ; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMT
WORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; export COMPOSER_HOME="$(mktemp -d)" ; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:254e724d77862dc53abbd3bf0e27f9d2f64293909cdd3d0aad6a8fe5a6680659
Last Modified: Mon, 28 Apr 2025 21:08:01 GMT
Size: 28.2 MB (28227642 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:45d789cd9c8451a765135948c716260205dcb162d38818203f41af2143b6d17f
Last Modified: Mon, 28 Apr 2025 21:54:28 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1d3659077708e54d1b5f70b031e8095c72e3ee81bdda16c103811d24b991b803
Last Modified: Mon, 28 Apr 2025 21:54:30 GMT
Size: 104.3 MB (104325304 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b98ca3230ca2b3d3fc702c8668ba6ec5180696b7847ae5cddb7b99ec47a5df50
Last Modified: Mon, 28 Apr 2025 21:54:29 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a2de5d8c515699c9760985d92ad7e071c4591332b0b2bd3c0432192e80521554
Last Modified: Mon, 28 Apr 2025 21:54:29 GMT
Size: 20.1 MB (20123821 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ff5d5a2cec550651bc6c3e3ac7f6ad0b5036f21b0f65932c8ad56d8cf3235a63
Last Modified: Mon, 28 Apr 2025 21:54:29 GMT
Size: 428.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:41763122faa0bc5ab13d5b12b1b160f50426e6cb8624c06a1898244c9ed101ec
Last Modified: Mon, 28 Apr 2025 21:54:29 GMT
Size: 483.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:727efbdd22607ddd74f4964b3cb6551fb3506cdaa11c3c753b5c7bf078555148
Last Modified: Mon, 28 Apr 2025 21:54:30 GMT
Size: 12.3 MB (12276300 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9684ac5f3e3b0548fa3ae2227c9a0c25b6828f0b19ebadb16d52e3627cb3c904
Last Modified: Mon, 28 Apr 2025 21:54:30 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9e624203aed6a54ecf23f22503964c223d682594cc56e5a93af38a4155fe0025
Last Modified: Mon, 28 Apr 2025 21:54:30 GMT
Size: 11.4 MB (11422350 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a6f9d43f5dbf7cf8e6229e60dea369c904c89db8745261796298b61335e60be5
Last Modified: Mon, 28 Apr 2025 21:54:31 GMT
Size: 2.5 KB (2454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cbe5f891bcf0d100edbe9f2cd88ac7fbc2c001c36c0e804e4b5e34c52abee3dc
Last Modified: Mon, 28 Apr 2025 21:54:31 GMT
Size: 243.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d3ce6e7971450271619017d6a3240f83b7a2057327cd5f1820717bece34e4efa
Last Modified: Mon, 28 Apr 2025 21:54:32 GMT
Size: 889.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:25e837680f3e3b6037d97de6a2f4eb40637acf9cf4ad656df3af4aede5532442
Last Modified: Mon, 28 Apr 2025 22:18:32 GMT
Size: 2.0 MB (1997334 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0ae152f6c5180270e2fe7cdb36fb2a5d82019cd237c71bfc6d80b20b79a3359a
Last Modified: Mon, 28 Apr 2025 22:18:32 GMT
Size: 307.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:940d85c931b92f08e40affbf94743bdd50bdd18afe0e8188bfca4e1151b59aef
Last Modified: Mon, 28 Apr 2025 22:18:32 GMT
Size: 750.6 KB (750625 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a5a346b882a30356f61d7b81c6a67ad736ad7fb97b4c0dc549994a2689932025
Last Modified: Mon, 28 Apr 2025 22:18:32 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8f0247ecce3cf0cc4e89e658b35517b30e651bc9252fbf42143bf35f500018af
Last Modified: Mon, 28 Apr 2025 22:18:33 GMT
Size: 21.2 MB (21158950 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10.3-apache
- unknown; unknown
$ docker pull drupal@sha256:e1ab9da13906f76561fe753aef38347687697064298ea436474a2c152c6e084f
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6892004 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:e0476883130e9241bdbed22643c67ae8aa5743efce20cb0f9b83c5f834ef678f
Layers:
sha256:4946acc461e8d30f4635c6ee9c8dd95946e361709760a6b0012510a8fe6f4c80
Last Modified: Mon, 28 Apr 2025 22:18:32 GMT
Size: 6.9 MB (6852823 bytes)
MIME: application/vnd.in-toto+json
sha256:0ac93f189eff023b66fb7b1cdfb5fa2ceb2ddf1a0f66f9e3a8389e40df668367
Last Modified: Mon, 28 Apr 2025 22:18:31 GMT
Size: 39.2 KB (39181 bytes)
MIME: application/vnd.in-toto+json
drupal:10.3-apache
- linux; arm variant v7
$ docker pull drupal@sha256:cec6568e076036d3a4310dd13ac0d2fc72b80e08a5c0d6cbbbb0bf14cd4e1e40
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 164.3 MB (164336806 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:7070f239ee231591f2b29f9efba486b8642e688b3d03a9f783d19213833268b6
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 21:54:41 GMT
RUN # debian.sh --arch 'armhf' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d" ; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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 }\n export \1 /' "$APACHE_ENVVARS" ; . "$APACHE_ENVVARS" ; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir" ; mkdir -p "$dir" ; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir" ; chmod 1777 "$dir" ; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log" ; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN { echo '<FilesMatch \. php$>' ; echo '\t SetHandler application/x-httpd-php' ; echo '</FilesMatch>' ; echo; echo 'DirectoryIndex disabled' ; echo 'DirectoryIndex index.php index.html' ; echo; echo '<Directory /var/www/>' ; echo '\t Options -Indexes' ; echo '\t AllowOverride All' ; echo '</Directory>' ; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMT
ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL" ; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL" ; export GNUPGHOME="$(mktemp -d)" ; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" ; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 21:54:41 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 21:54:41 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMT
CMD ["apache2-foreground" ]
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get(" extension_dir");')" /*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n ", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
RUN { echo 'opcache.memory_consumption=128' ; echo 'opcache.interned_strings_buffer=8' ; echo 'opcache.max_accelerated_files=4000' ; echo 'opcache.revalidate_freq=60' ; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMT
WORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; export COMPOSER_HOME="$(mktemp -d)" ; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:addc1be20d0979aa781d79a726ebf749adbc030186e63a44319274194e89cfa3
Last Modified: Tue, 08 Apr 2025 00:23:15 GMT
Size: 23.9 MB (23937867 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a7d4b097a6bd1e1c6005148baf6fe5c3fc8f71c3806b0533176b9e71d30fae09
Last Modified: Tue, 08 Apr 2025 02:06:12 GMT
Size: 224.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e2b59a7abdeed6ca1e9edaa9c4d716d1e51f3acd76ac9b8a9593379251477a15
Last Modified: Tue, 08 Apr 2025 02:06:14 GMT
Size: 76.2 MB (76162685 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:911e77faae9141f2a82370cde20bb002409354ce3554b28663322cebbfd4d775
Last Modified: Tue, 08 Apr 2025 02:06:12 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e979a46700c4cc8c523fd97c1920eda2a65475e59e5b50da04ec094381646cc4
Last Modified: Tue, 08 Apr 2025 02:10:09 GMT
Size: 18.9 MB (18857333 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6b785355f97ba083df35cb14c0fd6f4ca577253c72f4946c98e2965daf3ec4b6
Last Modified: Tue, 08 Apr 2025 02:10:08 GMT
Size: 433.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6315b72a13f74b37348b5dc00938e06103a423aa74a44181c5cfb4d60cd94140
Last Modified: Tue, 08 Apr 2025 02:10:08 GMT
Size: 486.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fbcaeccdea30adc46cc985bb5f02cdd08bde77a9495ffdc08fe1658be1d8d668
Last Modified: Tue, 08 Apr 2025 04:02:59 GMT
Size: 12.3 MB (12274424 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f134050e65b60fb1a31a1cf81b68aeeb50ba688dabab1ea0027114376222f3b8
Last Modified: Tue, 08 Apr 2025 04:02:58 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b0ab47df16abc27aaac162e253eb1c51491fbeffe1d808fb30fb2bdd051848c8
Last Modified: Tue, 08 Apr 2025 04:02:59 GMT
Size: 9.8 MB (9835022 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:307213bc3ede7b195b260bc49fab4d3fd6dd3a0d70d18a916e69739cce6e0e59
Last Modified: Tue, 08 Apr 2025 04:02:58 GMT
Size: 2.5 KB (2454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6d9e671314e09ea402c3ee8e0b6cc679e3b612a40a15b25314ce5205eb003851
Last Modified: Tue, 08 Apr 2025 04:02:59 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:22d2d1ac1889dc8fd1f6bad68169bdfe923853f72caff935e73a19acc9c5a363
Last Modified: Tue, 08 Apr 2025 04:02:59 GMT
Size: 891.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:37773f18c336467ae057173c8058c8a4576a95997dc756316c3662a02ab339e0
Last Modified: Tue, 08 Apr 2025 17:59:05 GMT
Size: 1.4 MB (1353931 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0035cf5832083a1d83578e85447ae82b24d63fe830e6773824c76a0c3309096f
Last Modified: Fri, 11 Apr 2025 20:53:52 GMT
Size: 315.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ca939fc5c843535d83c278446b58f3fc9a55f8d4faa8b6467f4e838a9d476b97
Last Modified: Fri, 11 Apr 2025 20:53:52 GMT
Size: 750.6 KB (750625 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8490336fbe633cac511e9fe0da9e7ebb3096b684514f1db3af7cb1830e45995f
Last Modified: Fri, 11 Apr 2025 20:53:52 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4bc306549225fa3a3e51fa7d14e419f7da93fe95970ae096545b812dc98a12fd
Last Modified: Fri, 11 Apr 2025 20:53:53 GMT
Size: 21.2 MB (21159009 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10.3-apache
- unknown; unknown
$ docker pull drupal@sha256:97e726ecc9f5e145d4eb4d97bd25e611f5bd016d45bac44305fd398a24fd6e3c
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.7 MB (6707214 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:1c1545ff97f950480f6212aad9e1cf48f1fea5a5536856e2ea04c29231422f76
Layers:
sha256:1db4df9c582af2b93c156711f0a78dec4799a58b7d25d76abeb9ca5fc319ab93
Last Modified: Fri, 11 Apr 2025 20:53:52 GMT
Size: 6.7 MB (6667857 bytes)
MIME: application/vnd.in-toto+json
sha256:e191eaf693cb5a84c4288290ade45dfa52e8e233700ed6b4f55ee0c66bbaea6c
Last Modified: Fri, 11 Apr 2025 20:53:51 GMT
Size: 39.4 KB (39357 bytes)
MIME: application/vnd.in-toto+json
drupal:10.3-apache
- linux; arm64 variant v8
$ docker pull drupal@sha256:4e0b2c3c734ec80e41d50d259010dc64460de7b5fa07e99df085f6d30024bfa9
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 194.2 MB (194192990 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:9c529c6982663f56a08dd56892161bc65f8630fcef24fa0c6aaf8beca211846e
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 21:54:41 GMT
RUN # debian.sh --arch 'arm64' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d" ; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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 }\n export \1 /' "$APACHE_ENVVARS" ; . "$APACHE_ENVVARS" ; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir" ; mkdir -p "$dir" ; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir" ; chmod 1777 "$dir" ; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log" ; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN { echo '<FilesMatch \. php$>' ; echo '\t SetHandler application/x-httpd-php' ; echo '</FilesMatch>' ; echo; echo 'DirectoryIndex disabled' ; echo 'DirectoryIndex index.php index.html' ; echo; echo '<Directory /var/www/>' ; echo '\t Options -Indexes' ; echo '\t AllowOverride All' ; echo '</Directory>' ; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMT
ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL" ; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL" ; export GNUPGHOME="$(mktemp -d)" ; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" ; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 21:54:41 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 21:54:41 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMT
CMD ["apache2-foreground" ]
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get(" extension_dir");')" /*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n ", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
RUN { echo 'opcache.memory_consumption=128' ; echo 'opcache.interned_strings_buffer=8' ; echo 'opcache.max_accelerated_files=4000' ; echo 'opcache.revalidate_freq=60' ; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMT
WORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; export COMPOSER_HOME="$(mktemp -d)" ; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:16c9c4a8e9eef856231273efbb42a473740e8d50d74d35e6aedd04ff69fe161f
Last Modified: Tue, 08 Apr 2025 00:23:04 GMT
Size: 28.1 MB (28066320 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:705c5f6dffca44b4205f0e945a57290bb8e3e1ae585f26eccc2c9828d7f9ccda
Last Modified: Tue, 08 Apr 2025 02:20:33 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2cc8e5730fe526cc83387586aee6b7883edb46c1cbf4028dd372d5e9cc4aa7ec
Last Modified: Tue, 08 Apr 2025 02:20:36 GMT
Size: 98.1 MB (98130393 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5d28e77e2da9013ba78046a81e9835f08797c66738b7838294afd4c12822ca8c
Last Modified: Tue, 08 Apr 2025 02:20:33 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:eb08e5d87081c943aebec15603635f044e709767399fb9288a5d353191df808c
Last Modified: Tue, 08 Apr 2025 02:24:16 GMT
Size: 20.1 MB (20120982 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f63fc51568c1c2eac81ae1839660c84517f78b8a9f41fb196501391ccd75a90f
Last Modified: Tue, 08 Apr 2025 02:24:15 GMT
Size: 436.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a5eba2365fced3eefbecb722f27c4db6bc90624cbba0b3bac5a572af06d125f7
Last Modified: Tue, 08 Apr 2025 02:24:16 GMT
Size: 487.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:01b6b96a5523ce62b8139adb9963903616b873d40a983f782420a16629c46207
Last Modified: Tue, 08 Apr 2025 04:28:55 GMT
Size: 12.3 MB (12276129 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f3394d654096aac6358a3d6aaa45b3761fc178ef92e3609f3683287cb97e805e
Last Modified: Tue, 08 Apr 2025 04:28:54 GMT
Size: 490.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f96cb514ad5ea5bff3fa61419d0ed52abeb60371b272b58af088307ecba51328
Last Modified: Tue, 08 Apr 2025 04:28:55 GMT
Size: 11.4 MB (11427486 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:da9db47d5ea022634ea83139ce6c0a62c3bd57cc8cff18c8a862979f8c972404
Last Modified: Tue, 08 Apr 2025 04:28:54 GMT
Size: 2.5 KB (2452 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1c16dac607708a78923d2911b4253da7bc3b31142001ebc1ee2529b5d80b9e75
Last Modified: Tue, 08 Apr 2025 04:28:55 GMT
Size: 244.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b7694325739ef9d881ffeb3190001d376addd867e098dfe61d83669ac492c0fc
Last Modified: Tue, 08 Apr 2025 04:28:55 GMT
Size: 889.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:eb49bd9bbde58b09a5ea86f5783639e9c4077696434eba9cb48c8b2ba23cd934
Last Modified: Fri, 11 Apr 2025 21:00:45 GMT
Size: 2.3 MB (2255948 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3f00138a1578616a040784ab527601af2fcf2f1ca96a365fe72ee2cecc0dbd24
Last Modified: Fri, 11 Apr 2025 21:00:45 GMT
Size: 313.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c7bbc5d86291f02c4c520a751dd493627476ee21d22df901a8776020b8adaa14
Last Modified: Fri, 11 Apr 2025 21:00:45 GMT
Size: 750.6 KB (750624 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9aabd831f5ecc276182b4b5557cad66882f4aebbfb47531bc54d91e0fd651b71
Last Modified: Fri, 11 Apr 2025 21:00:45 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b3124b49da35685c97e9403dffac104c235315f3902b049b7e2c471ca03707ff
Last Modified: Fri, 11 Apr 2025 21:00:47 GMT
Size: 21.2 MB (21159201 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10.3-apache
- unknown; unknown
$ docker pull drupal@sha256:42a6866ea545af404b6cf3ca51275cdd8f1100943a487bc16e511568b7402165
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6920762 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:bb4a39fadf094682830c143c71e73ae83e17f8a5002691f5e33b62445ea62e57
Layers:
sha256:a981cab0d26328284485dc692c6641f84cba3d1b5578b71960ad22e75b861688
Last Modified: Fri, 11 Apr 2025 21:00:45 GMT
Size: 6.9 MB (6881331 bytes)
MIME: application/vnd.in-toto+json
sha256:514d34814d67a44421ee347d6b571696162c4898d1e1f2753fc491d141787e2b
Last Modified: Fri, 11 Apr 2025 21:00:44 GMT
Size: 39.4 KB (39431 bytes)
MIME: application/vnd.in-toto+json
drupal:10.3-apache
- linux; 386
$ docker pull drupal@sha256:ad38b1d70c4de7d859c2eab9b80e2870cfbda3acc79ac11ba260bba08b9efc02
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 199.2 MB (199248127 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:78785d1da0340e8d921bdd7ab5ec75f7dd25dbb00a04c4dacbf1ea08c6d94246
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 21:54:41 GMT
RUN # debian.sh --arch 'i386' out/ 'bookworm' '@1745798400'
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d" ; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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 }\n export \1 /' "$APACHE_ENVVARS" ; . "$APACHE_ENVVARS" ; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir" ; mkdir -p "$dir" ; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir" ; chmod 1777 "$dir" ; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log" ; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN { echo '<FilesMatch \. php$>' ; echo '\t SetHandler application/x-httpd-php' ; echo '</FilesMatch>' ; echo; echo 'DirectoryIndex disabled' ; echo 'DirectoryIndex index.php index.html' ; echo; echo '<Directory /var/www/>' ; echo '\t Options -Indexes' ; echo '\t AllowOverride All' ; echo '</Directory>' ; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMT
ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL" ; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL" ; export GNUPGHOME="$(mktemp -d)" ; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" ; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 21:54:41 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 21:54:41 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMT
CMD ["apache2-foreground" ]
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get(" extension_dir");')" /*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n ", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
RUN { echo 'opcache.memory_consumption=128' ; echo 'opcache.interned_strings_buffer=8' ; echo 'opcache.max_accelerated_files=4000' ; echo 'opcache.revalidate_freq=60' ; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMT
WORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; export COMPOSER_HOME="$(mktemp -d)" ; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:ad2e653a01d32a9a8676730797453c924f9d10fe1414178e7a26c35132c3691e
Last Modified: Mon, 28 Apr 2025 21:08:11 GMT
Size: 29.2 MB (29210866 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fef9552efeda8e582dcd283f140f2a7823ad2d53e3d101cd416648b38ff7f266
Last Modified: Mon, 28 Apr 2025 21:52:21 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:91eecfdfb517e4449e61a13b627f3464ce12230ea327e1ebcdd6ccb1f67b1820
Last Modified: Mon, 28 Apr 2025 21:52:24 GMT
Size: 101.5 MB (101507666 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5cf9fad698f0b9862ed9d7e72e4c53113fe56a1832b72d89893532ca61fadcbd
Last Modified: Mon, 28 Apr 2025 21:52:21 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0f5cb316c18b850c4610721a961fb9f52c4965b495e1143c3fff001f1b92136e
Last Modified: Mon, 28 Apr 2025 21:52:22 GMT
Size: 20.6 MB (20638471 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:40c59bfe3d9d3503c766ff7b2ac97d5517aa8582725c78e17bbfb4344ee440b3
Last Modified: Mon, 28 Apr 2025 21:52:22 GMT
Size: 432.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5982286f09957327bc0bd6ebca33643560a706ac0df86e9ebba23597d386b185
Last Modified: Mon, 28 Apr 2025 21:52:22 GMT
Size: 486.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a226ab06f03b15cfa6899ba07bdfe93a371b0a2e691f90c7a4f58defc53d2d2e
Last Modified: Mon, 28 Apr 2025 21:52:23 GMT
Size: 12.3 MB (12275380 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:824d0474ac416f13fec01dd3a5d1740b88e16dd4334003f23dceb1e4390d1a2c
Last Modified: Mon, 28 Apr 2025 21:52:22 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f2bfceb2610e7e1dae926c14c7f0db2c17d069c623aa0d636b689cf5043593b4
Last Modified: Mon, 28 Apr 2025 21:52:23 GMT
Size: 11.6 MB (11649773 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d7ab5e4ef37e0dc57351788bae2a62a8eef35227bac653f334eabdf960b7b2a2
Last Modified: Mon, 28 Apr 2025 21:52:23 GMT
Size: 2.5 KB (2455 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ea88aefb469cad09eb9371fb48ab1452de1ff8f21102ef62882e4ee53b95eb78
Last Modified: Mon, 28 Apr 2025 21:52:24 GMT
Size: 244.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:28b2ca3b8b5eef969de91ee04408fec8c4a7789b7daf8b65be72800d23ca8ea8
Last Modified: Mon, 28 Apr 2025 21:52:24 GMT
Size: 892.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0c644eb8d3d4a575f794454646b6c4dd3e6b4e06b3038c709bcfee09d1574bea
Last Modified: Mon, 28 Apr 2025 22:17:41 GMT
Size: 2.1 MB (2050037 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:00190a9fdd0ed04c455ae2747627424020c645f5a54149cdc7dfaf23d58279d6
Last Modified: Mon, 28 Apr 2025 22:17:40 GMT
Size: 310.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fc2464087dd77c22891f698de8c9aa7ff3e05bea68969eb9d5f7660af8dcac48
Last Modified: Mon, 28 Apr 2025 22:17:40 GMT
Size: 750.6 KB (750625 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:561847b5e72c052e7cc85636c72b3027384ea9218ed585f530db747ef787e543
Last Modified: Mon, 28 Apr 2025 22:17:41 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f08e1ce33b13da131c67be459254e25d3df25c6a311bf7474675cd8363122949
Last Modified: Mon, 28 Apr 2025 22:17:42 GMT
Size: 21.2 MB (21159404 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10.3-apache
- unknown; unknown
$ docker pull drupal@sha256:5865018372422ffa82393beab8765510c1c55883723b9de96a564cfbcd23a250
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6872150 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:3302d7d140917677c7f721cca42838be2da5dfddce499bf3db818ba4159e7df1
Layers:
sha256:8f912adf44f8c3970ef223dceee7961ae6681d184d85bb09b0e05e3820ba4e63
Last Modified: Mon, 28 Apr 2025 22:17:40 GMT
Size: 6.8 MB (6833054 bytes)
MIME: application/vnd.in-toto+json
sha256:27a687285b167554786f26f9f194b3db3217be655e92d2bae0c959befc5db9d8
Last Modified: Mon, 28 Apr 2025 22:17:40 GMT
Size: 39.1 KB (39096 bytes)
MIME: application/vnd.in-toto+json
drupal:10.3-apache
- linux; ppc64le
$ docker pull drupal@sha256:42582166203da9f4756572963812c92e724c6ada10309d0577960cbf59b36f6f
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 204.6 MB (204584109 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:eccae50c873a9de789ef0f23d54c232a7e2f99254de2b67e3e20e743d24a02d1
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 21:54:41 GMT
RUN # debian.sh --arch 'ppc64el' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d" ; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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 }\n export \1 /' "$APACHE_ENVVARS" ; . "$APACHE_ENVVARS" ; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir" ; mkdir -p "$dir" ; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir" ; chmod 1777 "$dir" ; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log" ; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN { echo '<FilesMatch \. php$>' ; echo '\t SetHandler application/x-httpd-php' ; echo '</FilesMatch>' ; echo; echo 'DirectoryIndex disabled' ; echo 'DirectoryIndex index.php index.html' ; echo; echo '<Directory /var/www/>' ; echo '\t Options -Indexes' ; echo '\t AllowOverride All' ; echo '</Directory>' ; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMT
ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL" ; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL" ; export GNUPGHOME="$(mktemp -d)" ; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" ; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 21:54:41 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 21:54:41 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMT
CMD ["apache2-foreground" ]
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get(" extension_dir");')" /*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n ", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
RUN { echo 'opcache.memory_consumption=128' ; echo 'opcache.interned_strings_buffer=8' ; echo 'opcache.max_accelerated_files=4000' ; echo 'opcache.revalidate_freq=60' ; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMT
WORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; export COMPOSER_HOME="$(mktemp -d)" ; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:eda04574e09a8e08ba343dd01ac61bceb64282d2e992a997bd2102897b52d004
Last Modified: Tue, 08 Apr 2025 00:23:44 GMT
Size: 32.1 MB (32068231 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5b9a46967066ae4671f168da66f36a8b5a2975183ce39c8dd4a2b10bf95a917f
Last Modified: Tue, 08 Apr 2025 02:10:40 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3c687d4e4921b0609438b51c7d318fa414c7011636641c6b89f5fd3f8f3fc315
Last Modified: Tue, 08 Apr 2025 02:10:43 GMT
Size: 103.3 MB (103324796 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:85e3514f5d628c2a9213004449181d4a82ac680ebdb792bc18d335a66bc84e0a
Last Modified: Tue, 08 Apr 2025 02:10:40 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f67434e8832967db0f0dce87d8c6f20e4cbaf6e006924b3f9536048a5ac7cc09
Last Modified: Tue, 08 Apr 2025 02:15:46 GMT
Size: 21.3 MB (21308407 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b4adc38f5ae243525673101edcd5d2e2929fd04cd4d3310723abd07c4f041abe
Last Modified: Tue, 08 Apr 2025 02:15:44 GMT
Size: 432.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:12a195fcdfa3af6fc1f6b42885b72bdb556c77252e12ba66006e705fff9e25f7
Last Modified: Tue, 08 Apr 2025 02:15:45 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8b1ee7c985f61d06c9fc10dd1cba38d194dd6b224b7864da04a8f341ba94c09a
Last Modified: Tue, 08 Apr 2025 03:22:57 GMT
Size: 12.3 MB (12275922 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:bceb06fa54937daac5005ac2a6275581a776252db59f06f6780e42d675535acd
Last Modified: Tue, 08 Apr 2025 03:22:57 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:29a75a93c7a4e957c6cb4fad6cea2eabd6aa3dd46443c75c9457c1c5c06565f2
Last Modified: Tue, 08 Apr 2025 03:22:58 GMT
Size: 11.8 MB (11835123 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:30caad18e08c5d4835fc78bb0a9d6811fb3881dd8d330e92bf6cad9edad42126
Last Modified: Tue, 08 Apr 2025 03:22:56 GMT
Size: 2.5 KB (2455 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4298daae9ae9c2ba4c4f733ff536400372d189b5e6dca363c0debbf0d5596b87
Last Modified: Tue, 08 Apr 2025 03:22:58 GMT
Size: 246.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a612098fdc56e92aad62460b010280adf5c9f6473fcef19f2e5324d7829faac6
Last Modified: Tue, 08 Apr 2025 03:22:58 GMT
Size: 892.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:59cb182b9a68729ff8f786d1026f2fa57e565ad889b0f744e48f3c25c44caee3
Last Modified: Fri, 11 Apr 2025 21:21:56 GMT
Size: 1.9 MB (1855834 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:99fef3f770ddbbc81306f362b8667c32f6741373bf9ee6972f2cf6d20ede7990
Last Modified: Fri, 11 Apr 2025 21:21:56 GMT
Size: 315.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:90c8c675ffccaee0780322332f9bbf5694ab7d1604f879396c88faa1ceb66569
Last Modified: Fri, 11 Apr 2025 21:21:56 GMT
Size: 750.6 KB (750626 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8d6a9c7f4c88549874e7eb4c0770b6523129b9b0762ad7a2f1c8da27a6700e45
Last Modified: Fri, 11 Apr 2025 21:21:56 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cbc01e38dbb0283d1cc78c7b0f994555a6ba1fec05b027e94618f3501fcdbe26
Last Modified: Fri, 11 Apr 2025 21:21:58 GMT
Size: 21.2 MB (21159258 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10.3-apache
- unknown; unknown
$ docker pull drupal@sha256:6b46cfc45f890297ee9681aba61a287bb16a857eb1e8a4c3cea21b5aa661d9bc
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6869172 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:e15e487df3ac89231b0adf20d6c01c3eaed9fce436c08c04a381233f65195aea
Layers:
sha256:bae8cfac298d3c9670065634e1f8081aac7b7db9655360d162b7d91521deeb4b
Last Modified: Fri, 11 Apr 2025 21:21:56 GMT
Size: 6.8 MB (6829885 bytes)
MIME: application/vnd.in-toto+json
sha256:4317153d754645d5f4822053ab8bf1f718aa83ddec8fd719522e616db6305421
Last Modified: Fri, 11 Apr 2025 21:21:56 GMT
Size: 39.3 KB (39287 bytes)
MIME: application/vnd.in-toto+json
drupal:10.3-apache
- linux; s390x
$ docker pull drupal@sha256:591e16df0bd5b4813cc2fee558122a98852f3572bebe4f019292daee53f65d35
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 174.0 MB (173992470 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:4b8d0e684d9d116895b96772a7af7ef4812fa95accbc56cacba4c2e9760e023f
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 21:54:41 GMT
RUN # debian.sh --arch 's390x' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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/* # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; mkdir -p "$PHP_INI_DIR/conf.d" ; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 21:54:41 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 21:54:41 GMT
RUN 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 }\n export \1 /' "$APACHE_ENVVARS" ; . "$APACHE_ENVVARS" ; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$APACHE_RUN_DIR/socks" ; do rm -rvf "$dir" ; mkdir -p "$dir" ; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir" ; chmod 1777 "$dir" ; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" ; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log" ; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN { echo '<FilesMatch \. php$>' ; echo '\t SetHandler application/x-httpd-php' ; echo '</FilesMatch>' ; echo; echo 'DirectoryIndex disabled' ; echo 'DirectoryIndex index.php index.html' ; echo; echo '<Directory /var/www/>' ; echo '\t Options -Indexes' ; echo '\t AllowOverride All' ; echo '</Directory>' ; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 21:54:41 GMT
ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_VERSION=8.2.28
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc
# Thu, 13 Mar 2025 21:54:41 GMT
ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL" ; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL" ; export GNUPGHOME="$(mktemp -d)" ; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" ; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 21:54:41 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 21:54:41 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 21:54:41 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 21:54:41 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 21:54:41 GMT
CMD ["apache2-foreground" ]
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; if command -v a2enmod; then a2enmod expires rewrite; fi; savedAptMark="$(apt-mark showmanual)" ; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr --with-webp ; docker-php-ext-install -j "$(nproc)" gd opcache pdo_mysql pdo_pgsql zip ; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get(" extension_dir");')" /*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n ", so }' | sort -u | xargs -r dpkg-query -S | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
RUN { echo 'opcache.memory_consumption=128' ; echo 'opcache.interned_strings_buffer=8' ; echo 'opcache.max_accelerated_files=4000' ; echo 'opcache.revalidate_freq=60' ; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV DRUPAL_VERSION=10.3.14
# Wed, 19 Mar 2025 21:27:15 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Wed, 19 Mar 2025 21:27:15 GMT
WORKDIR /opt/drupal
# Wed, 19 Mar 2025 21:27:15 GMT
RUN set -eux; export COMPOSER_HOME="$(mktemp -d)" ; composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; composer check-platform-reqs; chown -R www-data:www-data web/sites web/modules web/themes; rmdir /var/www/html; ln -sf /opt/drupal/web /var/www/html; rm -rf "$COMPOSER_HOME" # buildkit
# Wed, 19 Mar 2025 21:27:15 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:4d39bd57bcf7f4854587de5b4defd11e1b3b354bad1320b74c6994d07d7b3671
Last Modified: Tue, 08 Apr 2025 00:24:14 GMT
Size: 26.9 MB (26884606 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0629663656342054d2f9f2b005107659a6c173bb5f0b7cb64dc8cb1ee42b441c
Last Modified: Tue, 08 Apr 2025 02:00:47 GMT
Size: 227.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:687a798e29fb2285c77a2ed089ffb98dd2ae622d769dfc8b8796f747270caa16
Last Modified: Tue, 08 Apr 2025 02:00:49 GMT
Size: 80.8 MB (80816477 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8881dcc114cdc5cc5dfd6ca5beca1e2ac5ae137a5266f40776b68c106d43cac9
Last Modified: Tue, 08 Apr 2025 02:00:47 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0c520e00ddd0867ba8e331d1186044f72208c47374173fad3059cf8cc4adc8c2
Last Modified: Tue, 08 Apr 2025 02:04:35 GMT
Size: 19.9 MB (19895320 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:86a2897dccb49d2367540f651842e2f2ec441a6dd6b8b949377032b31cb747cd
Last Modified: Tue, 08 Apr 2025 02:04:34 GMT
Size: 431.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c3d5efa8de1c9bc5dc861d369497b6023969810db9946783b63ee84762d9cedf
Last Modified: Tue, 08 Apr 2025 02:04:34 GMT
Size: 483.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5ba180ef601bd917f620f9137a0cf0730ba8eebd5797f2dd561e06e3b3bd3858
Last Modified: Tue, 08 Apr 2025 03:00:57 GMT
Size: 12.3 MB (12274778 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c0b03a845c81a68449e5938fda3d09a0630a64ce6e41d627d06edc29c23975b6
Last Modified: Tue, 08 Apr 2025 03:00:56 GMT
Size: 487.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:781c5920ad4bacccebc772169f311417c135f0d8d54b2799f5aeeca1c2ebebc1
Last Modified: Tue, 08 Apr 2025 03:00:58 GMT
Size: 10.7 MB (10652696 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ebd41eaa54b22dc49f5c079dc881e175566922030135dfc096a4df3ebec68fd0
Last Modified: Tue, 08 Apr 2025 03:00:56 GMT
Size: 2.5 KB (2456 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:44c7d6ba38e5434ee8b46134473709c36976e08537a08a43c24ac8721793fe75
Last Modified: Tue, 08 Apr 2025 03:00:57 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a31078834f7d8d8782a5c3ccc5e291d20fb330e7e9bd872ae7172bf5c550fd51
Last Modified: Tue, 08 Apr 2025 03:00:57 GMT
Size: 892.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT
Size: 32.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7dc2229793415dbf9d299f4a44067f2646eb263c9e85f5ceed9860f90a454f43
Last Modified: Fri, 11 Apr 2025 20:42:21 GMT
Size: 1.6 MB (1553097 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:20460f99968ab1ca8fa9f5d406c8179bede716419b1007732c7cfd9377d14756
Last Modified: Fri, 11 Apr 2025 20:42:20 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d68e2e59d41601cb443e59a57c3068f6287dc15b6e1cd2a26e2188eb9eaaf566
Last Modified: Fri, 11 Apr 2025 20:42:21 GMT
Size: 750.6 KB (750624 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:253f73322559de0c554f03dbf9d9f7eb5f73e78e2daed4243fb28d75c2f6343a
Last Modified: Fri, 11 Apr 2025 20:42:21 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2246ec4fcbe91f17f54849d16c3f4ea924f5b6bc35866dbc22a0c98ed53520eb
Last Modified: Fri, 11 Apr 2025 20:42:22 GMT
Size: 21.2 MB (21158960 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10.3-apache
- unknown; unknown
$ docker pull drupal@sha256:0efd303ac5e1dc96ead46120725b59d31872842b255d6a4f380c4364293b5a10
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.7 MB (6733422 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:92584f558255bac09a835557a99c0247661f93d8fa76ee666c8b78864c5e4c76
Layers:
sha256:cf174aa8f141b84a613380ef9a719696ebb69c8c86c2d3771188143b81b756fd
Last Modified: Fri, 11 Apr 2025 20:42:20 GMT
Size: 6.7 MB (6694247 bytes)
MIME: application/vnd.in-toto+json
sha256:2a50a80e1b8ac508ef20f031901b518e09d2395281d8592b97e3e7fb45cfcdad
Last Modified: Fri, 11 Apr 2025 20:42:20 GMT
Size: 39.2 KB (39175 bytes)
MIME: application/vnd.in-toto+json