drupal:10-php8.4-apache-bookworm
$ docker pull drupal@sha256:ac174e04076b252aa340140d0c32f7e33e557ce16da8cfe8064f24ae93eb44e9
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-php8.4-apache-bookworm
- linux; amd64
$ docker pull drupal@sha256:e1f452a9660c6f4e1ccb7178dc0ab0b4bfcbb700e8d3b80c592125f3e0b8355a
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 204.9 MB (204949197 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:d729db83529e36c28ac69d0c7fb0a8b2ef0e8e7efb978ed06f411ed2a5c56036
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 17:27:40 GMT
RUN # debian.sh --arch 'amd64' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 17:27:40 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 17:27:40 GMT
ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_VERSION=8.4.5
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.4.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.5.tar.xz.asc
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_SHA256=0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 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 --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 17:27:40 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 17:27:40 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 17:27:40 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 17:27:40 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 17:27:40 GMT
CMD ["apache2-foreground" ]
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV DRUPAL_VERSION=10.4.6
# Thu, 03 Apr 2025 03:27:18 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /opt/drupal
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:8a628cdd7ccc83e90e5a95888fcb0ec24b991141176c515ad101f12d6433eb96
Last Modified: Tue, 08 Apr 2025 00:22:58 GMT
Size: 28.2 MB (28227259 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:513a70d3e949e8fd6c99f0dc0f717b60de32bcda29915bc0fe25b3319ed7cf73
Last Modified: Tue, 08 Apr 2025 01:18:52 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ec191759214ba289fa6a6270b966e42bc10f82c9586faa2477d8cbf5f0979313
Last Modified: Tue, 08 Apr 2025 01:18:55 GMT
Size: 104.3 MB (104329242 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:97cbc48b2b71143739b49a2416a73d94fdd75b6e819d07a7c5c63b67fea4c42e
Last Modified: Tue, 08 Apr 2025 01:18:52 GMT
Size: 223.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1f1e48d42b268d468ec25e8e6c572a0c3250c95e66164e1f2aaed18a8674ad57
Last Modified: Tue, 08 Apr 2025 01:18:54 GMT
Size: 20.1 MB (20123830 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:906b0aca74e53ac40d850032e1a384d56d763161769e383eabcc455c46f95e46
Last Modified: Tue, 08 Apr 2025 01:18:53 GMT
Size: 427.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b3290f19a0640e6985fae8fdda4a0ff1bcd52426cb366f5f9b9da2b753ece956
Last Modified: Tue, 08 Apr 2025 01:18:53 GMT
Size: 482.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:45fb82ad73267841217287e3d4b7667acee5542cacd852f60dbdbaf27853ba9f
Last Modified: Tue, 08 Apr 2025 01:18:55 GMT
Size: 13.7 MB (13733126 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:84c184b01e988261cf1808a36e63e5949aa70676b660c8e7aa679ef3074fb0e4
Last Modified: Tue, 08 Apr 2025 01:18:54 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b799962a87d32c5759a10665434c522eb5569b947d2b01d00fc1c59f19b1470e
Last Modified: Tue, 08 Apr 2025 01:18:56 GMT
Size: 14.2 MB (14162333 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d00e7094e568f5a437d0308a0b6d427a55565063353d3e9866d7ec36709b732f
Last Modified: Tue, 08 Apr 2025 01:18:55 GMT
Size: 2.5 KB (2456 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:11a34113a75139d0a08c1c7c87009c9f026fe69c8b21e38c7b07a63a88a4540e
Last Modified: Tue, 08 Apr 2025 01:18:56 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7312d9d59fc13ac959c8db95ab739041e0822514441e80db6c7ffd8dd3abadbc
Last Modified: Tue, 08 Apr 2025 01:18: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:5b560e0f8b31e93ccdccf4d44193c2ae8136c99f69f7ad981ff74be5e97b7aec
Last Modified: Tue, 08 Apr 2025 02:16:42 GMT
Size: 2.1 MB (2126733 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:aaceff6606b303f6372987e3504f768479f25834ae122dcb346630896d46e9b3
Last Modified: Tue, 08 Apr 2025 02:16:42 GMT
Size: 311.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:00f6f87024e1c39b7d0664ec4364cb7ec13e206185a274a74a78a03c1424714d
Last Modified: Tue, 08 Apr 2025 02:16:42 GMT
Size: 750.6 KB (750624 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:927ed502ef01c4fd9fa530734ea9fe5950d252b1fc6ff86da73529268cf86d8b
Last Modified: Tue, 08 Apr 2025 02:16:42 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:db63d4f7ee280b5daf80ff013daf8275a14467753f52f42bb38b2e3e4b5bd5fe
Last Modified: Tue, 08 Apr 2025 02:16:43 GMT
Size: 21.5 MB (21490152 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-php8.4-apache-bookworm
- unknown; unknown
$ docker pull drupal@sha256:b1f5d34edd28581b8e361efad61ddd94838efe7fbcfe19926cc2fab3b40386ea
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6887997 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:8915b891a26d47df989427861961f2eee9685f4a6f582fbd16de291c4b3538dc
Layers:
sha256:3321747e15730395445271821f0c1b5a63f1b3a5f152dfc209d0dafc639ac4dc
Last Modified: Tue, 08 Apr 2025 02:16:42 GMT
Size: 6.8 MB (6849747 bytes)
MIME: application/vnd.in-toto+json
sha256:b206e2f769dccc5998ad88453d3455439d4dbed5ba50acdfa202d5cc9e85d512
Last Modified: Tue, 08 Apr 2025 02:16:42 GMT
Size: 38.2 KB (38250 bytes)
MIME: application/vnd.in-toto+json
drupal:10-php8.4-apache-bookworm
- linux; arm variant v7
$ docker pull drupal@sha256:2bc4167b1863fe8e360d9b8d35d33b78ad22ff95420278fc0d43bd64c671aa64
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 168.6 MB (168575186 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:21827d12d764aafb3d9092776e672d715c9ba301f3abf4137d585ae38f9330fe
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 17:27:40 GMT
RUN # debian.sh --arch 'armhf' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 17:27:40 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 17:27:40 GMT
ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_VERSION=8.4.5
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.4.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.5.tar.xz.asc
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_SHA256=0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 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 --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 17:27:40 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 17:27:40 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 17:27:40 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 17:27:40 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 17:27:40 GMT
CMD ["apache2-foreground" ]
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV DRUPAL_VERSION=10.4.6
# Thu, 03 Apr 2025 03:27:18 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /opt/drupal
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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:31edbe1ca6d24ec16bb2f9a388169e53062cee1fe59f23313c0f43c4c39d03d0
Last Modified: Tue, 08 Apr 2025 02:40:08 GMT
Size: 13.7 MB (13731541 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:091d2f101b0011f3f7b33f96b4b943358160b25813c8879768eed36d701efe70
Last Modified: Tue, 08 Apr 2025 02:40:07 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:596e397ac7f538ac20658312135fd366ab0f2ca7220573086018dbb7cef0243b
Last Modified: Tue, 08 Apr 2025 02:40:09 GMT
Size: 12.3 MB (12274782 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:28c51be084a110daabe9d3668e60db69b37ab6627cb9cfcf6f95140c947510f8
Last Modified: Tue, 08 Apr 2025 02:40:07 GMT
Size: 2.5 KB (2457 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4439b496fe2a444a2487a5ca1f94a1e40cf5b69770f29eb186e554baf8456135
Last Modified: Tue, 08 Apr 2025 02:40:08 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:84e5243914888bbf22d158829646d224f4512e438af2da2c533bdb19a687cb63
Last Modified: Tue, 08 Apr 2025 02:40:09 GMT
Size: 893.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:e2cbd28b7d248e51defaf03ebabad415b4ee5a550d544e733e232a3a5948019f
Last Modified: Tue, 08 Apr 2025 17:34:00 GMT
Size: 1.4 MB (1365405 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:26ccf62e2f8bbd98da1544f63a8845faa4a8497f6a0634c5f120e377ba26b576
Last Modified: Tue, 08 Apr 2025 17:33:59 GMT
Size: 317.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5b0ab1f639c43b90053f66348babde5d76ab4d4caace87782bc1953f047ab0c3
Last Modified: Tue, 08 Apr 2025 17:34:00 GMT
Size: 750.6 KB (750623 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:02f6460fd4f43bacac409f1192840585e46d5a59001a08bcebe099ed87a74a50
Last Modified: Tue, 08 Apr 2025 17:33:59 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:69fc68eadb2224ffcb4d5cb5bce4cb2d5ba4c156530ca1bde7f319972757c9ec
Last Modified: Tue, 08 Apr 2025 17:48:40 GMT
Size: 21.5 MB (21489033 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-php8.4-apache-bookworm
- unknown; unknown
$ docker pull drupal@sha256:f394184fcf2b3ba2351ebd54367c97a945b73344f84d3a544be4e9fd90fb4f85
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.7 MB (6703165 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:80af71dbc3f465496cebb7b33bb8d53d4659374369d6f63993ae47522e09ae65
Layers:
sha256:9b0194ec45d2ac8f781fa0bc07fb77a7e74c72a11ae7dedead5a6d37d1e996b5
Last Modified: Tue, 08 Apr 2025 17:48:39 GMT
Size: 6.7 MB (6664757 bytes)
MIME: application/vnd.in-toto+json
sha256:d4d2dd14c59a40fb7c80eb12fe1537a823face9530694f6d2a3a884b82c9bbef
Last Modified: Tue, 08 Apr 2025 17:48:39 GMT
Size: 38.4 KB (38408 bytes)
MIME: application/vnd.in-toto+json
drupal:10-php8.4-apache-bookworm
- linux; arm64 variant v8
$ docker pull drupal@sha256:8791f33db465e4c081b1c01f8fcdc3fadd80abdfc5c34f052fdb7c33f80c43eb
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 198.1 MB (198091234 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:85ab32322f045f04dc126e6136937aed0d8aca572cbfe20aea5a95596b980dfc
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 17:27:40 GMT
RUN # debian.sh --arch 'arm64' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 17:27:40 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 17:27:40 GMT
ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_VERSION=8.4.5
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.4.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.5.tar.xz.asc
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_SHA256=0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 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 --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 17:27:40 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 17:27:40 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 17:27:40 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 17:27:40 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 17:27:40 GMT
CMD ["apache2-foreground" ]
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV DRUPAL_VERSION=10.4.6
# Thu, 03 Apr 2025 03:27:18 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /opt/drupal
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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:fab562b2866ae1872105c38ea32cead32e9da35632e121f8eec63601a6c5685b
Last Modified: Tue, 08 Apr 2025 02:52:30 GMT
Size: 13.7 MB (13732990 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6e64d78ad1d48c286cd49af34d67ca98e8d1b55b8abb3431dea7f4f488d0a4f6
Last Modified: Tue, 08 Apr 2025 02:52:29 GMT
Size: 490.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f10e7850e2b8417df601193d588bdc162d9867b500038b754653e8d587203db6
Last Modified: Tue, 08 Apr 2025 02:52:30 GMT
Size: 13.8 MB (13768678 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a7b917ccdd67db8ddcde2c315615b0fa17d2cd8afafea08f429f9ae21dac8f52
Last Modified: Tue, 08 Apr 2025 02:52:30 GMT
Size: 2.5 KB (2456 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:39ec394bda2121342bd4fa0ecfd8bf1e0c3327c052d1a4e796b5e3209dca5a2c
Last Modified: Tue, 08 Apr 2025 02:52:31 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:785080df917c11ea75d0c6d354369f30342066814e8ef7a3890f72b2c9addd36
Last Modified: Tue, 08 Apr 2025 02:52:31 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:0556984b8c543f971cfbe097f31575f0467f7f9652ed49e41c58b6bff1fef2f7
Last Modified: Tue, 08 Apr 2025 12:21:32 GMT
Size: 2.0 MB (2025458 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:73df876e50acfb72378af20abe679b3b816ddd979912819adc40b24365b8a5d5
Last Modified: Tue, 08 Apr 2025 12:21:32 GMT
Size: 314.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a595c16c8e10cc77e69af44d98b359461b20eaf26eb97993cf706ee4af6759a9
Last Modified: Tue, 08 Apr 2025 12:21:32 GMT
Size: 750.6 KB (750622 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:54f2f9072397624fe6962408ee1d6bedf7120381d4c1c0156af427f311a7c802
Last Modified: Tue, 08 Apr 2025 12:21:32 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:772ccf48426d385911965accac186ef656c623a21fab2769792d16145841b7d0
Last Modified: Tue, 08 Apr 2025 12:36:01 GMT
Size: 21.5 MB (21489874 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-php8.4-apache-bookworm
- unknown; unknown
$ docker pull drupal@sha256:d98548e5c74121cd7b5cf30cee9859eb90879ecc16849e01058bf469b51f95b0
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6916683 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:547f19f486b414577af8f26a2f6a31ffc610d25346743007f19e2c10fc8120e0
Layers:
sha256:c4c5f6fb63cdd56681620c9c24d9598d1c5b2b18a9b2bcc771d070edcbcfa6d8
Last Modified: Tue, 08 Apr 2025 12:36:00 GMT
Size: 6.9 MB (6878219 bytes)
MIME: application/vnd.in-toto+json
sha256:fd818a2df15c69dc1e5b68afe4fa8e1273e769977614d8a7e041ce635a77ec11
Last Modified: Tue, 08 Apr 2025 12:35:59 GMT
Size: 38.5 KB (38464 bytes)
MIME: application/vnd.in-toto+json
drupal:10-php8.4-apache-bookworm
- linux; 386
$ docker pull drupal@sha256:00b826ee36168b59e736760e4ece1d41d5e0732715c3d25acaa8e50203f3cd1a
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 204.0 MB (204011928 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:3d86cfc6ab36a1f2379eb5e4414a46c7599e37316310da0b65747f2922dad253
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 17:27:40 GMT
RUN # debian.sh --arch 'i386' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 17:27:40 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 17:27:40 GMT
ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_VERSION=8.4.5
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.4.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.5.tar.xz.asc
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_SHA256=0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 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 --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 17:27:40 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 17:27:40 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 17:27:40 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 17:27:40 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 17:27:40 GMT
CMD ["apache2-foreground" ]
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV DRUPAL_VERSION=10.4.6
# Thu, 03 Apr 2025 03:27:18 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /opt/drupal
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/drupal/vendor/bin
Layers:
sha256:e4fab02059329179b6416bda7cdc389d26699f1c93a02194f146c047031c4748
Last Modified: Tue, 08 Apr 2025 00:23:49 GMT
Size: 29.2 MB (29210731 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:25b465d3ac248370bf7b6320f074edd2111408df171ad9e0d19e0e3131fb4ce8
Last Modified: Tue, 08 Apr 2025 01:19:26 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:db3b9943a4bc1ad2234369beeefe108078cd843cd7783e01d2e171be5b6ee7c2
Last Modified: Tue, 08 Apr 2025 01:19:29 GMT
Size: 101.5 MB (101512137 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7da177d1f1fa137ac56c2605a6e760d769e792208006d21fdde3b57b8ae0016a
Last Modified: Tue, 08 Apr 2025 01:19:26 GMT
Size: 225.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1def9ce7f3814b8ebe1f18edc4d3f60794c8977df5610c8dd54e3d8cdbb13842
Last Modified: Tue, 08 Apr 2025 01:19:27 GMT
Size: 20.6 MB (20638495 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:508b0745e01de02496d1a559f64fedddaa878ab41005772e99c2039e62264383
Last Modified: Tue, 08 Apr 2025 01:19:27 GMT
Size: 433.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:296468cdae181261314b8d067c7e3cb9f46407422af56ebc358f500ca1b7a76f
Last Modified: Tue, 08 Apr 2025 01:19:27 GMT
Size: 486.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2a66adadfe304666095f57c250c7d82379c561c41357a5b6c545b2eb8d6c69a7
Last Modified: Tue, 08 Apr 2025 01:19:28 GMT
Size: 13.7 MB (13732348 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:5fe1fdd1a555f409f24d6164a82a03153353ceee4d1517bf51b50dd85b5e7871
Last Modified: Tue, 08 Apr 2025 01:19:28 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f5aaac41c3f379aaa06f26c3b4a445f123973683633217223bbd90f9474905a2
Last Modified: Tue, 08 Apr 2025 01:19:29 GMT
Size: 14.5 MB (14454599 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e9dded733a88882d37e7794226e41e883690b6a3f657a0aeaed37381627daa40
Last Modified: Tue, 08 Apr 2025 01:19:28 GMT
Size: 2.5 KB (2454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b8b8f36951dc2d2c21195b6abc9b09d78751ec522b7e8ed3988436cd6c454ffa
Last Modified: Tue, 08 Apr 2025 01:19:29 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:aaceadcf1277844fffdf4bb36fd778907d5a9238d1f84ed033ebddcc75466c0a
Last Modified: Tue, 08 Apr 2025 01:19:29 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:4f096d2a525ee4ee1ba97341c95ab735a789c9407cbb611d9f0f7fbdc154ae94
Last Modified: Tue, 08 Apr 2025 02:16:14 GMT
Size: 2.2 MB (2217378 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a850bea8754752bb6a512be65bf921c11f12726c35ef7c298a0f049f34f7b57d
Last Modified: Tue, 08 Apr 2025 02:16:14 GMT
Size: 315.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c3038cb7c9de411ce7b30f059c1d0877e68142234eb82ed47badc50c84e79146
Last Modified: Tue, 08 Apr 2025 02:16:14 GMT
Size: 750.6 KB (750620 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:18f222d119a3ff311d9ba7342ce22781ca6b6eb04a6681376cb2d388a247b3b8
Last Modified: Tue, 08 Apr 2025 02:16:14 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1c94a99627bd857988da9551970b1e18a9efbff689a6d07aa54c0ed4123114e4
Last Modified: Tue, 08 Apr 2025 02:16:16 GMT
Size: 21.5 MB (21489707 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-php8.4-apache-bookworm
- unknown; unknown
$ docker pull drupal@sha256:51b62dbf966349de13aa264bae990975dcbca1b1ae554cf4514fec6a1b7662e3
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6868175 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:485734f3fba27cb83dc9d9b2a1862e98b8378be547a05a6c5862d69fc2d80737
Layers:
sha256:afcabaa677f761a1de6b81076a45d7bfe5a84c2456329ef0d00624e7557c0061
Last Modified: Tue, 08 Apr 2025 02:16:14 GMT
Size: 6.8 MB (6829993 bytes)
MIME: application/vnd.in-toto+json
sha256:6cf824b68d4f03e0d54b9239ff3cc92269379a3625ba84b9d2ed820243c20d82
Last Modified: Tue, 08 Apr 2025 02:16:14 GMT
Size: 38.2 KB (38182 bytes)
MIME: application/vnd.in-toto+json
drupal:10-php8.4-apache-bookworm
- linux; ppc64le
$ docker pull drupal@sha256:91e8c360500266b4bc456aae3912017dc4ca6e993a3127f8dda5320e5ccafa76
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 209.1 MB (209132401 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:d522388fcdacc59b213f1767093a9e00c3bc8016179ccd812b06d3829f769d49
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 17:27:40 GMT
RUN # debian.sh --arch 'ppc64el' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 17:27:40 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 17:27:40 GMT
ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_VERSION=8.4.5
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.4.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.5.tar.xz.asc
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_SHA256=0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 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 --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 17:27:40 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 17:27:40 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 17:27:40 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 17:27:40 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 17:27:40 GMT
CMD ["apache2-foreground" ]
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV DRUPAL_VERSION=10.4.6
# Thu, 03 Apr 2025 03:27:18 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /opt/drupal
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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:165034220792c10bb926bcc969640223f7b3ec5dee0e55ccf0b3891aa822e686
Last Modified: Tue, 08 Apr 2025 02:33:27 GMT
Size: 13.7 MB (13732779 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b908c848a87e4b170e228f73a830fb49d9c114d0745a849f3bd5becf9b9b5221
Last Modified: Tue, 08 Apr 2025 02:33:26 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:bdec30a25fcf03aa319539070be9011787137335ebffc5ee6ed15d51cee492b1
Last Modified: Tue, 08 Apr 2025 02:33:27 GMT
Size: 14.6 MB (14580526 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:495b612c484fa36f627e822c6b54daf012403de3687e5b80985659796ae90b7b
Last Modified: Tue, 08 Apr 2025 02:33:26 GMT
Size: 2.5 KB (2458 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:74e6bf6f8161245ed75f6c2ee719682ebe34036ba5436b3b993e6645536d60f4
Last Modified: Tue, 08 Apr 2025 02:33:27 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c23050a7ca559e176b4dbc6f926bca77fe79e8d36bffeb19a22a50d37a5101ac
Last Modified: Tue, 08 Apr 2025 02:33:27 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:14ab78365b9a0afe1035d87dcad651861f6778f89057d7fc2e7466397539f512
Last Modified: Tue, 08 Apr 2025 11:53:08 GMT
Size: 1.9 MB (1871109 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:48e3058e697e31fcfa81994a88e73fd83e55e5071ef16e961c552be12d352d2e
Last Modified: Tue, 08 Apr 2025 11:53:08 GMT
Size: 311.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8bc6f058055f07faed635aedf21ca1c48d6d676e5cf35165b63ffa4abd9d9057
Last Modified: Tue, 08 Apr 2025 11:53:09 GMT
Size: 750.6 KB (750625 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:150cbeaf729f32a2cc79c197de30b380574dda6892ea273f339bb140ec940e1e
Last Modified: Tue, 08 Apr 2025 11:53:08 GMT
Size: 113.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8a9d746f160ca288bd4c138bb2aa680b6bc1175b27012ff94963361229dbf1b6
Last Modified: Tue, 08 Apr 2025 11:53:10 GMT
Size: 21.5 MB (21490018 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-php8.4-apache-bookworm
- unknown; unknown
$ docker pull drupal@sha256:4a6b3b372192b47375b7ce7d494ad59b5c8cc7b4ccffdcdd6283d94017174fda
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6865129 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:f591e9976ddbb489089fe88a632a41b96178e06bf6eafc14ceeeab4a4f74c667
Layers:
sha256:d39ae1ce18001079e28cdd7be7bbb6464f6551191d56023c6cf81ba9070c6740
Last Modified: Tue, 08 Apr 2025 11:53:08 GMT
Size: 6.8 MB (6826791 bytes)
MIME: application/vnd.in-toto+json
sha256:1c748992cebd31843d01c6741ed2c384c53d20e65bd36cecbce43a9cedbac369
Last Modified: Tue, 08 Apr 2025 11:53:08 GMT
Size: 38.3 KB (38338 bytes)
MIME: application/vnd.in-toto+json
drupal:10-php8.4-apache-bookworm
- linux; s390x
$ docker pull drupal@sha256:f8c2f94c08420000df05d3e1f4cb0c00cc285c05bfa2581497b8863e5adafab8
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 178.7 MB (178678004 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:f040918d08a64fdd5f42dbc3c8e605637400de0bc783a6b6adf84710f338f578
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 13 Mar 2025 17:27:40 GMT
RUN # debian.sh --arch 's390x' out/ 'bookworm' '@1743984000'
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 13 Mar 2025 17:27:40 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 13 Mar 2025 17:27:40 GMT
ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_VERSION=8.4.5
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.4.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.5.tar.xz.asc
# Thu, 13 Mar 2025 17:27:40 GMT
ENV PHP_SHA256=0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327
# Thu, 13 Mar 2025 17:27:40 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 17:27:40 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 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 --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 17:27:40 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 13 Mar 2025 17:27:40 GMT
STOPSIGNAL SIGWINCH
# Thu, 13 Mar 2025 17:27:40 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 13 Mar 2025 17:27:40 GMT
WORKDIR /var/www/html
# Thu, 13 Mar 2025 17:27:40 GMT
EXPOSE map[80/tcp:{}]
# Thu, 13 Mar 2025 17:27:40 GMT
CMD ["apache2-foreground" ]
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 GMT
COPY /usr/bin/composer /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV DRUPAL_VERSION=10.4.6
# Thu, 03 Apr 2025 03:27:18 GMT
ENV COMPOSER_ALLOW_SUPERUSER=1
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /opt/drupal
# Thu, 03 Apr 2025 03:27:18 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
# Thu, 03 Apr 2025 03:27:18 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:e32513b176e076bccce8df20c74343ab8f432de5af74c8ee7cee638b5514193f
Last Modified: Tue, 08 Apr 2025 02:19:05 GMT
Size: 13.7 MB (13731902 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9f78fe6bae0bf337376c04cc8f8c54eedf78bda3d8ed149f7285f7f9a18b40eb
Last Modified: Tue, 08 Apr 2025 02:19:04 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0ce34e85ea1fdcf7da9726d7a87b53a9e39fde74918be53c0e8c99e77c6dbc06
Last Modified: Tue, 08 Apr 2025 02:19:05 GMT
Size: 13.5 MB (13538393 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c8e22a2a2d8d08d890bba4310276c840ea9a6824ba9020db3ec1e82a61c874d7
Last Modified: Tue, 08 Apr 2025 02:19:04 GMT
Size: 2.5 KB (2457 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:93463ce992f1dc75ffa8f6f672d2c13531d9472653d6a24db04d7b04497483f9
Last Modified: Tue, 08 Apr 2025 02:19:05 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f2136d7ca5ef39b5eb8b19f58f0da8b9b7e64e0fac9159bd097aaf43b8443c32
Last Modified: Tue, 08 Apr 2025 02:19:05 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:7f78158c735189baf805c6205e46c2ce26ac33f0e07077ca2b5e4492bd94fe80
Last Modified: Tue, 08 Apr 2025 06:56:16 GMT
Size: 1.6 MB (1564551 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b6347eae9459e96cd41161d543d38b0607c82da4f8315965bc4903c4f1124262
Last Modified: Tue, 08 Apr 2025 06:56:16 GMT
Size: 312.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:aedffd772bc8179ffc590b652f1cd76b0d636fda3e86b00f942a1da44f2e542a
Last Modified: Tue, 08 Apr 2025 06:56:16 GMT
Size: 750.6 KB (750621 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:655e13129d93c963219a56ac7e92f573050d4951f0dc295286134f9c3cbbb00a
Last Modified: Tue, 08 Apr 2025 06:56:16 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0802903e75b73307bc79a4a2198ced939744e52136d91b349a464edeeaafb240
Last Modified: Tue, 08 Apr 2025 07:06:56 GMT
Size: 21.5 MB (21490226 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-php8.4-apache-bookworm
- unknown; unknown
$ docker pull drupal@sha256:d7f54e18e4e31707798ba5c25dab499e9ac76728a9bd65e3835d8c28b37d5ef6
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.7 MB (6729413 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:fa9839b80ef919875148e8b8a944b10659c3646e764bdea8093df7fd568af810
Layers:
sha256:b48748d8b4a500c0bcfbad85f444cf48682bfd40192b4528e29fdb617ac6b8dd
Last Modified: Tue, 08 Apr 2025 07:06:56 GMT
Size: 6.7 MB (6691171 bytes)
MIME: application/vnd.in-toto+json
sha256:026959dc3075bb25ca1ddccfe848915807055c359880469312cda1ff350c9794
Last Modified: Tue, 08 Apr 2025 07:06:56 GMT
Size: 38.2 KB (38242 bytes)
MIME: application/vnd.in-toto+json