Namespace
library
Image / Tag
wordpress:beta-6.5-RC2-php8.2
Content Digest
sha256:ee58bf5001d154dae75956191c3e0c24e2e8efca55972f206e3ef70cd046e274
Details
Created

2024-03-12 19:03:10 UTC

Size

244 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:576af7ffb10b3f3b8d5523e6b91da8667eb39393cdfd50fb26dfc178e504ba70 - 11.77% (28.7 MB)

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

[#002] sha256:572f25d2333bd6d54c124fa174175081a9c95780122966ffb6532bd93757a9bd - 39.63% (96.8 MB)

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

[#004] sha256:589ac2ec3c620e7a371533497b0cfd74ea84db2b079763c0c27f094625f447cf - 8.13% (19.9 MB)

[#005] sha256:8ef95ebea38d5ed66df38918c6398211026347c3a649d8cc4c3d081f4e7c6290 - 0.0% (476 Bytes)

[#006] sha256:4ea05f91953dd8b5d5da845bf416fd786a74c12a214cd690ab7a3fe6bc5a5774 - 0.0% (517 Bytes)

[#007] sha256:7f790c89ec5e4ac286e7dd0d4a5702f19208ec620a27c928996b7251fa1e205a - 4.85% (11.8 MB)

[#008] sha256:89e9d64fa93c5b20221d2bd10b43d3af6c087fe3966130b3f00ea9cd6490e236 - 0.0% (492 Bytes)

[#009] sha256:81b6556954cedde075529b06d84619da7a7a9163f2a7db33cf2b08a69ae9205f - 4.54% (11.1 MB)

[#010] sha256:c21fdb971879ca2772926893dc089bb5f49de25b6fac63e065d6bd7536dca807 - 0.0% (2.4 KB)

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

[#012] sha256:3afebd6db411199c9dff4d1ca39629acf2e789064a3a09857862e1bf5a614237 - 0.0% (892 Bytes)

[#013] sha256:115dc196af36479215b92ad99434bac916f6616109c8ac1e19cd5748c3b45b6a - 10.42% (25.5 MB)

[#014] sha256:0af0e2c1d67835b73e366089f850809e201a448dc892da467f39ea9a9905dad5 - 11.06% (27 MB)

[#015] sha256:a71e15b23ddfb9ed915adc3601e19aeea49f150f0b3362729d2d455bd176a2ba - 0.0% (359 Bytes)

[#016] sha256:2ca7b6561cbb89ba4d376f91492504350d66ca91428ee2f04dada5e664ce84ab - 0.0% (390 Bytes)

[#017] sha256:7106357cfe1d211fd34856eafdfa886eac833b94f07c9290fb3232bc05f75d40 - 0.01% (18.7 KB)

[#018] sha256:56d771030e1ad57a803625f6829534eda5ca7b32e8ebf820b1631c6ac77a2aae - 9.57% (23.4 MB)

[#019] sha256:16b26d7205e9023666ce99c6474b0c1dba406052feca060ffe232e637ae4de8c - 0.0% (2.29 KB)

[#020] sha256:ed8fcc03f94423e58b20368cf856ddbc891b56ffdc7f053df850e42f4d39b38a - 0.0% (1.68 KB)


History
2024-03-12 00:57:59 UTC

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

2024-03-12 00:58:00 UTC

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

2024-03-12 01:39:14 UTC

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

2024-03-12 01:39:14 UTC

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

2024-03-12 01:39:41 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-03-12 01:39:43 UTC

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

2024-03-12 01:39:44 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-03-12 01:46:37 UTC

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

2024-03-12 01:46:37 UTC

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

2024-03-12 01:46: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-03-12 01:46:49 UTC

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

2024-03-12 01:46:50 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-03-12 01:46:50 UTC

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

2024-03-12 01:46:50 UTC

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

2024-03-12 01:46:50 UTC

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

2024-03-12 03:28:54 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

245 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:8a1e25ce7c4f75e372e9884f8f7b1bedcfe4a7a7d452eb4b0a1c7477c9a90345 - 11.32% (27.8 MB)

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

[#002] sha256:d5aaf617d1d2bc41efbec77e9f05370e6f35d8f4363fb26fa04883ec538b7d66 - 40.54% (99.5 MB)

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

[#004] sha256:142ecae067f5d5cbf3c2a3cf42d5677472bc8cc633b8ccea33d011749bb84661 - 7.89% (19.4 MB)

[#005] sha256:c1f1b407f7499799755557f8769bbeb98d0573d6092913d5303cf951acdace0b - 0.0% (476 Bytes)

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

[#007] sha256:bc1f0226f3e099206e04eee6487ad90c1707be5f695481a23bf910ac96bbd8fa - 4.83% (11.9 MB)

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

[#009] sha256:61717c19c02cbbe90ee9461a5b2c1cdf018026cd56bff6b91c014d4c11915521 - 4.43% (10.9 MB)

[#010] sha256:11fdc22aa1f1fe2e1a71719b729c222b67431596e690a72ea02a0bb788cb924b - 0.0% (2.4 KB)

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

[#012] sha256:471efce0ff500efd7eb21a0daca069d403f3eb4b437b85ba95f63f4d57ea5b37 - 0.0% (892 Bytes)

[#013] sha256:909d2dad5ff0cbbb8b43009492d55667bb9e2e02e1d6b34c70413cbe300f262b - 10.2% (25 MB)

[#014] sha256:2a95eec30e8ad636fd4d8a3621dce6eb992344132e1a46c5cd929676cb9f344a - 11.25% (27.6 MB)

[#015] sha256:fe3a648852064212ab71bf39da0f3c01171001a0068800829c69d6ab7871d108 - 0.0% (363 Bytes)

[#016] sha256:5f3ab39ac258968bc28bd2cc40213a84c6ca9eb4e8deea545f4fac3aa5a7e8af - 0.0% (393 Bytes)

[#017] sha256:f175b7c2a42163d5b3bf151f6b1fe24d9f9fa2e12053a9fc49d338d377dd76d9 - 0.01% (18.7 KB)

[#018] sha256:621161409b55deb104b017b50b4a755d0dcc093254796ac06ce64bd604c2f3bf - 9.53% (23.4 MB)

[#019] sha256:98b4ef0bd364f4d43bf1d0cf72d41ad925070bd4bf65deb1d427932d217b6bf9 - 0.0% (2.29 KB)

[#020] sha256:9741c593a51fbf5d6dd753fd849446940d9635a24883d7dca790ec5067e88461 - 0.0% (1.69 KB)


History
2024-03-12 01:21:01 UTC

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

2024-03-12 01:21:01 UTC

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

2024-03-12 02:57:10 UTC

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

2024-03-12 02:57:10 UTC

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

2024-03-12 02:57:31 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-03-12 02:57:31 UTC

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

2024-03-12 02:57:32 UTC

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

2024-03-12 03:01:33 UTC

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

2024-03-12 03:01:33 UTC

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

2024-03-12 03:01:41 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-03-12 03:01:42 UTC

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

2024-03-12 03:01: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-03-12 03:01:43 UTC

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

2024-03-12 03:01:43 UTC

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

2024-03-12 03:01:43 UTC

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

2024-03-12 04:00:42 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

217 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:64806d9455193063a6bd4aebf47380e94fad8313f6ad1b5d831882c453f43261 - 11.82% (25.6 MB)

[#001] sha256:75d115fea1b4a8106e263db629be1619e1687e09620739ce2ec2b09ef0f7216b - 0.0% (228 Bytes)

[#002] sha256:83e1c5741512c603cc1e5fdb27395ab09059c53c3871664e3c0fa08051670462 - 36.06% (78.2 MB)

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

[#004] sha256:cf3328c6af612c3f7b6b1a513414b09fa7245d3b85239f38bbcc86311ab073ba - 8.62% (18.7 MB)

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

[#006] sha256:03347d119d00160ae7ff93fb281dbde1a946587dcfab5c36cf718aff026bb858 - 0.0% (511 Bytes)

[#007] sha256:fcc4e6e0230a424657b9b972ec108e39a96c191c8988aef790fce7227353c381 - 5.46% (11.8 MB)

[#008] sha256:7392706b97c8411442f9c2ad9427db67c4de8983ead44a659f3a46ea59cab920 - 0.0% (494 Bytes)

[#009] sha256:2fd7da3e2737ac0d974c687b9a3d9211abba0c43f8bbc278675dadb2d828d5bd - 4.57% (9.91 MB)

[#010] sha256:a9d07971e87f22dc382e7f1608cee8dd6174d922f38429b8c5dc2e34af44a390 - 0.0% (2.4 KB)

[#011] sha256:a93884c7dc5a2adf943418bfaff361554a868dfcf26be0bb37af71462a93a511 - 0.0% (248 Bytes)

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

[#013] sha256:f0e643399c0defe7c07aaa4afdfa087f11f9bb4a2a6ee6d6b40d80447861897e - 11.31% (24.5 MB)

[#014] sha256:3faf1e7d0da46585d024e9403565ef863bb1bb2812daadaea19cfadd80ed9fa6 - 11.35% (24.6 MB)

[#015] sha256:7d5baae450e0ff2ba78950f21629fe9fd29228f52378a61c0a7a51e8c46d0969 - 0.0% (364 Bytes)

[#016] sha256:bc36a7ed56bfd6fda81b6af2c3b0cfff3e5d243c4c0ec2b20242aaf33d4d813b - 0.0% (393 Bytes)

[#017] sha256:5e6f100695f756cca5ade59b53b093ede2115657e2a96cdc757b7ddd73488f49 - 0.01% (18.7 KB)

[#018] sha256:8fdfbf25d41bc391c3c9b115592b1a93df9a371f39db6e573c1c3cec896f5f9a - 10.79% (23.4 MB)

[#019] sha256:0ee1d3f954a457a97598bb9537892e486f4ef25c8323de2a3c7c553d408040ee - 0.0% (2.29 KB)

[#020] sha256:3397bc490daac11ffdb9420914b7eb843659703f683ef9386f1f61bd3a173b9d - 0.0% (1.69 KB)


History
2024-03-12 00:48:31 UTC

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

2024-03-12 00:48:31 UTC

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

2024-03-12 01:47:14 UTC

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

2024-03-12 01:47:14 UTC

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

2024-03-12 01:47:37 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-03-12 01:47:38 UTC

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

2024-03-12 01:47:39 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-03-12 01:50:51 UTC

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

2024-03-12 01:50:51 UTC

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

2024-03-12 01:51:03 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-03-12 01:51:04 UTC

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

2024-03-12 01:51:04 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-03-12 01:51:04 UTC

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

2024-03-12 01:51:04 UTC

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

2024-03-12 01:51:04 UTC

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

2024-03-12 02:41:15 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

206 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:c5c3540d9b4f416003fa1e21822e15ea4bbe0749e6d1104e7af5c8a1a30b26fd - 11.44% (23.6 MB)

[#001] sha256:9dd82a33324e79052aa5fed0978c223b7d05b5a41532eca869d5602ee24d0c7c - 0.0% (228 Bytes)

[#002] sha256:a57829c9789b8ee6e6ebe4a80c39f9393df7fcf20975d1d8135fc2142cad63d8 - 35.25% (72.6 MB)

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

[#004] sha256:98245a88fa6adc9fd93e0af245463b9d9dc7cbea417c92646663e9f7375ffa93 - 8.81% (18.2 MB)

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

[#006] sha256:b7b18f3b6afb527e3463e62dae0e34a48ea21bcfdf1bfb8a5bbe5c978746c3e6 - 0.0% (510 Bytes)

[#007] sha256:167f3145c7522da42cd92a5f7503e545f1a3ba51e1f117a94ef7daaca82bdde2 - 5.75% (11.8 MB)

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

[#009] sha256:07a2ccdc85b6310968f787f1e1ac71ec5ed2af97c834257bf4aba066dc834004 - 4.54% (9.36 MB)

[#010] sha256:7b7df970cf41d863fe6a799a42acabab9b66d5f47988481ae1e4a850fb343c04 - 0.0% (2.4 KB)

[#011] sha256:5ace3a60d2f6e0f34b3a4e2fe64080b6dc2442937c41766d509a914e4b7b2aee - 0.0% (248 Bytes)

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

[#013] sha256:d5790e79c7c39badbff611e5947985fc4691b0415ee791159360f85c493b5070 - 11.61% (23.9 MB)

[#014] sha256:8a76797160e542625d4b368d0f8a73a9e4feb60755a4da2d73b39b15a6831e09 - 11.23% (23.1 MB)

[#015] sha256:731338f9da91bd1c9e5e2272892a78b790b0b7084a7bc11138733d7970c79ad4 - 0.0% (362 Bytes)

[#016] sha256:7eff88a1d6727933b29c5e9d4812416d545386938c42bf6aa602a30b817ec849 - 0.0% (391 Bytes)

[#017] sha256:649c1b2636b8b7680dc1f9bbd34b915c47e619b33998d70d7f6afd0bde3de245 - 0.01% (18.7 KB)

[#018] sha256:9eb3998fbadaba78a577ac679d8aa3d147ae0f80168b54e44296351c79a0323e - 11.35% (23.4 MB)

[#019] sha256:50a62fa5692e5c4b1e70d72fc23ecd9f5f6fde2b6511c7fd70f6b9dfe7a974e5 - 0.0% (2.29 KB)

[#020] sha256:0cb294bbf59f1f4694f138f3672a9266c7d8c3d1be8a3790e5cf68566f90f200 - 0.0% (1.69 KB)


History
2024-03-12 00:59:15 UTC

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

2024-03-12 00:59:16 UTC

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

2024-03-12 07:23:17 UTC

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

2024-03-12 07:23:17 UTC

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

2024-03-12 07:23:45 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-03-12 07:23:47 UTC

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

2024-03-12 07:23:48 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-03-12 07:26:38 UTC

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

2024-03-12 07:26:38 UTC

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

2024-03-12 07:26:48 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-03-12 07:26:49 UTC

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

2024-03-12 07:26:49 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-03-12 07:26:49 UTC

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

2024-03-12 07:26:49 UTC

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

2024-03-12 07:26:50 UTC

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

2024-03-12 08:17:21 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

237 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:59f5764b1f6d170ea07ca424965974024a14970ff826e9ffa3489c90dc040c24 - 11.72% (27.8 MB)

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

[#002] sha256:8431cb294ec999c969b368afe1f6bb5484654b2ce2932cb1a6780d9c52781090 - 39.44% (93.6 MB)

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

[#004] sha256:036053896963520b5ce13f9151d0ad3dd4aff6d300c0cf85402700844e48dff6 - 8.16% (19.4 MB)

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

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

[#007] sha256:2585e3978e7cdac09c952b26d6c5d1f6a3594e1b920f9a09fcae71e5b7416649 - 4.99% (11.8 MB)

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

[#009] sha256:00cb53089d89faca8c6e660775fcf72843a5aa4c89b57767fe963b6605e00999 - 4.59% (10.9 MB)

[#010] sha256:42cb69968a2df7d8b56c1df3b5ccd02e6eeef75c156df5c92987e1f291b6183f - 0.0% (2.4 KB)

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

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

[#013] sha256:c4085c0c4b698410f3afa6bafc5f06422d4e4af97dc8b0c6f89d625834b9a4fb - 10.52% (25 MB)

[#014] sha256:81be357ff9b90ab37bee1366efe96326ddbb25e4ed6a32fd831ea5bb8a1d2da8 - 10.7% (25.4 MB)

[#015] sha256:3506ebc178795691f3bd87aab8388ffe7f6d46783c7551ff36a421b66acb7c8d - 0.0% (363 Bytes)

[#016] sha256:d71b2afb6e18b7cf4182b87bc657ff947f6448f9e57dc8e9e6e9d767449690c9 - 0.0% (392 Bytes)

[#017] sha256:feba8eb847ca71b37ae0dbb09981669cf75d5d07fc4dc504788ad48f7a03dd20 - 0.01% (18.7 KB)

[#018] sha256:392fd15ba5ac31194e07db517138c9de479135c5b82a33ad451ab0c43ecadba8 - 9.86% (23.4 MB)

[#019] sha256:f383ce9555bfe1c04ab0e2da8db3c39425ac228bdd8721dc6ad11a86faf4bdd0 - 0.0% (2.29 KB)

[#020] sha256:d4175ac6cf1f1e790573b51590b0d417b31ad52f4791d42e30dbb95797757072 - 0.0% (1.69 KB)


History
2024-03-12 00:45:36 UTC

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

2024-03-12 00:45:37 UTC

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

2024-03-12 04:38:53 UTC

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

2024-03-12 04:38:53 UTC

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

2024-03-12 04:39:10 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-03-12 04:39:12 UTC

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

2024-03-12 04:39:12 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-03-12 04:43:01 UTC

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

2024-03-12 04:43:01 UTC

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

2024-03-12 04:43:08 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-03-12 04:43:09 UTC

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

2024-03-12 04:43:09 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-03-12 04:43:09 UTC

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

2024-03-12 04:43:10 UTC

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

2024-03-12 04:43:10 UTC

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

2024-03-12 05:39:43 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

219 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:aad79459a0f767fcded51c9547150a1cfd96638972389ab8621b5f3eb4a9c280 - 12.69% (27.8 MB)

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

[#002] sha256:59af68362cd81b3b6952f94bf5c46f86937fd9ee619806471611d4b37183a423 - 35.15% (76.9 MB)

[#003] sha256:4246e7c869e89c6228ff595bb4f1a52c830d5330d9f60d1e5f4618e5f6810f4b - 0.0% (222 Bytes)

[#004] sha256:eeefc470438982acc7af1e3500db532d2a0137661a5afa9cedc9d47c72b00a93 - 8.74% (19.1 MB)

[#005] sha256:2c1debd2235578eaa9b06654657c84e6a19afaadba378c1984d6c326e658889d - 0.0% (439 Bytes)

[#006] sha256:5a08577e3528f333903f82af2b816db146e6ed1a4a8ac828fd1be1f7eac7e617 - 0.0% (493 Bytes)

[#007] sha256:411b0445e361176c36e952781abac829f4baff0f0cf27683945bcfeaf8ab13c8 - 5.32% (11.7 MB)

[#008] sha256:5c0aab172ec335d3bf79e4e34754f19d4f167c98fd3e8a2a9b6c562fdea2ec87 - 0.0% (494 Bytes)

[#009] sha256:9617f25b8f9d167e60815e08c8be3094d8580f8b38b534ab08314933cab18484 - 4.57% (10 MB)

[#010] sha256:d4b79c85b00a899188142db32ce9890bdf9f73612113d7d89ad6ffbc2ccc1742 - 0.0% (2.4 KB)

[#011] sha256:8cf318bdd46c3f62b9a56287d71b6ca5cff17227afec2d0c161c4ad643dbcb63 - 0.0% (248 Bytes)

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

[#013] sha256:9b1a1058f4604d21c3429c5814bb841bbd631626c0b893b0bb113027a9464d53 - 11.34% (24.8 MB)

[#014] sha256:30bc24bced691a59a27757525388c0145ef547f7b6275ffea30d578e79abf163 - 11.49% (25.1 MB)

[#015] sha256:9e41795ac11a712dff0bc5c9506fb45ba411639f3bfa15072594a31820b60322 - 0.0% (363 Bytes)

[#016] sha256:b30f5aa5b10c01a0f8dec705e571613432264ed473a4300e38aa51b08ff3b738 - 0.0% (390 Bytes)

[#017] sha256:9723322519fb17dd3bf1b95e47318256728f76facd4e6774c277d5612ed877dd - 0.01% (18.7 KB)

[#018] sha256:492c3b6b41172bf860183d245e94233b41ea442586ce20fbe2bcac60750dc0fa - 10.69% (23.4 MB)

[#019] sha256:4a35042aa353236d500991c04a942d953ed5c7968821bb1e9ad39d17052fb43b - 0.0% (2.3 KB)

[#020] sha256:a868a3a5400dd2c2d06967e0891cc0a17d02d0e4d4342d57b787fbfa84923fca - 0.0% (1.69 KB)


History
2024-03-12 01:06:19 UTC

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

2024-03-12 01:06:23 UTC

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

2024-03-12 07:04:45 UTC

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

2024-03-12 07:04:48 UTC

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

2024-03-12 07:06:37 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-03-12 07:06:41 UTC

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

2024-03-12 07:06:47 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-03-12 07:23:21 UTC

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

2024-03-12 07:23:25 UTC

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

2024-03-12 07:24:19 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-03-12 07:24:25 UTC

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

2024-03-12 07:24:31 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-03-12 07:24:34 UTC

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

2024-03-12 07:24:38 UTC

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

2024-03-12 07:24:41 UTC

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

2024-03-12 11:33:26 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

251 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:c28cd0e276dcdeb4d44f5cc5bb958610750ff902a081b668e3863c2f38eef054 - 12.59% (31.6 MB)

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

[#002] sha256:2cce4a728b9ae2c7eefcd9b8c3b9dc1d62b72c1c071f16bc427f26b3053a56b1 - 39.28% (98.5 MB)

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

[#004] sha256:62d0172ecc888b93bd448b82bc6d9f857b3d92b715a3dbf98063659ae5aeb9c4 - 8.17% (20.5 MB)

[#005] sha256:e3644f81176bc8772d0ef995fb85eb87ab44e5d4ec0edc420255e9c461846490 - 0.0% (480 Bytes)

[#006] sha256:136812f7b93f984042c6fc7d609a2cafb56b8f103e463590d92b4795c71c2dbe - 0.0% (516 Bytes)

[#007] sha256:7758371da08e478fde424d4b1ff4c8b14ccf89e0264b376c6e4444cfa7fedb76 - 4.72% (11.9 MB)

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

[#009] sha256:069ddc7dab7518f2758334b2b07a3058b5b2f14fc6b6c7414e8ad02f4933794c - 4.49% (11.3 MB)

[#010] sha256:07aa0d125adc7b20313b550e7d62942c2852f812a4722ef1ff0192009573779f - 0.0% (2.4 KB)

[#011] sha256:7db9672201a2837d20a204b9daf4bccdb7792d46222ca25c4a4d72f96d22958d - 0.0% (248 Bytes)

[#012] sha256:0823d1e02f7aa3c60c28a38c10c1e0b95b940d2eaa173d66f9b8372829a2675f - 0.0% (895 Bytes)

[#013] sha256:01f8be1deb7c52a8e70bec555937576df7e48738f5bdd70d9e020077adf2e169 - 10.39% (26.1 MB)

[#014] sha256:2e36d4785724d38bfd79c29841bfeb42941d15fe7184f0f3715e091943f6f8dd - 11.01% (27.6 MB)

[#015] sha256:dcc87aa44eedad70acb7ce7f135c477d6408cca77e81a487c4afca47770a7d42 - 0.0% (363 Bytes)

[#016] sha256:911d2236c6d72d0f7dca725e63998b30441fc67a455f9492e763d2ead8ee0c5c - 0.0% (395 Bytes)

[#017] sha256:88138cbe4e4639e49f9019e602cdadfc783c6cdfc9f5610067137f45077d9a2c - 0.01% (18.7 KB)

[#018] sha256:b7e5dc102be415d39cba4b90993836c325b4c54a82df9815d58b3e852bcd097f - 9.32% (23.4 MB)

[#019] sha256:90e375a87f55bbc49bfbea20602015cfbeb7641fa929bf68ba9c34abf10b569c - 0.0% (2.29 KB)

[#020] sha256:2a23957c339b5cb091ca9450cb6030771cc468d24be0dbf4dfb1dd4ca13ad723 - 0.0% (1.69 KB)


History
2024-03-12 00:30:19 UTC

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

2024-03-12 00:30:24 UTC

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

2024-03-12 03:44:38 UTC

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

2024-03-12 03:44:39 UTC

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

2024-03-12 03:48:34 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-03-12 03:48:51 UTC

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

2024-03-12 03:48:57 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-03-12 03:57:49 UTC

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

2024-03-12 03:57:51 UTC

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

2024-03-12 03:58:59 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-03-12 03:59:07 UTC

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

2024-03-12 03:59:09 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-03-12 03:59:10 UTC

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

2024-03-12 03:59:11 UTC

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

2024-03-12 03:59:13 UTC

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

2024-03-12 05:43:59 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Details
Created

2024-03-12 19:03:10 UTC

Size

217 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.17.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35

PHP_URL

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

PHP_VERSION

8.2.17


Layers

[#000] sha256:9cada496cd2b8a88571bf23d513e7fce34888d13321fcf23c6613bffe4c37297 - 12.09% (26.2 MB)

[#001] sha256:83d4ad3e3b59b6f54b9dcef6cff0e4615b6fa3f96f1de12d8fbeb94f7acd29b7 - 0.0% (228 Bytes)

[#002] sha256:d83835687d69ef2513b8d805100ebc4726b162f3aa9efd0cddf617127b689d25 - 35.53% (77.1 MB)

[#003] sha256:a8e8349341cc698ac8bb86ba42ea145c47faa3f81cf9c660f105f493fc148300 - 0.0% (271 Bytes)

[#004] sha256:f500bb0818505be871db98ada53fff2905523f39443d3b8203de073d18275d0a - 8.83% (19.2 MB)

[#005] sha256:0e602f9cc745a947e1f5e2c99c194cfdeb52cdca3fd07aa735f0135752b146e3 - 0.0% (470 Bytes)

[#006] sha256:48f8dc84c4882804775f8abd94bf231325b2f7e4b4812cc6aba73dfb838aad26 - 0.0% (511 Bytes)

[#007] sha256:2063a5af78302419621b0660c6b9a1737c4ff4d26f8b639775e05eba0c2dd306 - 5.46% (11.8 MB)

[#008] sha256:0153bb0e906f9fce87a8eecf28ac5b8916e5402271a35df0cfba89ff4e19faf4 - 0.0% (492 Bytes)

[#009] sha256:f372574acbc932d39d9658101ce08e790bf65fa17cf7ddd6aa8a9552f380051c - 4.59% (9.97 MB)

[#010] sha256:913e904fc2bfa4250bedcdd7137d5268edb382332fd7ecf08aab870d62992a3c - 0.0% (2.4 KB)

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

[#012] sha256:76b1f903d029aac2725e7b168fbf8132256912442597f89be2ea0d9e4bab500f - 0.0% (892 Bytes)

[#013] sha256:65805236ec13819e5e98f043edc528ce43fefee0ab41bebbe6adaa3a742d0c40 - 11.39% (24.7 MB)

[#014] sha256:e23e40879479e428047a1260e276b6a8f5b82da820d33b0da64f0e174d3de19c - 11.32% (24.6 MB)

[#015] sha256:eb05b60599b1260fe20fe1929fc71ce281c4320dd5eb9d4c6c77f5f2d242497e - 0.0% (358 Bytes)

[#016] sha256:e99b04861c8764aa2f311e32df6d3084502219979ea0226868d26640c616c454 - 0.0% (389 Bytes)

[#017] sha256:1a6747f354e7f031cfebdec6f099523f8af1a0224178a9806bf7775109937086 - 0.01% (18.7 KB)

[#018] sha256:9e6beb9d7d0dd3e7767539042562ed86d0bb736bbe92c3910331bf8da2341d3e - 10.78% (23.4 MB)

[#019] sha256:15ffd6a6fa163c9c707616b3327f8801be51e4e64e392705e8882bec576f927d - 0.0% (2.29 KB)

[#020] sha256:addb072f189d22a9936b9bfe964504372a347a0b111731790fcf211065b18d0a - 0.0% (1.69 KB)


History
2024-03-12 00:54:02 UTC

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

2024-03-12 00:54:03 UTC

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

2024-03-12 08:04:49 UTC

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

2024-03-12 08:04:50 UTC

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

2024-03-12 08:05:18 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-03-12 08:05:26 UTC

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

2024-03-12 08:05:27 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-03-12 08:09:37 UTC

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

2024-03-12 08:09:37 UTC

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

2024-03-12 08:09:44 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-03-12 08:09:45 UTC

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

2024-03-12 08:09:46 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-03-12 08:09:46 UTC

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

2024-03-12 08:09:46 UTC

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

2024-03-12 08:09:46 UTC

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

2024-03-12 09:26:06 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC

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

2024-03-12 19:03: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" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 UTC

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

2024-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfreetype6-dev libicu-dev libjpeg-dev libmagickwand-dev libpng-dev libwebp-dev libzip-dev ; docker-php-ext-configure gd --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); print 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; version='6.5-RC2'; sha1='3c09b4f3da34b0e5e8914f0b491081d42782ee63'; 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-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY wp-config-docker.php /usr/src/wordpress/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-12 19:03:10 UTC (buildkit.dockerfile.v0)

CMD ["apache2-foreground"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete