2024-04-18 21:17:33 UTC
36.3 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:dbaac2331104495e5df0818a1db05c402cfc13af140c75beccf51922d5f37ad5 - 9.1% (3.3 MB)
[#001] sha256:7386cf222b0d875e8873ae391fb2d15011557c0a8620c08a86ab8eb339acf635 - 8.87% (3.22 MB)
[#002] sha256:4f8525db88a29b4c886a172b95463f3cbeb75981b131056a27ec1d34b472f723 - 0.0% (942 Bytes)
[#003] sha256:fe8c926c51f944e1f73fd121e3ad6f36a2e3123fc91798822958f3a06b35df2d - 0.0% (215 Bytes)
[#004] sha256:c9bb97ef72591d7a252d2c567d034f1d42c39c517e4bf7b40d76af00388a69a2 - 33.03% (12 MB)
[#005] sha256:078c0c085a68b162b4a08ce3f62ee131733144fa995805dcbb1ec1c0bed32d93 - 0.0% (487 Bytes)
[#006] sha256:31a989d28458c66567b0462fb250a097a5e8e43fa6c99db424e0790d2752ee9b - 35.5% (12.9 MB)
[#007] sha256:4ccb8157a8df0c5fb29facf095e22d3a5e06bcda653decc4fd9a4c52b6cba26e - 0.01% (2.39 KB)
[#008] sha256:a02c5080299e22b134ac88f26f4b139c8287e924c496e1df4d2641bcdef65b39 - 0.05% (19.6 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:e332158c0c707083d07db3f2918aa5541ff27a86a7fa5810ed217c892482dee9 - 0.02% (8.96 KB)
[#011] sha256:9653b7cca5be289505bcd0912f2ce9e69d9dde8dc3a659778ad54e6370fd1997 - 1.41% (523 KB)
[#012] sha256:141ae14fd1301f6090818b9950f95d5a6f2cdb78523b1dbe1122a84ddba6b523 - 0.0% (325 Bytes)
[#013] sha256:fd0189feb4ea91d44ccc412d67b976afeeb318c64cd021a4e8e90735bc9f1c60 - 1.29% (478 KB)
[#014] sha256:d8a5a0d85066fe8fe150baf15099d397859f0e948047c247850ccfa2a6120721 - 10.71% (3.88 MB)
[#015] sha256:e4887a0228f96a6ed995a05d5eef38a3a9689f38dcf66723e1770b47cf64b9fb - 0.01% (2 KB)
[#016] sha256:3eeeee1d96224e0c38dc1b5381afb09c739ecf86e57d87fef5b8e5b6f8a9e8b0 - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-x86.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC
36.1 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:1f3e46996e2966e4faa5846e56e76e3748b7315e2ded61476c24403d592134f0 - 9.61% (3.47 MB)
[#001] sha256:ae49de6b59a3ada68038915c6ced5c3fe9a4d9734c795f5a290799df9bd4beaf - 8.8% (3.18 MB)
[#002] sha256:71cba018865568c1d0e52317c42c2372693e63212bbfa9fdef74f0c36c092346 - 0.0% (942 Bytes)
[#003] sha256:fe8c926c51f944e1f73fd121e3ad6f36a2e3123fc91798822958f3a06b35df2d - 0.0% (215 Bytes)
[#004] sha256:a294ad2fc4eb0744141cbe376c87751574ed0855e5b42d9e2387d5eac2b3bfd8 - 33.16% (12 MB)
[#005] sha256:40cc7f0f5d0d50ab5cd390cd67c5019f95bc45bbd11f47693935c52fffcc25b4 - 0.0% (487 Bytes)
[#006] sha256:bf65272aeb380d63ca16f6621ea3bc1d8d9030fef6e0ff42c422894fc45c1ab5 - 34.85% (12.6 MB)
[#007] sha256:571b396ed0cd01828f98f7e5a13d4df7250f2e4797a89f0f390ce47365a55a9c - 0.01% (2.39 KB)
[#008] sha256:8ef85654c4194b6058eda05850776a84949d19908ae00916f1633a7d6d173ebc - 0.05% (19.6 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:4e071def809824dc2b374a01f9cb3df2da7b62130b74b519243dba0d7d7b6539 - 0.02% (8.96 KB)
[#011] sha256:3a6ce872422738d021f9bbd70a52e556bdade84971e31da20b63e6747a98298c - 1.46% (540 KB)
[#012] sha256:fd8754cc7dbe651fa059d87d5dcbe0654122c3820ef78805788e3491d34cef0a - 0.0% (322 Bytes)
[#013] sha256:fb5ada075ac5c1ff8f1d21b2dd092457b6c2c7d4d622f3585705ecfed74f759c - 1.27% (470 KB)
[#014] sha256:a9b41dd1374bca6f18c0d3d3a7b7e06c997c7b7480a1257fd1ac645ff98f18c0 - 10.75% (3.88 MB)
[#015] sha256:53abceb12ef0f0c79cdf6c7e0dac6f95cae49e908f84d15bea0b28bce2437d70 - 0.01% (2 KB)
[#016] sha256:734f0e7021c4aa2be6d85eb303f12e6a868a33f26a566a476ab266f9b3363060 - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC
34.3 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:d3e229a4bb72770bd404e0f6590519a8e566146523e984834c6a3d82836f0069 - 9.36% (3.21 MB)
[#001] sha256:a27df19b1748e0c5336a2934dab90837cecaea9ecf548f60ec89ced0bb3caa23 - 9.19% (3.15 MB)
[#002] sha256:f3d8c9d60966ee150dd112939c109e4bdb3925301588315d098c22b807f8a62c - 0.0% (942 Bytes)
[#003] sha256:f5af0368056bd9d6658ab6d584d82811582bf7d94d14851784fefbce2ac6bd01 - 0.0% (214 Bytes)
[#004] sha256:068b09f0e8dc78e913aaad70d25f734a600d78100c16366fca66a9bebbfe531e - 34.97% (12 MB)
[#005] sha256:d2094e59041bb8925e36b0bf995cb79b19941687dede68b21c05e92360173b59 - 0.0% (495 Bytes)
[#006] sha256:d010aa65b2cf9285c0a86d1caa6a16d913c49c1813858d78b0bd8ccae8437ab7 - 33.22% (11.4 MB)
[#007] sha256:52e637602c4e03b081c973998cfe353a12e8c8619843b987558eb9306ebbb1a3 - 0.01% (2.39 KB)
[#008] sha256:3f971bdca2e24bdbc12572ed7d0d9903e3dee6ffbc43eb5fcde682e21aa8a5e3 - 0.06% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:8419b0ac28228fb2d23f9f6c41f2e86f0f12dc80da105999b81667e954196c7a - 0.03% (8.96 KB)
[#011] sha256:2b46ae615e2d94d6a8a8134f36f08b454d1a95a9eb422a99de8e3c1427ec9915 - 0.48% (169 KB)
[#012] sha256:c2a9dc06699fbbb6bbdaecc9b8485d68ffbdc5d0c76984495e8b80b2009925f4 - 0.0% (324 Bytes)
[#013] sha256:0942c8436a09cd1c4cd129dc420c3d5c17d850cdb027df0645480e3cf90bda31 - 1.34% (470 KB)
[#014] sha256:241412ed8dd44a60aae74c8259a6409a92f8d2755e1654a3b919aaa22b661a99 - 11.34% (3.88 MB)
[#015] sha256:0a471be2db57f942ad6fcafcd956956e7e566b7e4a5c92d24c2dc3a22c9d64c5 - 0.01% (2 KB)
[#016] sha256:0b00271926ef97932a8b54c583976216ff14accf719ea1909bdc53ff80a03e76 - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-armhf.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC
33.1 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:824bc99f06f2c6bebc1172ff7e39d7a1cdbd077ec44632079a629f69e9db7abf - 8.91% (2.95 MB)
[#001] sha256:9c5ceb78f083649061e4b802531e1ff0a876077474242c75cfdca63feceddf42 - 8.97% (2.97 MB)
[#002] sha256:3874d1ba95c5456f76e6eaf3fcad122706769776c7031c7f79e4104de9979281 - 0.0% (941 Bytes)
[#003] sha256:237b35dc6dca52f50940237e3dd268e0dbbd22216c7d386d5989137c1f820852 - 0.0% (215 Bytes)
[#004] sha256:c0204e80c0296cdae0cbaa8fe8c132f49b9c6f8c1700e5c9d1b71849266b1c96 - 36.17% (12 MB)
[#005] sha256:f7b976bccfd388504dcb1ae8991cef4eb2890a7d4f843ed9d26528f97837f9da - 0.0% (497 Bytes)
[#006] sha256:06915eca9877d9be2e06530e8c442b3a0bea045c98d533126fc6ff2bceee37d4 - 32.38% (10.7 MB)
[#007] sha256:30c86c92b496bccd4526be3879519d53e5daa8819acd1e44b18e710d8ac090ca - 0.01% (2.39 KB)
[#008] sha256:8eb1ced4a77966f8850c5fb7d6bfc943c4888012a4921f49b3a3dacc4bc627f7 - 0.06% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:cf3ec4d14ce3d25d025ee7927a6c0d15093dfff4d08c3c458131c6cd56b57bfb - 0.03% (8.97 KB)
[#011] sha256:da52eb0b8862cfd30fc5f19fc7815683ab3f89dc1fd604cc0441ede601193041 - 0.46% (157 KB)
[#012] sha256:bdac00002c517a1a0ac5a46ffdbb9ace523e6e2c307b870c968b9b3f73519ee9 - 0.0% (323 Bytes)
[#013] sha256:bf23c77ce433bce42dfd2f44b562cc7aa5dca26f090d2395a9a49ee5ded5758a - 1.27% (432 KB)
[#014] sha256:8db3b3339e97d10a9a2291a9e6eaf4006388c7a56210f4b5e1ffe1b530c231a0 - 11.72% (3.88 MB)
[#015] sha256:6aac38334c6dc18430e1a88f06763d2442507d2399839aa064614c2e10df80d1 - 0.01% (2 KB)
[#016] sha256:8a7bac9c2c01fcdafe9a7245039efd239733523076b9383b69cdfa1a457a4740 - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-armv7.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC
36.8 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:52f827f723504aa3325bb5a54247f0dc4b92bb72569525bc951532c4ef679bd4 - 10.36% (3.81 MB)
[#001] sha256:0a259b492a8c3558416dd48f8aad1dda78fda9cef38298295c5e43623b56a18c - 8.63% (3.17 MB)
[#002] sha256:549c6a796a4d698d720516d98efaded2b858014b8a81418484745626b542df1b - 0.0% (942 Bytes)
[#003] sha256:5e06c334c2725cc400bba17c21a0380b9f9c970473c4959000a3921b22cdf4a8 - 0.0% (217 Bytes)
[#004] sha256:ce86ef064edc436017f8d7adf39a34791690aa9358ada4968c2846dc852ca8a5 - 32.6% (12 MB)
[#005] sha256:82573dd219577096ad073ab5cc5aec03711465792e841e32a69de3f869ad15db - 0.0% (494 Bytes)
[#006] sha256:1bbbae26bb0f5db0f77bfe9fcba38e8bcc044c378146650d12820205ac9a1e6f - 34.22% (12.6 MB)
[#007] sha256:5c60f0abd9ea38dd6ecb2f0cb65f214d431a2b1baf0daa5356300de042fbf19e - 0.01% (2.39 KB)
[#008] sha256:4ab9b6841504d1eebe9d868b28fbea6b9f043a83188fb388330853ee17ac2a32 - 0.05% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:ef4b77cf854b474df3e3d58c03e8b3ccc81841d1ab6e9539f4d028a1eb69438a - 0.02% (8.96 KB)
[#011] sha256:d21189b1968a2e9e15c05d193c618e988d9d718aa05b5b449078983cabd45053 - 2.14% (805 KB)
[#012] sha256:03843ccb107b7313f8091f53f04a6cda2f247ca3b1b521ab3c1abbaad11a3947 - 0.0% (324 Bytes)
[#013] sha256:8363d934d394a1cbae946b32c070ec18d66d812708548004668f46f916204043 - 1.39% (524 KB)
[#014] sha256:eaf36d7bdd74f1057c433aa07228411410febfe79bdbdf56d66c973826a994c6 - 10.57% (3.88 MB)
[#015] sha256:e2e744ad9803b6a313b3cbaf1429a64945fe796130fe517d9a6aadcd8807d63f - 0.01% (2 KB)
[#016] sha256:dafca4a7741a6ea3e4db6959c77cdd407580eef376aae3aaf09f6c83ba93dbed - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-aarch64.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC
36.4 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:244ac55e5ecd413dee99efe3ace7cb84420bfc9a727ec2327dae7805045d7470 - 9.37% (3.41 MB)
[#001] sha256:27e88c0bde0da532d37286f677138c7e480dcb6f566920007e98f5e5eb88d6d4 - 9.11% (3.32 MB)
[#002] sha256:2e3cc68900042575ac984146d93aef63e5c37b3e8c420156abe75bd0eab7f3e2 - 0.0% (941 Bytes)
[#003] sha256:33bec6f6109cf776dd85e5729606c85d0024f7d6d1ec08e54ddb40c264cc4f45 - 0.0% (223 Bytes)
[#004] sha256:5e937f22521a2c5c57bad977a229d6e9072d584f968720e77c7468f3c07adc51 - 32.93% (12 MB)
[#005] sha256:4ee2fef4b8ba52f45ba1a66f55a24b49b2c1ff5223ab683fe5fafc0545d1749b - 0.0% (495 Bytes)
[#006] sha256:cad7e358e9c338d3f835700b6f489786f3dcc391427afaa4ab0b9ba7f75dc5f1 - 35.84% (13 MB)
[#007] sha256:07ac65a743e7d76f558c2bf53b7d11a2802a7e6ce2e55ea2c59bb892dda843fb - 0.01% (2.39 KB)
[#008] sha256:67f57ceab25bd72011ba80ae068a79d6a6b3a33aead15a7ab9b8dd8ca6feac47 - 0.05% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:403622d54d10d493a25581d099ee8432c3185b8b7424313137ed99d2669bb837 - 0.02% (8.96 KB)
[#011] sha256:45ae4597b6d557d1c7c7c25afca1359ea05b8a83464ae7f616f7380c36f05870 - 0.55% (204 KB)
[#012] sha256:20d08d2e4e129f0e4038b822744414ffcf5ec873f4fd565b8c92ae04e9604bc4 - 0.0% (324 Bytes)
[#013] sha256:ec2149081f95cc77ad31ee789772e511bf39f14073530f5d6fe4f4f890c8e139 - 1.44% (535 KB)
[#014] sha256:5933091eced20afaf00b765c90e29170a45bfd666dba9a5cd4cbf4ad399a58ad - 10.67% (3.88 MB)
[#015] sha256:aa83fdb24604afaa1219b003a3f72af1dd9c64f43bdf3c55626b5f5cd5d0a32c - 0.01% (2 KB)
[#016] sha256:0da1b157259490cc16641408617560a7bd600be86ae7daa88f37f3915c0afb11 - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-ppc64le.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC
35.8 MB
1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.3.16.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_SHA25640d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
PHP_URLhttps://www.php.net/distributions/php-8.3.16.tar.xz
PHP_VERSION8.3.16
YOURLS_SHA25662a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
YOURLS_VERSION1.9.2
[#000] sha256:b2af93686f9384c40cfe861d7173877bb2ee1675c3ee70181799693c34c8722f - 9.23% (3.31 MB)
[#001] sha256:26282a4a0a714cd1f4efa558a9c16c549bcb3d98039f808a2da09f37551fac63 - 9.48% (3.4 MB)
[#002] sha256:82035fdc219157bbb0deab69c2a1382fccf8a51ac5b20be190e26173e8a8be95 - 0.0% (943 Bytes)
[#003] sha256:8c31af6d9d81023b2dbb6d6e14114bb3c0a961f429216de8f8cdfd98fb13c317 - 0.0% (214 Bytes)
[#004] sha256:e7e2199922fd8d7b8d2453ad72d0f34a391222745fd39879844966ec900938f5 - 33.45% (12 MB)
[#005] sha256:adde8da54c2f0f411f50cf6a809c4a1af1aee5affd7cb940e862bfdca93c3518 - 0.0% (498 Bytes)
[#006] sha256:f4f7fb1fc245741323ebc4eb147da95dfcd8a2c6e0bb633d0061f597f51444c1 - 35.01% (12.5 MB)
[#007] sha256:34851439a144f35dca37236ffcb0218a7ba02b3fc0d1b49db93660c3043c71b1 - 0.01% (2.39 KB)
[#008] sha256:8cddda9c549e9df5904213a2c37a90c34f6e4295fb9272bc5fcae0ab585797b5 - 0.05% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:acbf5ae9a1ef4a2a5234e34dc0987fcc6e4c2424e71f5b50c5cb7d4b4725de4b - 0.02% (8.97 KB)
[#011] sha256:fc5ed024e75870c1c1d502ac3489e0223e25514da18a32226bd025709071259e - 0.53% (196 KB)
[#012] sha256:9aa6835ab26acecb23b56801474b26a50b5d24c0ba3c6459e2366f28f3e40338 - 0.0% (325 Bytes)
[#013] sha256:9740fa0818889e03d200105e04ac082fbfe425238a6ef55a8ec261ca6b7b9096 - 1.36% (499 KB)
[#014] sha256:38788ee14e73454ff6a3f66bcdbabe143fff4e60c85a5dbb44a460672f3505fe - 10.84% (3.88 MB)
[#015] sha256:d42f76c6350c6a7ddf701ea69d2c4e57f77016612c35e7f6795ccd91f8e576ac - 0.01% (2 KB)
[#016] sha256:0e8e8e922632acd73449c1bbf904167acf7125cfced197378fb887d800945afc - 0.0% (1.65 KB)
ADD alpine-minirootfs-3.21.2-s390x.tar.gz / # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.3.16
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.3.16.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.16.tar.xz.asc
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=40d3b4e6cac33d3bcefe096d75a28d4fb4e3a9615eb20a4de55ba139fbfacdd5
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; apk del --no-network .fetch-deps # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ARG YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_VERSION=1.9.2
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENV YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)RUN |2 YOURLS_VERSION=1.9.2 YOURLS_SHA256=62a95ba766d62f3305d75944cbfe12d5a90c08c88fbf2f6e67150d36412b916f /bin/sh -c set -eux; curl -o yourls.tar.gz -fsSL "https://github.com/YOURLS/YOURLS/archive/${YOURLS_VERSION}.tar.gz"; echo "$YOURLS_SHA256 *yourls.tar.gz" | sha256sum -c -; tar -xf yourls.tar.gz -C /usr/src/; mv "/usr/src/YOURLS-${YOURLS_VERSION}" /usr/src/yourls; rm yourls.tar.gz; chown -R www-data:www-data /usr/src/yourls # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config-container.php /usr/src/yourls/user/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)COPY container-entrypoint.sh /usr/local/bin/ # buildkit
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["container-entrypoint.sh"]
2024-04-18 21:17:33 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
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.