2024-10-08 01:03:12 UTC
242 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:c953524ed27d53ce5e7d4e7487137789de73f4058e96b05284eefbcae1b47c26 - 11.89% (28.7 MB)
[#001] sha256:138795898cf1de35ac46bb272c1c2476a14caa25663387836c955b1d89e2f74e - 0.0% (225 Bytes)
[#002] sha256:86ec2d8cda04ca38232896364bf367b18146c275503f43c81e6298173cc87253 - 40.04% (96.8 MB)
[#003] sha256:b02e654bcb676bf538ed8701ea1e8b582043bd3457c58bfc84a0010d5d901176 - 0.0% (224 Bytes)
[#004] sha256:7ee4662d7837b680b2cf24f465f80bcef0300f1ec9bbb06e018c3978e371c90e - 8.22% (19.9 MB)
[#005] sha256:615b9307c3c3e45c2cfbb1dd17c4ff6c4be3f73f822dd0da5db7f24a3821eae7 - 0.0% (437 Bytes)
[#006] sha256:ef1d934e341d81156439ae04b7ad4f0a24a93ed31030a9ca4125ebd8a4745c0d - 0.0% (486 Bytes)
[#007] sha256:561f13185c087a79fc530e0ed7eeb43c9b00ba108a72cbbf8d847e436496c928 - 4.91% (11.9 MB)
[#008] sha256:d9ee77d2867650f5d0ee395cf3eab6fc4d26bf5668c4c4e39fc8d829070e5c55 - 0.0% (492 Bytes)
[#009] sha256:d93e05390b3f91a4033a82c8f3866f29637272b66a4f744e92fe1764a87ebbcc - 4.59% (11.1 MB)
[#010] sha256:b384193b4d1845259a0626f62d93e5f4aca43c4963dcf826fbc2ba5f9c9a0463 - 0.0% (2.4 KB)
[#011] sha256:10fc2478faa41313a1772a12469ae15c448e29f5bd6ca8dbdd47903438603be0 - 0.0% (243 Bytes)
[#012] sha256:937f269e68890d4e8fe8aec1c6482b95a6b6a9e80f584a55bb88e200c7bff387 - 0.0% (891 Bytes)
[#013] sha256:05b9327dd172da35b89a5649e7ca8da9129e0bf7499d119e8f8832dac43ca914 - 10.53% (25.5 MB)
[#014] sha256:6180ff859ec3d998bfdc48e38dd03942e46baa68678ac8a500319e737090c28b - 5.32% (12.9 MB)
[#015] sha256:08307dcb92cfb06df8f27aed2f23ec815bd166b4ece3e851aefea6c518da08e6 - 0.0% (360 Bytes)
[#016] sha256:276443b9f6205bb7dca304e498fe693d9adc76bad79fdfbf17237773561c16e3 - 0.0% (387 Bytes)
[#017] sha256:c79f7f9472c8a91fe06f55e9c664d0a234516008a39e9face5fd271d6c5f0aed - 0.01% (18.7 KB)
[#018] sha256:a792c08c5a06f506a18ab0a79815da8bed3f9c4ec25921314034c04494109abe - 14.49% (35 MB)
[#019] sha256:edb15fc2a4531bb555322a4383c925ddc1086fe73bb541639094902f460ce02e - 0.0% (2.38 KB)
[#020] sha256:e0fae93e106b82941aa7c98af7b2182507f5170bb8264aeb9763ac1cf4eec564 - 0.0% (1.68 KB)
/bin/sh -c #(nop) ADD file:7ad74dd13b6c84de2920c6d09de06e914d0b78ba06ae75260d6e6ff344a4b024 in /
2024-09-27 07:23:01 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 08:12:16 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 08:12:16 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 08:12:40 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 08:12:41 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 08:12:42 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 08:19:39 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 08:19:39 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 08:19:49 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 08:19:50 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 08:19:51 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 08:19:51 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 08:19:51 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 08:19:51 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 10:00:57 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 10:00:57 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 10:00:57 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 10:00:58 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 10:01:09 UTC/bin/sh -c 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
2024-09-27 10:01:09 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 10:07:15 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 10:07:16 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 10:07:16 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 10:07:17 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 10:07:17 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 10:07:17 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 10:07:17 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 10:07:17 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 10:07:17 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
246 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:302e3ee498053a7b5332ac79e8efebec16e900289fc1ecd1c754ce8fa047fcab - 11.28% (27.8 MB)
[#001] sha256:07fc0890b857ec241446d5da032bf36da2a006ce8868ba150a76a1ee16772b39 - 0.0% (225 Bytes)
[#002] sha256:141aa7d58c576d5efbf995cfdd139044be15add60b2f0e5f7b295fdc4cc511d3 - 40.42% (99.5 MB)
[#003] sha256:2720d4bca8b3db19acbea04618296e463e4cde1df16c277954505ad4e50893eb - 0.0% (223 Bytes)
[#004] sha256:82deca51468c5fb0464e6db26d14da0d5605682524cb4acfafbbc7cc55a2b20e - 7.87% (19.4 MB)
[#005] sha256:dec741dfa52689fcf27c3934a0b87bdaefb62c643d04fe352f88589f791315e9 - 0.0% (437 Bytes)
[#006] sha256:e204b0efab9499a1608734207890fb199b60d100af89f57dc74f1ca26a00f8d5 - 0.0% (489 Bytes)
[#007] sha256:0a9b8825ee85fc4938aaf820f3caf1223417b94afec555058896f5b22507694b - 4.82% (11.9 MB)
[#008] sha256:ef45e9da2633a738d27d41da1df46c1f67f160743fab61eba2df3a7c35a22289 - 0.0% (490 Bytes)
[#009] sha256:f2b46378d521434bae6da351a128bfab45a8b2231106fd1bd946aa5220eea6a8 - 4.42% (10.9 MB)
[#010] sha256:5c104459ddadb2f472d9239c9d997b1f6163c8e5c7307aa24b0e78693c56cd9c - 0.0% (2.4 KB)
[#011] sha256:282db878d4dda03bc59a283134735a2b602fad3e0d969b40d2159a55659cb8d8 - 0.0% (243 Bytes)
[#012] sha256:4a1f827cc210d8b001bc4c20ca2cb4dbc5679cff500d40ff52e89d8bc24c5b20 - 0.0% (893 Bytes)
[#013] sha256:40dafd9319942a1b4e757d1c5a29c401f7bf3c118ec5227b9eba748f9bfeb073 - 10.17% (25 MB)
[#014] sha256:d5e543e98a5c69158b4d457ec66fe05d8d83e1f0229eed72c4fc97126f1511ba - 6.77% (16.7 MB)
[#015] sha256:bda974f2268b25f5c6163f985e444b08beff5969107a388f5f35da81e2d34ada - 0.0% (360 Bytes)
[#016] sha256:8d41c8e19f9938648b7b503045a8d497f8ac07f9c89b34ff15b35d0dd4a65e65 - 0.0% (389 Bytes)
[#017] sha256:d8d2fff6e0f3db6b7554f687a6f1936593e073d49eabed098e5027d1d54f835e - 0.01% (18.7 KB)
[#018] sha256:b6424494497c409ad3ecc4d063c6237eed91c3778c36eef1c82302d6cf6fb110 - 14.23% (35 MB)
[#019] sha256:1e066e917fbf0388514521610194c2f6a96743a608e256f7649cc69ec94e523a - 0.0% (2.38 KB)
[#020] sha256:6d0e50b0a8e18ea4d65b061525c5db0923c6b0762b8ed806cb6c1fa29007890f - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:a9a95cfab16803be03e59ade41622ef5061cf90f2d034304fe4ac1ee9ff30389 in /
2024-09-27 04:29:32 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 05:40:06 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 05:40:06 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 05:40:23 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 05:40:24 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 05:40:25 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 05:44:30 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 05:44:30 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 05:44:38 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 05:44:38 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 05:44:39 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 05:44:39 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 05:44:39 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 05:44:39 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 06:45:24 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 06:45:24 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 06:45:24 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 06:45:24 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 06:45:33 UTC/bin/sh -c 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
2024-09-27 06:45:33 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 06:49:05 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 06:49:05 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 06:49:06 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 06:49:06 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 06:49:06 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 06:49:06 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 06:49:06 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 06:49:06 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 06:49:06 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
217 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:75a20c44e8becd141ba586ea413a1649251437a207502d4f8ad23d208f013e60 - 11.84% (25.6 MB)
[#001] sha256:a4abee9b0737593e9835dc555292a01c58c3fb19f389ffbb556e3ec83d8222c6 - 0.0% (227 Bytes)
[#002] sha256:36e5de77c609405dc64f2e8c8206bbec62da53ccc60aedc603672b7a337a412b - 36.11% (78.2 MB)
[#003] sha256:2ddddd6ae7c7fda37305d6bc5117d36ac423f550ff4c6ad424d1de53e6b2a1e0 - 0.0% (224 Bytes)
[#004] sha256:deccef66bda4d8995be278ceb309f484f6a52595d369da981611dc922e98e887 - 8.64% (18.7 MB)
[#005] sha256:20f63ad9166a15b4f481cc55af64fe92ea1c78d1a77d1d9d16f34bf495afdfae - 0.0% (438 Bytes)
[#006] sha256:5517924e644a07b5b6ba20a6189dc63a69c99f73da7e8bdb535bfaccaa37d098 - 0.0% (492 Bytes)
[#007] sha256:a5c677df6d5476e48e4baa887258617c6a7576a325e67648fc267a220d369f54 - 5.48% (11.9 MB)
[#008] sha256:7bda9f496be5aa5db0b1d6e3664dd26fe0666eb2a36923852b0868a36fb85d36 - 0.0% (490 Bytes)
[#009] sha256:8e0b7c20e5283235884f774e80308adf04635a2b1feca80c7ce774308998c08d - 4.58% (9.91 MB)
[#010] sha256:96d8ab1b0bf6a03e6e4f110b639f8253e8ed42d8f83384886aef8b2c3c03a9bd - 0.0% (2.4 KB)
[#011] sha256:98f7c1756f2245c74a6ba06a4ea90201af8defbdacb29d54cd600763ab088cfe - 0.0% (246 Bytes)
[#012] sha256:954b26bee1c396a1d68f9a9d15f0e1916e6614cf9a064c105c0331fd6b4f9219 - 0.0% (892 Bytes)
[#013] sha256:96528664c4059e3c8b42bb51b04905469abf62c65303387d9cb200d369e1e306 - 11.32% (24.5 MB)
[#014] sha256:1daaaf2127366b38772d454dee209f751b966b1b31da8d4f1efe10be37fc1130 - 5.85% (12.7 MB)
[#015] sha256:afc862065e9c944a9fc5205f13a69ef41b839c77b494c1a9b3acbb32575e7593 - 0.0% (360 Bytes)
[#016] sha256:c071647617f1b5212d9e28950cb94509a71d24bf9aeb7f95b0deed38265a52a0 - 0.0% (392 Bytes)
[#017] sha256:cd6c59f9fb74c74a1c072c7cd580d60ef637490b0d5a094db1007cee1aef6f9a - 0.01% (18.7 KB)
[#018] sha256:e389627a85a484b84425a21c64dfe496205f7c4e5ad1d5ce1413977c04895744 - 16.18% (35 MB)
[#019] sha256:b9a5fc6a0435e3589a1c410823a6cb56f0c6597c6de746824a260aefe39cd9d7 - 0.0% (2.38 KB)
[#020] sha256:2f6097fe45b9270111782b79e388330b223b45d6b4281431065d1aafc9e931ee - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:91b876c600b7d3198bc98296224f6861440f56fcbd15a2188c95a8785b94061a in /
2024-09-27 03:19:20 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 04:06:51 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 04:06:51 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 04:07:13 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 04:07:14 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 04:07:15 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 04:10:28 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 04:10:28 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 04:10:42 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 04:10:42 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 04:10:43 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 04:10:43 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 04:10:43 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 04:10:43 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 04:36:01 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 04:36:01 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 04:36:01 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 04:36:01 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 04:36:12 UTC/bin/sh -c 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
2024-09-27 04:36:12 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 04:39:01 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 04:39:02 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 04:39:02 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 04:39:02 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 04:39:03 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 04:39:03 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 04:39:03 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 04:39:03 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 04:39:03 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
206 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:2136499185ba9023c6db11bbc836b6c428da7969aa7db3ccaac576a10052c9ce - 11.44% (23.6 MB)
[#001] sha256:71b4b796e3156825c9c7128cd43753f55a7b4846d8bb402dd9a77a8abe211f01 - 0.0% (226 Bytes)
[#002] sha256:56632fe12bcb53322059eec59ebb6d32be677cd5a7660f8c58dcbae4c842f7f4 - 35.25% (72.6 MB)
[#003] sha256:7bb66744d163056f62ac800c7c39d0b124a45a20946685aaa7af12a7294b6dd0 - 0.0% (226 Bytes)
[#004] sha256:6ee92f2ee8b075bcd1aeef5d185504ff3e36174d27b571c1d00d251e4aac01f2 - 8.82% (18.2 MB)
[#005] sha256:a43b487640b16be1e8dd3173f866dd400247e62d55fa7a367338223039daed09 - 0.0% (439 Bytes)
[#006] sha256:63d6909db46b1f42af9fe07c4658e5b551d5f0614c90d2978ebd00ec8d848ef4 - 0.0% (488 Bytes)
[#007] sha256:9ac1fd045a39ba4953541f44d7851fd9b237e55adaeedea075bfe91032734c6c - 5.76% (11.9 MB)
[#008] sha256:a6de6931d84a75584f61b609601c48975c336bc36f0a0521b0b418171309212e - 0.0% (492 Bytes)
[#009] sha256:48dc2fb30d7dec3cc4329141d1b25c214b16c99c1c9dbb3c6af56b780c87a77c - 4.55% (9.37 MB)
[#010] sha256:a3981dd0e5135caf2c7aecbe83a4f7b9fc4186f5d9dabb45ca08a53e81bf8782 - 0.0% (2.4 KB)
[#011] sha256:cd176459f376d553b627b1d938e16095194a321ee199af16f8f8a43a20048084 - 0.0% (246 Bytes)
[#012] sha256:c9d2e67247d94640f766196e0f61a630acafb24ba54ae54526a29c8d877bc248 - 0.0% (892 Bytes)
[#013] sha256:80e59dbc1430b5f25af03014198c3664e49d62b6a743845b79f1af047c7180b1 - 11.6% (23.9 MB)
[#014] sha256:09a31fc1c513585975e5ac75afab9c60aeb24d3215a6b724dd22b9f1942eac8c - 5.57% (11.5 MB)
[#015] sha256:bfcbd83ec3a42e3b5f52386e6c2d7548fb0621cd26daff41bbfbafff9d57a5b5 - 0.0% (360 Bytes)
[#016] sha256:c2e276a17497a6567cf21b1e48c98d02dbd26af7c7887beb5856fad53b928b49 - 0.0% (389 Bytes)
[#017] sha256:e59b86de24c69ddc3bd6d995d268f0d228b5b6c44d17bb448000bc147b072292 - 0.01% (18.7 KB)
[#018] sha256:4f60bf244d7fca348823649e7bc1fe0386b9dc8911ce7bdd56dbb2e333ee343a - 17.0% (35 MB)
[#019] sha256:85424f98309d921fb41e860ac5c4045b38d56bb462fb13993d6a844d55366f09 - 0.0% (2.38 KB)
[#020] sha256:1018af18513383190b74540e79d59c04bb412a1ec697f81f18a413230981c37a - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:7eec8434e7851a0c9296426e66771b108dd584ea08a7e2aaec3ec3077c58bf89 in /
2024-09-27 05:13:46 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 05:37:54 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 05:37:54 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 05:38:14 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 05:38:15 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 05:38:15 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 05:41:17 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 05:41:17 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 05:41:28 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 05:41:29 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 05:41:29 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 05:41:29 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 05:41:30 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 05:41:30 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 06:27:16 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 06:27:16 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 06:27:16 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 06:27:16 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 06:27:40 UTC/bin/sh -c 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
2024-09-27 06:27:41 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 06:30:12 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 06:30:12 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 06:30:13 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 06:30:13 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 06:30:13 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 06:30:13 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 06:30:13 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 06:30:13 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 06:30:13 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
237 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:14c9d9d199323cbf0a4c2347a8af85f2875c1f2c26a1558fd34dfca7a26cff22 - 11.75% (27.8 MB)
[#001] sha256:a4075a2a900cbcc12ab034169fddf2bcdd894e0953be6ad883c380b275350502 - 0.0% (225 Bytes)
[#002] sha256:2fd31999ed1795da18acdfe1dd60f9dde145223af54a887ef424786e8e885b85 - 39.54% (93.6 MB)
[#003] sha256:131265d95889b23e897a24b57123c95173e80ddd3d485f561737530371309615 - 0.0% (224 Bytes)
[#004] sha256:7a5d1249bb626a5f47a598928fd07fd4a19ad72531ffba7cc72915271a3ba1d8 - 8.19% (19.4 MB)
[#005] sha256:1a5db4ebb80f5842a34d9507b254e11285a6960058a9b8d5a6dcc4673b6167a3 - 0.0% (435 Bytes)
[#006] sha256:8b1b2c6cdce0afc5c6e74c307dde16e25accbd2baad830908593184e9eba9d5d - 0.0% (485 Bytes)
[#007] sha256:6809e2f715ec177dbbff79e3215a246b238b8be6fc552cd8163304052389d56d - 5.01% (11.9 MB)
[#008] sha256:2e8ce1d2fb13190d056cca21991ed3b93dade5f0256c936bc73111122b2a0db5 - 0.0% (491 Bytes)
[#009] sha256:1f6f00aafc3aba1e10cf12c5288378abcfe9e3ab2c91afb19c4c49d04f667534 - 4.6% (10.9 MB)
[#010] sha256:b1c42fd6a2f0ac25ab85f0e381c2b4b3945389a72179fcba1f35a0e8f19e85e1 - 0.0% (2.4 KB)
[#011] sha256:5c14eb04cdbad42f193a85516eb527e0ca84feca060cb5370cbc74e332a7dcc2 - 0.0% (245 Bytes)
[#012] sha256:74353b86439842c9b13e968a6b50774677e15759fb0cf22189dc97975efb5f39 - 0.0% (893 Bytes)
[#013] sha256:cf764b17357929db6223eecef91f2600af85c791640dac35184a453e1c18242e - 10.55% (25 MB)
[#014] sha256:72a7605d0a370bd674796609c78b313a195e213188a62a0708ad774b7802f916 - 5.55% (13.1 MB)
[#015] sha256:b83ec619f74dfaaffb79c4563a02fedb41d0171e4adc8ed58ca7087c9a9f5b94 - 0.0% (360 Bytes)
[#016] sha256:9640877eedd5907c84bebc40b3474c9a41717c913bb802082739160a018270b4 - 0.0% (394 Bytes)
[#017] sha256:0af1be4d9e59d78591d460ab6d6f3f8f8ace7a9232d4de46c982605177b9acfd - 0.01% (18.7 KB)
[#018] sha256:83459121ddf647e3bcdaed081f8ee04aa05d7d91bf1bab8a00a7b0246ac561dd - 14.8% (35 MB)
[#019] sha256:2e30f5ad70a3b4a815b7119921a262880ed487c7a8f7a5c0b9a792e396e4b0e1 - 0.0% (2.38 KB)
[#020] sha256:1d543140e1a4e1914e77e32892def44e630692d84a0632f580ed513114f258d2 - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:28df1cb6a6576d40b5226851d0a6a76ffd5d1c94644ee441490b74a90f29f425 in /
2024-09-27 04:38:18 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 05:31:21 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 05:31:21 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 05:31:35 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 05:31:37 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 05:31:38 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 05:34:43 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 05:34:43 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 05:34:50 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 05:34:51 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 05:34:52 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 05:34:52 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 05:34:52 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 05:34:52 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 06:26:43 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 06:26:43 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 06:26:43 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 06:26:44 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 06:26:52 UTC/bin/sh -c 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
2024-09-27 06:26:52 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 06:30:05 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 06:30:06 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 06:30:06 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 06:30:06 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 06:30:06 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 06:30:06 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 06:30:07 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 06:30:07 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 06:30:07 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
218 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:75358c79454e0fed44aa25dd323536443b4a1230fc432aa226620e470d72cf5f - 12.76% (27.8 MB)
[#001] sha256:7af5bc07367e99f8b3d37849edf8598b8b8dc860c49d5da934eca00acc807d99 - 0.0% (227 Bytes)
[#002] sha256:c4eca0e563a9f07292b1663ae5dfa7c783cbc0a92a6ba5d05b288972fb04e775 - 35.33% (76.9 MB)
[#003] sha256:e9156dcf9823554c8d34a92fdc097bd66f5c019cd7aaf13a36ad10f26246aefa - 0.0% (220 Bytes)
[#004] sha256:eaf2b3b50cb0cb73e94fc9bacab2655b94a7220edded2a4c7eaf3e8eb5045dc3 - 8.79% (19.1 MB)
[#005] sha256:88f49bc3e7d6cb95e2d77d06f2542a1a0512de39fede06dd9c8ec8e9d9a338b8 - 0.0% (438 Bytes)
[#006] sha256:2c71ff0ef306529b5f488b2a07fc5fc7891371b193a282d1187bd2a49c611643 - 0.0% (492 Bytes)
[#007] sha256:33a1dab5712653a28b10e0435e259e202af62c9245787d05d3abd6978c36f598 - 5.36% (11.7 MB)
[#008] sha256:2afce32a004eae5dc0f51f7d68837223fa4ef1d32638140750c7facc6057d19c - 0.0% (491 Bytes)
[#009] sha256:b5f89be47e5116a194cb3455bfde6f64f74e95dbfb76bfb869c9b3bbe4360577 - 4.59% (10 MB)
[#010] sha256:09bc8584e7c8ea7aeacbb8fb434ad624134b4f489a185c408d29ed940bbe6668 - 0.0% (2.4 KB)
[#011] sha256:8d420f4e05dcb35264dd5056cb9de713c77d70e09e22b2ae94f99bf53016efa5 - 0.0% (246 Bytes)
[#012] sha256:1f7e8becea9a241d0a65cf5513f3f192c4df1e2355261181f9760af77dfc23be - 0.0% (895 Bytes)
[#013] sha256:23997743609d4eabb8163b7f49e70bf14ca1cfec0284cb46b0cc12b040054c4e - 11.4% (24.8 MB)
[#014] sha256:ec3da78e4c3b4a6e025f8130fd57a05533190f8bb2345c1f816fb682d98436fc - 5.67% (12.4 MB)
[#015] sha256:aec038962d29dbe32291182dc01f71be79e45687c419d294c1ea15a4764d553a - 0.0% (360 Bytes)
[#016] sha256:89896cb4956c4d3b87a91595dabd47563943a204acb8d353a4d03237901dcd86 - 0.0% (393 Bytes)
[#017] sha256:1c34e080ee80995661fe87e99a036ca088a13e0c871095b8addbfda60ed6629e - 0.01% (18.7 KB)
[#018] sha256:f59a319d4460e398b1d8a6b09be0542e21f6183b4149ac9687b205962e57d6aa - 16.09% (35 MB)
[#019] sha256:9ea945bf2683559401c68a8401cb24503a281e5946da816ec5cb557f1351a432 - 0.0% (2.38 KB)
[#020] sha256:8a10eb34f4fb662fa24f98dd6d233e934fbb27650bbfc640df55253bbae42813 - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:673970f358f62b6b095139e9647b41b9af839d4e01f7698755b040f471ff80b2 in /
2024-09-27 09:03:10 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 11:12:08 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 11:12:10 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 11:13:59 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 11:14:04 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 11:14:10 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 11:31:46 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 11:31:49 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 11:32:43 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 11:32:49 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 11:32:56 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 11:32:59 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 11:33:03 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 11:33:07 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 13:47:52 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 13:47:56 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 13:47:59 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 13:48:03 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 13:48:52 UTC/bin/sh -c 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
2024-09-27 13:48:55 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 14:04:10 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 14:04:15 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 14:04:21 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 14:04:25 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 14:04:29 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 14:04:32 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 14:04:36 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 14:04:40 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 14:04:44 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
250 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:c0db683897d16fe6e2869a351dbd5deac2268d5820d4b3c1cf93ec3bd69cafb5 - 12.64% (31.6 MB)
[#001] sha256:3bbb4ae861a643bc7004f9327fc7d89ac6f4ea4f5a77bfded69b88f585ea01e1 - 0.0% (224 Bytes)
[#002] sha256:fc16434a3ca8eec5c8933adec752fafcba89db0a65fc61746120478da09bca93 - 39.44% (98.5 MB)
[#003] sha256:2051474fc72a079e1611119dde76deefb71f3b4b15e86c02c8e21198bcb9f249 - 0.0% (226 Bytes)
[#004] sha256:5e9589061db86204e594c406f6de20b8e8bc40c3bc4fbdff0ddcaf22b3253078 - 8.21% (20.5 MB)
[#005] sha256:e5201482f538d84823d22ea42aeaa4b071c48bc6693b7862c0a79bf390d689b6 - 0.0% (433 Bytes)
[#006] sha256:2843dcc1fb30cdbf957b3c7273818bd5877c32b4dc91f2273111780f4eaae30b - 0.0% (486 Bytes)
[#007] sha256:9d813628e013d7663e39adf1ebd1323cdd11b3c58a30a372f18d8eee63ed9e11 - 4.75% (11.9 MB)
[#008] sha256:da6ae47d185ea74c696277a67f5e63bb39534b357e65564077b76db6d1c07371 - 0.0% (492 Bytes)
[#009] sha256:f9316162bc4d4f6a7fed0124b136ecd79bf288a5cd93f3fc82154167d7ffa5ff - 4.52% (11.3 MB)
[#010] sha256:97c5532898e7467372ef63509025ac2d7c86a310cb1c996b9679b4eef402dd83 - 0.0% (2.4 KB)
[#011] sha256:1f778f01f7fc101b62e9cb120708767d6e085b5958447266e42fd647972d90ce - 0.0% (247 Bytes)
[#012] sha256:beac6a6fe43d79c33a4bc98ab536ac2aa2ae7ac0f0dde11522778062b2252340 - 0.0% (895 Bytes)
[#013] sha256:06f1d200d6c390a95236b819e77e67dbee4777f4405bfb8c969e824abb33f01d - 10.44% (26.1 MB)
[#014] sha256:d41f2ec0a71ce96ff0193127c56b13f5d608b4858b9cf05c2951ff92651d2a57 - 5.97% (14.9 MB)
[#015] sha256:4efe84f99538b00f42f10a763ef95a4021043b63cef4edde092e35f8ed740c18 - 0.0% (361 Bytes)
[#016] sha256:2341355390e3f1f27c2b8b90c07a152c52bd42b3d52d0742eefe841c3aba8216 - 0.0% (394 Bytes)
[#017] sha256:dd32c9d9a30f97b00228a7afd2cb0a01731fda2632b222c6a31b35ee6b946876 - 0.01% (18.7 KB)
[#018] sha256:1ed0e0533689b708467111cf47fc257fe10fa654ae9e347d71412b8c40a90a60 - 14.02% (35 MB)
[#019] sha256:c97634a435e5f55d3558c13df9d752d7b08388e952a937e3ce8c59ad7a62bb9a - 0.0% (2.38 KB)
[#020] sha256:5b9e8cbe4724992892bd6ded0b9628475d94f7c2ab4985de7fc941cc09e56094 - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:13ecda46acf717bc6e96c8ad429d6c14016514befca636a168655d0e5c9c4fbd in /
2024-09-27 05:33:08 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 06:10:05 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 06:10:05 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 06:10:36 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 06:10:40 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 06:10:41 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 06:13:59 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 06:14:00 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 06:14:14 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 06:14:16 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 06:14:17 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 06:14:17 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 06:14:17 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 06:14:18 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 06:39:22 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 06:39:22 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 06:39:22 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 06:39:23 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 06:39:36 UTC/bin/sh -c 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
2024-09-27 06:39:37 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 06:42:33 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 06:42:34 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 06:42:35 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 06:42:35 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 06:42:36 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 06:42:36 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 06:42:36 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 06:42:36 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 06:42:37 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC
217 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYS39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25680a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PHP_URLhttps://www.php.net/distributions/php-8.2.24.tar.xz
PHP_VERSION8.2.24
[#000] sha256:eca1e192de25fb56826ff7ed14b2e1532a49c27a08147a6249506eafd8ab4472 - 12.08% (26.2 MB)
[#001] sha256:263aaad988f988011e1356f427631505912e90651f05e9b8127e438710e3424d - 0.0% (223 Bytes)
[#002] sha256:2fe6bbb4a2c701c2e428aa64af29de71f25f3955f023abedbd742ba882d648c4 - 35.51% (77.1 MB)
[#003] sha256:9d56dc43f4c20142326de61889c1d809b383f6aee30517f4872c80305147c993 - 0.0% (223 Bytes)
[#004] sha256:4c52c41590c8426047a15f1969a92ae4add1c9047e56460d92a094cd534bd822 - 8.83% (19.2 MB)
[#005] sha256:f0050a91c477b0c2256727ec363cb8333b14cd8993f235bf2e788825fea5ba66 - 0.0% (434 Bytes)
[#006] sha256:baed063e13cf0353d5655d6198ed7df04fdaeb730279a099f051e683ada2311f - 0.0% (486 Bytes)
[#007] sha256:245b009057a3c847137ba2e2e4012150b891e8db01823a6edd44f831a8a18f65 - 5.47% (11.9 MB)
[#008] sha256:b2844dd1ced33ed2075394f94731f7aa0ad263e992bf7dbc0a3f643c2ec4a6fd - 0.0% (492 Bytes)
[#009] sha256:1f8158b01ff9b6e0fa7aa2f1ee7ac08c7a452b62cca10a417fdc051510b9666e - 4.68% (10.2 MB)
[#010] sha256:4c7a4c8366b9700dbadc776b31d7362bdb4017c6222d6c9a76f35fe9e801f07d - 0.0% (2.4 KB)
[#011] sha256:2b8725b76676d868f065476a88cc34d82a84d3ca056bb80bb4f82da322142976 - 0.0% (246 Bytes)
[#012] sha256:9849ccdf4f53873810b66a3d5b59d4b773a8a3a2f21b83ca53235f17ef6c4276 - 0.0% (891 Bytes)
[#013] sha256:062ceb4c3d964018ea7ca87c4c04e5b7bcc2c61a870210bd71b27987096a0189 - 11.38% (24.7 MB)
[#014] sha256:87c394e9a95592999901ea80af3b7522a10f9d08bcb0e751d1f893fb2240bea7 - 5.91% (12.8 MB)
[#015] sha256:8a604c6644a30b0b21e9f5ca14f4cff23a050c9034b21a64bb42ffb69a9f9c85 - 0.0% (359 Bytes)
[#016] sha256:c2b9a68ac3578fd047bdc720280ede80d599f2b9518913fef158527ee77c9357 - 0.0% (391 Bytes)
[#017] sha256:bc5b9996f77196ea8e936f4f3a4fa4893c140b5c03874420e324daff5b208ca3 - 0.01% (18.7 KB)
[#018] sha256:d13ba074b872d9d85bc79e304d489fce4034c99f30ae3fd4361c635c6af1c365 - 16.14% (35 MB)
[#019] sha256:6caf1ff84b11b879a57bb1bed11352bc2bd7679bc4dc2dab66ac4858384ccb75 - 0.0% (2.38 KB)
[#020] sha256:69ea83dce503544ce2d8ac2d917ec4eb44bccd553ffb858f8b802ded4e942467 - 0.0% (1.69 KB)
/bin/sh -c #(nop) ADD file:ee3c94adee604dbcaddf5d6c372b1f325a4443f66bd717dedf1ff7d9fb1ba116 in /
2024-09-27 02:43:26 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-27 03:23:32 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2024-09-27 03:23:32 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2024-09-27 03:23:46 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2024-09-27 03:23:49 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-27 03:23:49 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2024-09-27 03:26:58 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2024-09-27 03:26:58 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2024-09-27 03:27:05 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" "$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"
2024-09-27 03:27:06 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2024-09-27 03:27:06 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2024-09-27 03:27:06 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 03:27:07 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-27 03:27:07 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-27 03:53:41 UTC/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-27 03:53:41 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.2.24
2024-09-27 03:53:42 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.24.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.24.tar.xz.asc
2024-09-27 03:53:42 UTC/bin/sh -c #(nop) ENV PHP_SHA256=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
2024-09-27 03:53:48 UTC/bin/sh -c 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
2024-09-27 03:53:49 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2024-09-27 03:56:20 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2024-09-27 03:56:20 UTC/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/
2024-09-27 03:56:21 UTC/bin/sh -c docker-php-ext-enable sodium
2024-09-27 03:56:21 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2024-09-27 03:56:21 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2024-09-27 03:56:21 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2024-09-27 03:56:21 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2024-09-27 03:56:21 UTC/bin/sh -c #(nop) EXPOSE 80
2024-09-27 03:56:22 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ghostscript ; rm -rf /var/lib/apt/lists/* # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libavif-dev libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp ; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl mysqli zip ; curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; docker-php-ext-install /tmp/imagick-3.7.0; rm -rf imagick.tgz /tmp/imagick-3.7.0; out="$(php -r 'exit(0);')"; [ -z "$out" ]; err="$(php -r 'exit(0);' 3>&1 1>&2 2>&3)"; [ -z "$err" ]; extDir="$(php -r 'echo ini_get("extension_dir");')"; [ -d "$extDir" ]; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$extDir"/*.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 --search | 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/*; ! { ldd "$extDir"/*.so | grep 'not found'; }; err="$(php --version 3>&1 1>&2 2>&3)"; [ -z "$err" ] # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-enable opcache; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'error_log = /dev/stderr'; echo 'log_errors_max_len = 1024'; echo 'ignore_repeated_errors = On'; echo 'ignore_repeated_source = Off'; echo 'html_errors = Off'; } > /usr/local/etc/php/conf.d/error-logging.ini # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; a2enmod rewrite expires; a2enmod remoteip; { echo 'RemoteIPHeader X-Forwarded-For'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; echo 'RemoteIPInternalProxy 169.254.0.0/16'; echo 'RemoteIPInternalProxy 127.0.0.0/8'; } > /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip; find /etc/apache2 -type f -name '*.conf' -exec sed -ri 's/([[:space:]]*LogFormat[[:space:]]+"[^"]*)%h([^"]*")/\1%a\2/g' '{}' + # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; version='6.7-beta2'; sha1='fcc292dbe5d5517c5b28bf91ae718527028eed08'; curl -o wordpress.tar.gz -fL "https://wordpress.org/wordpress-$version.tar.gz"; echo "$sha1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; [ ! -e /usr/src/wordpress/.htaccess ]; { echo '# BEGIN WordPress'; echo ''; echo 'RewriteEngine On'; echo 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'; echo 'RewriteBase /'; echo 'RewriteRule ^index\.php$ - [L]'; echo 'RewriteCond %{REQUEST_FILENAME} !-f'; echo 'RewriteCond %{REQUEST_FILENAME} !-d'; echo 'RewriteRule . /index.php [L]'; echo ''; echo '# END WordPress'; } > /usr/src/wordpress/.htaccess; chown -R www-data:www-data /usr/src/wordpress; mkdir wp-content; for dir in /usr/src/wordpress/wp-content/*/ cache; do dir="$(basename "${dir%/}")"; mkdir "wp-content/$dir"; done; chown -R www-data:www-data wp-content; chmod -R 1777 wp-content # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-10-08 01:03:12 UTC (buildkit.dockerfile.v0)CMD ["apache2-foreground"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.