$ docker pull drupal@sha256:24aebb6552f653ce467fcbf4c22b93f96f620091faa262ec1c6d2c7e562d3015
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-apache
- linux; amd64
$ docker pull drupal@sha256:6f76a5c517c01ffa2d1fc445a55e6f299d63a70e2df70cf24c96cbd8434f9776
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 201.3 MB (201259397 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:977d8a2f4edb895d94ba731968599ed1f42ae4e126baea6f3e7ae74a4aafe76e
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 03 Apr 2025 03:27:18 GMT
RUN # debian.sh --arch 'amd64' out/ 'bookworm' '@1743984000'
# Thu, 03 Apr 2025 03:27:18 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 03 Apr 2025 03:27:18 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 03 Apr 2025 03:27:18 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_VERSION=8.3.20
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.20.tar.xz.asc
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_SHA256=f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 03 Apr 2025 03:27:18 GMT
STOPSIGNAL SIGWINCH
# Thu, 03 Apr 2025 03:27:18 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /var/www/html
# Thu, 03 Apr 2025 03:27:18 GMT
EXPOSE map[80/tcp:{}]
# Thu, 03 Apr 2025 03:27:18 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:3c380393612c7ae5e4368c644933f0bf0135f8a899eb456021bcc91da39c1661
Last Modified: Fri, 11 Apr 2025 17:04:13 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b572e7d435ebf7176ff4397d95a0496a2b27f092b75d1fbb6387c35ff0f4cd3c
Last Modified: Fri, 11 Apr 2025 17:04:15 GMT
Size: 104.3 MB (104329271 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2bf4c896a41f9fba3e50a9bd5b545b13e0a187c29fe13b68efb30bfe78f20dac
Last Modified: Fri, 11 Apr 2025 17:04:13 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f908a498d7f2b1e971ee929ee6711baa34319bd9ed1c58964f1b168183be387e
Last Modified: Fri, 11 Apr 2025 17:04:13 GMT
Size: 20.1 MB (20123820 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b85bb09a2508e336fab16c177ba1e04b25c43901cbee47df1f7ff5b8405d99e7
Last Modified: Fri, 11 Apr 2025 17:04:14 GMT
Size: 431.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1c16674b494465bde3924ef33aa14fc8aac7c08504e4474b92d11b290206e600
Last Modified: Fri, 11 Apr 2025 17:04:14 GMT
Size: 483.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:43e388f23402dc78778d9f349a89bca113d14c0bc98d97091047dc7acad5b89a
Last Modified: Fri, 11 Apr 2025 17:04:15 GMT
Size: 12.7 MB (12677434 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a79fe010e10ff9e17a7302e6b9716058806961f882c686678dfb93ed8348361c
Last Modified: Fri, 11 Apr 2025 17:04:15 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:deee30f0536626d13666473496baa1a45e4b0eccc1ff64b53d95b7f7d237ca00
Last Modified: Fri, 11 Apr 2025 17:04:15 GMT
Size: 11.7 MB (11657149 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0033f758335d03dd48be01d835e66b7470e8f1c8b671cf3726ed5eca67868128
Last Modified: Fri, 11 Apr 2025 17:04:15 GMT
Size: 2.5 KB (2454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8b7fde42057c813f7f64d37338fd02f87f1b6982cfaa273a1613979235066af6
Last Modified: Fri, 11 Apr 2025 17:04:16 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3a45e2270887140998900a5a0215b24e4345971d287f8b6cf799e7782f385d99
Last Modified: Fri, 11 Apr 2025 17:04:16 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:483a2d7476a804bfe101ed24b30e01bc48ac53009dce3a35ab6613f6919da5d3
Last Modified: Fri, 11 Apr 2025 18:11:36 GMT
Size: 2.0 MB (1999955 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ff397316e5add500dc781ed308b92ead09a3a8c3c702c9269ab9b2394964e4a0
Last Modified: Fri, 11 Apr 2025 18:11:36 GMT
Size: 313.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b8850305245a955a5c27d8a62172be5ba92a37f0e8d79a330997caea1f7b388d
Last Modified: Fri, 11 Apr 2025 18:11:36 GMT
Size: 750.6 KB (750620 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ece2c2107e61a3f9b823e9556bfcb877b02572d9c6cbe2eeb9fe1940cd43b7bb
Last Modified: Fri, 11 Apr 2025 18:11:36 GMT
Size: 115.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:124d37e8edaa96bd2acc7c0526927046ceb68a26c9834d962b422adbf302b70b
Last Modified: Fri, 11 Apr 2025 18:11:38 GMT
Size: 21.5 MB (21487983 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-apache
- unknown; unknown
$ docker pull drupal@sha256:8e69cf86a157b62cc84d76a5dfe712f30af6feb3ad496501e3818339844ae882
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6893577 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:1d5e595fe9d3fcd5fb443142b9e2f60b0c5a7031f1c6aedddd257b9bd077dc40
Layers:
sha256:45a520828fe94ab08a68a4698c6db2d2d1ea4572b11fd3e0b5f47ab012e3aa1a
Last Modified: Fri, 11 Apr 2025 18:11:36 GMT
Size: 6.9 MB (6852535 bytes)
MIME: application/vnd.in-toto+json
sha256:e8fe1f4049247b9fbf9169f6275b7daa06ca7607f1dfb1b9fe528ec5e58da5d7
Last Modified: Fri, 11 Apr 2025 18:11:35 GMT
Size: 41.0 KB (41042 bytes)
MIME: application/vnd.in-toto+json
drupal:10-apache
- linux; arm variant v7
$ docker pull drupal@sha256:f820d617a306867362fb6c3b96cc0503c028700747ef48b2627a6525bd7761d9
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 165.3 MB (165286040 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:a76ef1c6f1ea640e96151ffd7c44fddf5fe5bc86808489ade8c86cf74b6112a3
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 03 Apr 2025 03:27:18 GMT
RUN # debian.sh --arch 'armhf' out/ 'bookworm' '@1743984000'
# Thu, 03 Apr 2025 03:27:18 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 03 Apr 2025 03:27:18 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 03 Apr 2025 03:27:18 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_VERSION=8.3.20
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.20.tar.xz.asc
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_SHA256=f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 03 Apr 2025 03:27:18 GMT
STOPSIGNAL SIGWINCH
# Thu, 03 Apr 2025 03:27:18 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /var/www/html
# Thu, 03 Apr 2025 03:27:18 GMT
EXPOSE map[80/tcp:{}]
# Thu, 03 Apr 2025 03:27:18 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:391bc5014a768c389fed17b7a87d9786e9161940f575c2a1d3188618415a4024
Last Modified: Fri, 11 Apr 2025 18:14:01 GMT
Size: 12.7 MB (12675556 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:dfbc3e6475d17a72b2d29159f95cd8c3411c5d9dcfa84bf1350fe529f00cfb50
Last Modified: Fri, 11 Apr 2025 18:14:01 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:95a0dfa18509b62317411503d1dd37d6a1f33e294a7fa87daff5971de5eebaa5
Last Modified: Fri, 11 Apr 2025 18:14:01 GMT
Size: 10.1 MB (10051631 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:134f3cebf6e903bf21c7d2d246dc0a4b280630c8630bfd1bcb3e38b8d7759f44
Last Modified: Fri, 11 Apr 2025 18:14:01 GMT
Size: 2.5 KB (2457 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:21769b85294442efd6cde520f2290ec354fc4bfa6b5d41ad62e189390645b3f9
Last Modified: Fri, 11 Apr 2025 18:14:02 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:20ff06d573e0e00bf3b8f18711720f517b9111fb32d0a30c4b2f5a9d6ca67e1f
Last Modified: Fri, 11 Apr 2025 18:14:02 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:ce9a0ebdc9ce3528cc159f6caf665d2c593b899f623081f0760da655fbb875b9
Last Modified: Fri, 11 Apr 2025 20:29:24 GMT
Size: 1.4 MB (1354965 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:51205fb420f2f34da2cedd0603268019f0a445073c3159f8fbc5d79d81048af8
Last Modified: Fri, 11 Apr 2025 20:29:24 GMT
Size: 315.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c58f177a8a93db42936b4dca5fd737a3df807d73c6f4fcac8fd234470faf81e5
Last Modified: Fri, 11 Apr 2025 20:29:24 GMT
Size: 750.6 KB (750623 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:129ab0731848152bfffee018334759be8f5b8e5ed96d2f99239e787f712931cc
Last Modified: Fri, 11 Apr 2025 20:29:24 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9b0cdeb1333477d77043df1d8a3d849ffc547ae8454c20ee06ee3519221f1c37
Last Modified: Fri, 11 Apr 2025 20:45:04 GMT
Size: 21.5 MB (21489466 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-apache
- unknown; unknown
$ docker pull drupal@sha256:86918f77b201b654714eb8170083be220c6e2216df816f398d6a5c4ee9ed5245
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.7 MB (6708889 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:c0f6ce360c9b3f429f4a5b7113bc990cc97fa1ac8a823fbfe79d04064bc0df06
Layers:
sha256:be09666e26aa104a675a6b37d02fdd0f43e21606be81049555d64504d4c3181f
Last Modified: Fri, 11 Apr 2025 20:45:03 GMT
Size: 6.7 MB (6667617 bytes)
MIME: application/vnd.in-toto+json
sha256:c9b46c464ad11b77f38654eb462b5f8e838d280c7cdd5859e6602803d296e5a2
Last Modified: Fri, 11 Apr 2025 20:45:02 GMT
Size: 41.3 KB (41272 bytes)
MIME: application/vnd.in-toto+json
drupal:10-apache
- linux; arm64 variant v8
$ docker pull drupal@sha256:3216bd022e92fb53419f79ca4f793761b02103557b3d9e3908e0e47bd90f158d
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 195.2 MB (195155819 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:d992c6727547244d51429920c8ce57e682652a226c54735bca71a905e5d540ca
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 03 Apr 2025 03:27:18 GMT
RUN # debian.sh --arch 'arm64' out/ 'bookworm' '@1743984000'
# Thu, 03 Apr 2025 03:27:18 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 03 Apr 2025 03:27:18 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 03 Apr 2025 03:27:18 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_VERSION=8.3.20
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.20.tar.xz.asc
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_SHA256=f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 03 Apr 2025 03:27:18 GMT
STOPSIGNAL SIGWINCH
# Thu, 03 Apr 2025 03:27:18 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /var/www/html
# Thu, 03 Apr 2025 03:27:18 GMT
EXPOSE map[80/tcp:{}]
# Thu, 03 Apr 2025 03:27:18 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:e046be774a946618eb18a479fecde94c8fde7e7976d96922e3e0c779cae741ef
Last Modified: Fri, 11 Apr 2025 17:53:28 GMT
Size: 12.7 MB (12677215 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:99fee41294b65818c1c7c6c514f60b1c61bd6085b7fdee195be87d5162471f93
Last Modified: Fri, 11 Apr 2025 17:53:27 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2e29a5ca62084d7cc5a5c49ba3778c6b4ae4d2f77d455839d203d2930e4a4d2b
Last Modified: Fri, 11 Apr 2025 17:53:28 GMT
Size: 11.7 MB (11654099 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:50ca70c780ec08a510f5fa5320c93ee625432060149c4ad390c12ac57dd9a958
Last Modified: Fri, 11 Apr 2025 17:53:27 GMT
Size: 2.5 KB (2457 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:35c50c5aa7a0ab63b9345b82a916baf32963ae2965f4b7510bc3579dce2e7478
Last Modified: Fri, 11 Apr 2025 17:53:28 GMT
Size: 245.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ec7efd4155c5d7970d87b1b1555ec7d0bfa5519294f6d8feae92ed24b6076bb3
Last Modified: Fri, 11 Apr 2025 17:53:28 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:c519a6db3e533757131d0d3173127f63736fde53ef33009aa3d7f05f3761ef47
Last Modified: Fri, 11 Apr 2025 20:36:39 GMT
Size: 2.3 MB (2260039 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:39599a608c7bb383d62573c33c238c6481755e34fa66dc2a759d23b320e2e7ac
Last Modified: Fri, 11 Apr 2025 20:36:38 GMT
Size: 314.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:eed27bca7fb896daa573532768424db8f9e9d7b2e2b14e80147386d78a0a7c37
Last Modified: Fri, 11 Apr 2025 20:36:39 GMT
Size: 750.6 KB (750625 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:8d8746de6036ec0a6fdcef63c057954d037360b67a4d41e80ac1ca157d34eb13
Last Modified: Fri, 11 Apr 2025 20:36:38 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:130db0b058e88f8dcef909eee6e0e4125455ffe2b9d527cc39ffa7de889ef5c6
Last Modified: Fri, 11 Apr 2025 20:53:17 GMT
Size: 21.5 MB (21490229 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-apache
- unknown; unknown
$ docker pull drupal@sha256:0a1f192b6c04f7fd0ed21024193e9fdf59ea32ac2efaf8ca36f492e0924913dd
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6922479 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:9888e729f8db2b19a59131590621dba969a3baa7225338bb1d86f009ff456af5
Layers:
sha256:13dee24369b3bbf4ce899460910ede257c3dc90cf29fef42710dee980199b0b3
Last Modified: Fri, 11 Apr 2025 20:53:16 GMT
Size: 6.9 MB (6881115 bytes)
MIME: application/vnd.in-toto+json
sha256:adf7e7374047046c6d70db17057aab9a1e0a1cdfa1be3caf7c3ae77667cb28ff
Last Modified: Fri, 11 Apr 2025 20:53:16 GMT
Size: 41.4 KB (41364 bytes)
MIME: application/vnd.in-toto+json
drupal:10-apache
- linux; 386
$ docker pull drupal@sha256:d980bba059ed5552c65ee908f5cef6c9998943e765baad7164155cb2ab7ca048
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 200.2 MB (200220168 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:eca08c7497c9ca851afaf610be14ea6a5aaac18cea467b3215bc546a0691ed7b
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 03 Apr 2025 03:27:18 GMT
RUN # debian.sh --arch 'i386' out/ 'bookworm' '@1743984000'
# Thu, 03 Apr 2025 03:27:18 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 03 Apr 2025 03:27:18 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 03 Apr 2025 03:27:18 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_VERSION=8.3.20
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.20.tar.xz.asc
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_SHA256=f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 03 Apr 2025 03:27:18 GMT
STOPSIGNAL SIGWINCH
# Thu, 03 Apr 2025 03:27:18 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /var/www/html
# Thu, 03 Apr 2025 03:27:18 GMT
EXPOSE map[80/tcp:{}]
# Thu, 03 Apr 2025 03:27:18 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:542e5e8df7386c066484cdf82cc9ce24abee291409d0f8f5b8a9eceb90167168
Last Modified: Fri, 11 Apr 2025 17:03:47 GMT
Size: 226.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:e681c6924804f0ca01976f34a79ba5247baa3125c40bb0482d999f818c685c0e
Last Modified: Fri, 11 Apr 2025 17:03:50 GMT
Size: 101.5 MB (101512165 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3daed31d2ff34d3e9d8148a8daccc0f0552df54537fa88c27337aad019a20f59
Last Modified: Fri, 11 Apr 2025 17:03:47 GMT
Size: 227.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b1d9ca1c39f9ab889beec0ca1d4fc006ced58271187ef311611a2f1cd5a05440
Last Modified: Fri, 11 Apr 2025 17:03:48 GMT
Size: 20.6 MB (20638441 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0c9d9ce1a5e202ff53b9705aa437fc30df37170719c42e85ff530c2d2466b276
Last Modified: Fri, 11 Apr 2025 17:03:48 GMT
Size: 430.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ac57543fa71feb6c1a6cfaf33795b3a1adceff783709cba7a8dd31163bb6412a
Last Modified: Fri, 11 Apr 2025 17:03:48 GMT
Size: 481.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c24939ab076eb94f621b1e158b880b182f33cbc35d408830d34ff5e2b16f420a
Last Modified: Fri, 11 Apr 2025 17:03:49 GMT
Size: 12.7 MB (12676463 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:f5467f8b5de9e0edb98add9b725370a303a6d12aacb8f93ceac84f139ffb6fed
Last Modified: Fri, 11 Apr 2025 17:03:49 GMT
Size: 489.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:700cbeb628309271e4634cfbea7c8cd3ac305fd43c7dca102030454089f9cf69
Last Modified: Fri, 11 Apr 2025 17:03:50 GMT
Size: 11.9 MB (11883350 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2f0f1c0e25471e41618b93d1c5a74e04701d39336f0dec5d1b9e38b477dd2f51
Last Modified: Fri, 11 Apr 2025 17:03:50 GMT
Size: 2.5 KB (2454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6023dc720ca53627fa15689afaa3138e535920260fb4e57b1a8e320f0cb4e6b4
Last Modified: Fri, 11 Apr 2025 17:03:50 GMT
Size: 243.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d52ec3289bece64ead20acb03971f701235382f7c915ec1bfe27d4b29b14a7e9
Last Modified: Fri, 11 Apr 2025 17:03:51 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:5c42560241e148199bd57c5cba9882c82215a8c05625f53e899f2795da0d2e4a
Last Modified: Fri, 11 Apr 2025 18:11:30 GMT
Size: 2.1 MB (2052960 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:82ff047600b55102324daa7f70f655dd1f78bb32e85adef7f3f0a5163b377537
Last Modified: Fri, 11 Apr 2025 18:11:30 GMT
Size: 313.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ee4e35c2a648056406c5ce09818139d1f3e4db75b84cedcfa4bbe7d38192b636
Last Modified: Fri, 11 Apr 2025 18:11:30 GMT
Size: 750.6 KB (750619 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6e49271b3abce8e2fbdd4531ec6a9ba484ff951c14a1ae46c85129ec2353d5c7
Last Modified: Fri, 11 Apr 2025 18:11:30 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ad10f12bad76d3951565bb420d1695b82c24d7a7b85c2a42c63b64791404553e
Last Modified: Fri, 11 Apr 2025 18:11:31 GMT
Size: 21.5 MB (21489539 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-apache
- unknown; unknown
$ docker pull drupal@sha256:eb1f702dada95384e0427481009bd63257ae624aaedf07ddab4df63408de0538
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6873665 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:c95f2dbc3a4051257802b13de2a146135001d263071144ef640daec492155eda
Layers:
sha256:ba6a8f6d15d9341d41f3cf343883c925a4a553872d8bb74f559c1995ca30cb2e
Last Modified: Fri, 11 Apr 2025 18:11:30 GMT
Size: 6.8 MB (6832736 bytes)
MIME: application/vnd.in-toto+json
sha256:df27c12a59a2a2131f5dfe8fcb6abc7128c0247e6dc11668570c0e418baf4a3c
Last Modified: Fri, 11 Apr 2025 18:11:30 GMT
Size: 40.9 KB (40929 bytes)
MIME: application/vnd.in-toto+json
drupal:10-apache
- linux; ppc64le
$ docker pull drupal@sha256:034ba8c831f45f15882985a3e6b4cef4a152d29bb9274353d0ea3e40d0bc376c
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 205.6 MB (205552547 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:7abafa2a0cdda68a011bd171901abe29fe6d893bc684f097fb3e3a5c88fbed8d
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 03 Apr 2025 03:27:18 GMT
RUN # debian.sh --arch 'ppc64el' out/ 'bookworm' '@1743984000'
# Thu, 03 Apr 2025 03:27:18 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 03 Apr 2025 03:27:18 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 03 Apr 2025 03:27:18 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_VERSION=8.3.20
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.20.tar.xz.asc
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_SHA256=f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 03 Apr 2025 03:27:18 GMT
STOPSIGNAL SIGWINCH
# Thu, 03 Apr 2025 03:27:18 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /var/www/html
# Thu, 03 Apr 2025 03:27:18 GMT
EXPOSE map[80/tcp:{}]
# Thu, 03 Apr 2025 03:27:18 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:1555535d01338c7b168074e7d0a5b0549ce2d491b8d8f012f09b45285371e406
Last Modified: Fri, 11 Apr 2025 17:45:54 GMT
Size: 12.7 MB (12676925 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3f3891f6b762d5f760ecdc6460c698b8ffdeacb09bd5606e82b3306c047b67e5
Last Modified: Fri, 11 Apr 2025 17:45:53 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:879aa5ba469d6acc90034ae06fcf8905b5c5fafa1803cd13a5df71c5ac13cf74
Last Modified: Fri, 11 Apr 2025 17:45:54 GMT
Size: 12.1 MB (12071713 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:fe346647f224610b3bb3d97d0eb8686dbfd82819d9e21fc0633df2855930a390
Last Modified: Fri, 11 Apr 2025 17:45:53 GMT
Size: 2.5 KB (2455 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:52a02e3d7f3f5ea5b2ead1567dc9d32b78623abffb1c6009c6ae7f5efbbe1294
Last Modified: Fri, 11 Apr 2025 17:45:54 GMT
Size: 248.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a02217602f305e8c8d7c41f59c6d3e1620a0fcd3cf9f58d6da8517d33de94192
Last Modified: Fri, 11 Apr 2025 17:45:54 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:f694cb1dc62fe9412553a6553c6c90b86a253a10fb7f83e2d3f5cb512162e269
Last Modified: Fri, 11 Apr 2025 20:56:44 GMT
Size: 1.9 MB (1856087 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:cbd24bc0157d19e054f9845d5672672d2d4b5f389627a6db7ae5137bb42e22e7
Last Modified: Fri, 11 Apr 2025 20:56:44 GMT
Size: 316.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a1d5ae552523815b52ad00a367106e7c6ef23c38b5794aa776d41be50129487b
Last Modified: Fri, 11 Apr 2025 20:56:44 GMT
Size: 750.6 KB (750625 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:eef36a11cbad53962c527caf748317720f9d53334794501e085fd0c6342b9424
Last Modified: Fri, 11 Apr 2025 20:56:44 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:dae1550d905abae7fd0dbf5f6be321e873450c7b4a586ed327690b7014675be7
Last Modified: Fri, 11 Apr 2025 21:12:34 GMT
Size: 21.5 MB (21489848 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-apache
- unknown; unknown
$ docker pull drupal@sha256:aa57c1b332a0ef95877adf69896c53a41cee86bcdcd2195f1bc38e1403938145
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.9 MB (6870817 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:1136b1e30826c96b6f6e257d541d3837aabe7157cec8863ad11d319057fa6ca7
Layers:
sha256:20389722e2ff61f83496d4458a6a687b055f3f9d50022054e8e01d012851565e
Last Modified: Fri, 11 Apr 2025 21:12:32 GMT
Size: 6.8 MB (6829633 bytes)
MIME: application/vnd.in-toto+json
sha256:f0e736519642bcd0b118dc275759d61c27d69f7670299cad6b82fe8dcb1c3216
Last Modified: Fri, 11 Apr 2025 21:12:31 GMT
Size: 41.2 KB (41184 bytes)
MIME: application/vnd.in-toto+json
drupal:10-apache
- linux; s390x
$ docker pull drupal@sha256:33e2d0f3db5d398795409edbfdb95786de8dbea1df7a70ea4d8fbe6179e21670
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 174.9 MB (174948736 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:eee5a3042b4bf56645193838433d38beb646823bb87b86028b0fd17c1e580bc5
Entrypoint: ["docker-php-entrypoint"]
Default Command: ["apache2-foreground"]
# Thu, 03 Apr 2025 03:27:18 GMT
RUN # debian.sh --arch 's390x' out/ 'bookworm' '@1743984000'
# Thu, 03 Apr 2025 03:27:18 GMT
RUN set -eux; { echo 'Package: php*' ; echo 'Pin: release *' ; echo 'Pin-Priority: -1' ; } > /etc/apt/preferences.d/no-debian-php # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV APACHE_CONFDIR=/etc/apache2
# Thu, 03 Apr 2025 03:27:18 GMT
ENV APACHE_ENVVARS=/etc/apache2/envvars
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Thu, 03 Apr 2025 03:27:18 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_VERSION=8.3.20
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.20.tar.xz.asc
# Thu, 03 Apr 2025 03:27:18 GMT
ENV PHP_SHA256=f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 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, 03 Apr 2025 03:27:18 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
RUN docker-php-ext-enable sodium # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
ENTRYPOINT ["docker-php-entrypoint" ]
# Thu, 03 Apr 2025 03:27:18 GMT
STOPSIGNAL SIGWINCH
# Thu, 03 Apr 2025 03:27:18 GMT
COPY apache2-foreground /usr/local/bin/ # buildkit
# Thu, 03 Apr 2025 03:27:18 GMT
WORKDIR /var/www/html
# Thu, 03 Apr 2025 03:27:18 GMT
EXPOSE map[80/tcp:{}]
# Thu, 03 Apr 2025 03:27:18 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:4b9b09af09800fb8b7f8aa6f6b6f5db0d91f7f4de8ae7ab56e32311cd0a6ce8f
Last Modified: Fri, 11 Apr 2025 17:51:45 GMT
Size: 12.7 MB (12675929 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:03926d7d59854f445c7560e985f3fbfb64359d6eaafa8d6d76ffbc5f5b3cd102
Last Modified: Fri, 11 Apr 2025 17:51:44 GMT
Size: 488.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:45cba2bfe12f73b86c0a3abfeff112ba939c7ce7c62101388915f518dfc7099a
Last Modified: Fri, 11 Apr 2025 17:51:44 GMT
Size: 10.9 MB (10876289 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0cd87b2c8dcdad2c0f54539ad0b63bba40b70a60de0ae0b20a1bb5f48f323002
Last Modified: Fri, 11 Apr 2025 17:51:44 GMT
Size: 2.5 KB (2457 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1d1d2d35ef17dd2fa75764e2dfbc15e7a09e2c0fdb5d4c41266956a8cd17db64
Last Modified: Fri, 11 Apr 2025 17:51:45 GMT
Size: 247.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:a6b3edce6f52162fb24e5814d69cca4cf2efb5b5aeb2cb8ad5c6e86a3fe71fdb
Last Modified: Fri, 11 Apr 2025 17:51:45 GMT
Size: 894.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:5d26b38aed47d5305707083dc361d101984784ea5925e2b50a6c22a454632ad9
Last Modified: Fri, 11 Apr 2025 20:27:23 GMT
Size: 1.6 MB (1553543 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:20671a7118269bdb5bf963ae9ff262dc7ee6e3a0503deeadaa06b16ec4321fff
Last Modified: Fri, 11 Apr 2025 20:27:24 GMT
Size: 314.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:688f3e9937c0abd1c285b218d0906be8cf9add41a230689fceed23eac23e5bd1
Last Modified: Fri, 11 Apr 2025 20:27:24 GMT
Size: 750.6 KB (750622 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6cd63e2de7921f491b5da45c970519ed1b9bc1e9034958659d737f0593a79d7d
Last Modified: Fri, 11 Apr 2025 20:27:24 GMT
Size: 114.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:44e47b597ed7e55e28b0b06ea5e13c31511de1024500c9f3787bcb70db564b60
Last Modified: Fri, 11 Apr 2025 20:36:34 GMT
Size: 21.5 MB (21490038 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
drupal:10-apache
- unknown; unknown
$ docker pull drupal@sha256:fe32f62b4e4fc4cdfb21e7b3d5524de302780f2d5acc46614b8ba6bb11e0f583
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 6.7 MB (6734994 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:2cbd468c73beeb44bfe79264297042828fc6e7b0811ccb9e673689077f6b73ae
Layers:
sha256:623027dd9d429837c71c5b920b7556cb1129e409997e46138c1613aa33a41966
Last Modified: Fri, 11 Apr 2025 20:36:34 GMT
Size: 6.7 MB (6693959 bytes)
MIME: application/vnd.in-toto+json
sha256:97d0ecf4a4ac52f58e463f74f9a6f58dc7a01bb16089649878df76899d157b90
Last Modified: Fri, 11 Apr 2025 20:36:34 GMT
Size: 41.0 KB (41035 bytes)
MIME: application/vnd.in-toto+json