2026-07-09 21:31:57 UTC
379 MB
AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.23.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_SHA2561ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
PHP_URLhttps://www.php.net/distributions/php-8.4.23.tar.xz
PHP_VERSION8.4.23
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:e6f31ffc071e5560b82a8685fba8214954e5721e3e49269d00958316edbe89fe - 0.97% (3.67 MB)
[#001] sha256:b3d16d43d36d0d123810256dcffd764875dcad7fb30e67d12531b0a660a61ca2 - 0.87% (3.3 MB)
[#002] sha256:1743faccad6d21ee710fe3800d166dfd9b78a992de759b7550a7a26efde82580 - 0.0% (934 Bytes)
[#003] sha256:740f58b47e260f9f1958642b16e1d7ad789956b03d9035c1fe1eff1b9845cd78 - 0.0% (222 Bytes)
[#004] sha256:9f36ac426542f4dd37bbea0afbb1ba7bcf808ed7d69d0eaa9421166c21cc6bc7 - 3.46% (13.1 MB)
[#005] sha256:58a6b59e811ddf2a1e62a76ca2da81a6c49576921ba8f96242bba320d700719a - 0.0% (487 Bytes)
[#006] sha256:81dc6391cd920a04da573e17724545940811cf722e2268bffc56cdfae0cec9e0 - 3.86% (14.6 MB)
[#007] sha256:ae3842a5ff12ef3b452b9c5b12faa607ba1a40e1883b09bae2262e766a6c9c41 - 0.0% (2.39 KB)
[#008] sha256:a32d5289bd5725975a2bd5c865c61e960f10cfb4ab7f03b1d684a2dba1ce6c06 - 0.01% (21.8 KB)
[#009] sha256:1be48a4a466a87c0c6b72d4d49caff7388385d65a4b9aea27d04307031fc896c - 0.01% (21.8 KB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:3b1ed5feb96f2b544c248c98c0c5791e461b02e6dacfa2ed34a62ceaa90c2d50 - 0.0% (9.05 KB)
[#012] sha256:1999b25bea17bd963908ff30fdf2a68c9aa6f9f25b91cc6828655289bcc16c45 - 72.59% (275 MB)
[#013] sha256:f0cac91a630bfd69920aacc6081ee52b8c026c1e01acf7c865a6a787dfd844a6 - 0.0% (863 Bytes)
[#014] sha256:070e8b2eda358f2be682ecac0ee08e2c023d5173e6481cc1ebf2e7c777acc9b1 - 0.0% (149 Bytes)
[#015] sha256:3731ffc6e2e0f4eb9c536717d6a1cc696c3498aade9004e671e5501f703e5321 - 0.0% (1.82 KB)
[#016] sha256:09d3be2f92c6c1f0ae6804016106bbe464599668d2f65a7d9a451241dfe9781c - 0.0% (404 Bytes)
[#017] sha256:aeb547522943802f1cc5f45b65f7939f2fa01f8096d121c276b8e7894f910b38 - 0.0% (1.13 KB)
[#018] sha256:a6095e7ed49258dc1780b8d687f317fa5c23a9fe53182f405776d2909cd706a1 - 1.8% (6.83 MB)
[#019] sha256:d8c84db520fa3ce151e84e231557fec61539af04eb1a5fcc82246db4d88130ee - 0.0% (7.27 KB)
[#020] sha256:f5a53447f9684eb5d455ffd3d7ec0450eaf50a6358981fbcee10547126bb951f - 16.43% (62.3 MB)
[#021] sha256:6f473a893035906a7f2f82a82370cb03cfe37fefb3163d384f2e172010324816 - 0.0% (2.73 KB)
ADD alpine-minirootfs-3.23.5-x86_64.tar.gz / # buildkit
2026-06-22 19:20:09 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-07-02 20:40:48 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
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.23
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.23.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.23.tar.xz.asc
2026-07-02 20:40:48 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
2026-07-02 20:40:50 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; 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"; apk del --no-network .fetch-deps # buildkit
2026-07-02 20:40:50 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-07-02 20:44:05 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)"; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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
2026-07-02 20:44:05 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2026-07-02 20:44:06 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2026-07-09 21:25:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; addgroup -g 101 -S nginx && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick imagemagick-pdf imagemagick-jpeg imagemagick-raw imagemagick-tiff imagemagick-heic imagemagick-webp imagemagick-svg ffmpeg tzdata unzip p7zip nginx coreutils openjdk25 poppler-utils && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir -p /run/nginx && mkdir -p /var/log/supervisor && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone # buildkit
2026-07-09 21:25:35 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2026-07-09 21:25:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:25:35 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:25:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /etc/nginx/sites-available/; mkdir -p /etc/nginx/sites-enabled/; mkdir -p /etc/nginx/ssl/; mkdir /var/www/html/; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2026-07-09 21:25:35 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2026-07-09 21:31:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install imagick-3.8.1; pecl install memcached-3.4.0 --configureoptions 'enable-memcached-igbinary="yes"'; pecl install redis-6.3.0 --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; docker-php-ext-enable imagick memcached redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .kodbox-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2026-07-09 21:31:40 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2026-07-09 21:31:40 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2026-07-09 21:31:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "memory_limit = 512M" >> ${php_vars} && echo "max_execution_time = 3600" >> ${php_vars} && echo "max_input_time = 3600" >> ${php_vars} && sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" -e "s/pm.max_children = */pm.max_children = 50/g" -e "s/pm.start_servers = */pm.start_servers = 10/g" -e "s/pm.min_spare_servers = */pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = */pm.max_spare_servers = 30/g" -e "s/;pm.max_requests = 500/pm.max_requests = 500/g" -e "s/user = www-data/user = nginx/g" -e "s/group = www-data/group = nginx/g" -e "s/;listen.mode = 0660/listen.mode = 0666/g" -e "s/;listen.owner = www-data/listen.owner = nginx/g" -e "s/;listen.group = www-data/listen.group = nginx/g" -e "s/;listen = 127.0.0.1:9000/listen = \/var\/run\/php-fpm.sock/g" -e "s/^;clear_env = no$/clear_env = no/" ${fpm_conf} # buildkit
2026-07-09 21:31:40 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2026-07-09 21:31:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.box.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; curl -fsSL -o update.zip "https://api.box.kodcloud.com/?app/version&download=server.linkUpdate"; mv update.zip /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit
2026-07-09 21:31:57 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2026-07-09 21:31:57 UTC (buildkit.dockerfile.v0)EXPOSE [443/tcp 80/tcp]
2026-07-09 21:31:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-07-09 21:31:57 UTC (buildkit.dockerfile.v0)CMD ["supervisord" "-n" "-c" "/etc/supervisord.conf"]
2026-07-09 22:36:10 UTC
373 MB
AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.23.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_SHA2561ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
PHP_URLhttps://www.php.net/distributions/php-8.4.23.tar.xz
PHP_VERSION8.4.23
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:14a4754c352fba4c6c0da8e4f01bb990463c19f7ff63e090073c385bd2bc5046 - 1.07% (3.99 MB)
[#001] sha256:bed445ddf655e72992b566ee0845baacf11254264f45171281c5b4f4b14dca69 - 0.89% (3.32 MB)
[#002] sha256:4d63dfcfba4e64778d4ca7682797d3d38b40a88feffb6a1e5636d58a4d8ec8f2 - 0.0% (932 Bytes)
[#003] sha256:08045c18523b7512d1e62cdcc479116c1b33eda928cf353125b85f5208f90c91 - 0.0% (215 Bytes)
[#004] sha256:80d76b3494a64f56bd45b72d7f7fb65687e2558d240c84f66b7afceef04b5ec3 - 3.52% (13.1 MB)
[#005] sha256:c7de1e425aa9dc7754d1197f01b9ae41d665be00161c5a00e79d942b29488589 - 0.0% (488 Bytes)
[#006] sha256:c1c08c9e36d594e87c7fccea98ef4c4facf7a0e601dfbcef51f544049aa89845 - 3.79% (14.1 MB)
[#007] sha256:c69a4eefa9ae4fb00074c8b0aba94ba9fc7cc61ba30a93dfdcd7a6eb1baf7c01 - 0.0% (2.39 KB)
[#008] sha256:fd1c06a293d26f255ee3e425e531e7426456a5a25a0a0e8bfb80c426ef29ab9e - 0.01% (21.6 KB)
[#009] sha256:d801ddf0d787af8a552f605e738a4c94c5eaa65c02b44542ef00cddda0f643b3 - 0.01% (21.6 KB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:86144ccfeb8e396948652975f74ee2c90c30a596477ce0ef93dad6c19324b277 - 0.0% (9.04 KB)
[#012] sha256:97813ae1fe0de81a2a070174aaa0eca72ac7dd094ea606320234a1a445df1f05 - 72.21% (269 MB)
[#013] sha256:60644e6abc6184080dd040725c5e971aa710d8c55a141170483dfec3eb48748d - 0.0% (862 Bytes)
[#014] sha256:1fea0bf7df42d1c69327cd0a5892680cb069d1347d1e31017530fa7136e40600 - 0.0% (150 Bytes)
[#015] sha256:e89b0694ec9d4896f891426e2bbedf924e4c14d65351066ab1df94f825903c02 - 0.0% (1.82 KB)
[#016] sha256:e7320de9ef4e66955902f2b23c38c7d6e85308c8c3a5cbe4d1e7b84a51e30a7f - 0.0% (406 Bytes)
[#017] sha256:8a44c557d168100fcdffafebb86a25bba950737bdb625cf273d0db908b23d83c - 0.0% (1.13 KB)
[#018] sha256:564a62dc362a7fdd910d76bd446f3b611c9116cc782546ba2a0b85d995a91f3b - 1.79% (6.69 MB)
[#019] sha256:b6df948e9b8d0c603897f9be8a23300140a718164569427cddbdb5e697badbe4 - 0.0% (7.27 KB)
[#020] sha256:232add5e2155a2901f83ed76567ebf82b7dfeda620632f04d03836a3a52b6b07 - 16.71% (62.3 MB)
[#021] sha256:6f473a893035906a7f2f82a82370cb03cfe37fefb3163d384f2e172010324816 - 0.0% (2.73 KB)
ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit
2026-06-22 19:19:57 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-07-02 20:41:09 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
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.23
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.23.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.23.tar.xz.asc
2026-07-02 20:41:09 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
2026-07-02 20:41:12 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; 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"; apk del --no-network .fetch-deps # buildkit
2026-07-02 20:41:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-07-02 20:44:45 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)"; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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
2026-07-02 20:44:45 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-07-02 20:44:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2026-07-02 20:44:46 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2026-07-09 21:26:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; addgroup -g 101 -S nginx && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick imagemagick-pdf imagemagick-jpeg imagemagick-raw imagemagick-tiff imagemagick-heic imagemagick-webp imagemagick-svg ffmpeg tzdata unzip p7zip nginx coreutils openjdk25 poppler-utils && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir -p /run/nginx && mkdir -p /var/log/supervisor && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone # buildkit
2026-07-09 21:26:12 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2026-07-09 21:26:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:26:13 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:26:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /etc/nginx/sites-available/; mkdir -p /etc/nginx/sites-enabled/; mkdir -p /etc/nginx/ssl/; mkdir /var/www/html/; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2026-07-09 21:26:13 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2026-07-09 22:35:51 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install imagick-3.8.1; pecl install memcached-3.4.0 --configureoptions 'enable-memcached-igbinary="yes"'; pecl install redis-6.3.0 --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; docker-php-ext-enable imagick memcached redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .kodbox-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2026-07-09 22:35:51 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2026-07-09 22:35:51 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2026-07-09 22:35:51 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "memory_limit = 512M" >> ${php_vars} && echo "max_execution_time = 3600" >> ${php_vars} && echo "max_input_time = 3600" >> ${php_vars} && sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" -e "s/pm.max_children = */pm.max_children = 50/g" -e "s/pm.start_servers = */pm.start_servers = 10/g" -e "s/pm.min_spare_servers = */pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = */pm.max_spare_servers = 30/g" -e "s/;pm.max_requests = 500/pm.max_requests = 500/g" -e "s/user = www-data/user = nginx/g" -e "s/group = www-data/group = nginx/g" -e "s/;listen.mode = 0660/listen.mode = 0666/g" -e "s/;listen.owner = www-data/listen.owner = nginx/g" -e "s/;listen.group = www-data/listen.group = nginx/g" -e "s/;listen = 127.0.0.1:9000/listen = \/var\/run\/php-fpm.sock/g" -e "s/^;clear_env = no$/clear_env = no/" ${fpm_conf} # buildkit
2026-07-09 22:35:51 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2026-07-09 22:36:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.box.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; curl -fsSL -o update.zip "https://api.box.kodcloud.com/?app/version&download=server.linkUpdate"; mv update.zip /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit
2026-07-09 22:36:10 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2026-07-09 22:36:10 UTC (buildkit.dockerfile.v0)EXPOSE [443/tcp 80/tcp]
2026-07-09 22:36:10 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-07-09 22:36:10 UTC (buildkit.dockerfile.v0)CMD ["supervisord" "-n" "-c" "/etc/supervisord.conf"]
2026-07-09 22:28:52 UTC
380 MB
AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.23.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_SHA2561ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
PHP_URLhttps://www.php.net/distributions/php-8.4.23.tar.xz
PHP_VERSION8.4.23
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:8593c4b2127f4c903557fc9d975d78f121957a1e927c866a1c54d29f11b3ba76 - 0.96% (3.64 MB)
[#001] sha256:db6a45cd04d119b3c9d26d7f907356c821c9c3e39f3d7e57bf812eff4c63c2de - 0.91% (3.47 MB)
[#002] sha256:9b68be9cdc419c07baa3849d133638caa59a2b75cd45ec1a00efda68efd9ed2f - 0.0% (932 Bytes)
[#003] sha256:f785bda7aea92234457f42a98168ada58d8feb5754d3cb1e5389b329f16b02e7 - 0.0% (220 Bytes)
[#004] sha256:ea10d5394b91a34f80d54f9b963effddb19fbeddde8812d3f3c3e1688a3fb5d1 - 3.46% (13.1 MB)
[#005] sha256:eb55a5c90ec9965d44b7826fd21c35495d7f379b927bce4e1c80acf1413f02db - 0.0% (486 Bytes)
[#006] sha256:6a8eb1a24364e99fe0c3059a546b498b0357aa03b3a3f6c604abbadf8ea005c8 - 3.99% (15.1 MB)
[#007] sha256:6aa8256c2894e09ac8cfee10882b8ff3f86c7c71f51c5107cbbbcadaa059f27c - 0.0% (2.39 KB)
[#008] sha256:25ae5e49efffdd529487bd650ab66fd442697ac9be04d4591031d1b1b7379ec0 - 0.01% (21.6 KB)
[#009] sha256:d36444ff5c65bd23723dad95dbdb92eaf54b6c29507e71ea098bcef0c760600f - 0.01% (21.7 KB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:c09fbfb264eea24d383cffb550868f19e6675b3d7df4f13d290a97dc3f6922d8 - 0.0% (9.05 KB)
[#012] sha256:cb41dce13adbbfde6ce342afa39d85a9b69a52d37d1b29650c683e20fd22d416 - 72.52% (275 MB)
[#013] sha256:c182f3905b881eed1c09ec5a96490891bbd6f039c6dd6463923da4bd991c9dff - 0.0% (863 Bytes)
[#014] sha256:14e32332c7a12c4bed42234a3ce339734baca1132711e3dba922e5c4c97c5c20 - 0.0% (149 Bytes)
[#015] sha256:e02b0294a502dcaf9acf90a2662ee80126084327b1061f1cec83118c1f4578ee - 0.0% (1.82 KB)
[#016] sha256:c0f0f72ebcc51150f64bed3700a88e30efc15c85f4f7c372998033665c6b0962 - 0.0% (412 Bytes)
[#017] sha256:14b18a0e4fc9373b5ba2e4307f64df5cc25847128e2b70d19faa468340cad0dd - 0.0% (1.14 KB)
[#018] sha256:b43975bf25ba3b369d8927d14314dd97420dee2156fbf79c67b5b1c9df2b29f5 - 1.74% (6.59 MB)
[#019] sha256:a759cd096d046cd970ec2207eb8071ce094058193fa972d513d053147fd48193 - 0.0% (7.27 KB)
[#020] sha256:5be5fa7e445755da47bfb20c0a0b8998100225ce9e3d5bc2d91218ee22844d1a - 16.4% (62.3 MB)
[#021] sha256:6f473a893035906a7f2f82a82370cb03cfe37fefb3163d384f2e172010324816 - 0.0% (2.73 KB)
ADD alpine-minirootfs-3.23.5-ppc64le.tar.gz / # buildkit
2026-06-22 19:19:21 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-02 21:04:11 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2026-07-02 21:04:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2026-07-02 21:04:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2026-07-02 21:04:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-07-02 21:04:13 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
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.23
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.23.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.23.tar.xz.asc
2026-07-02 21:04:13 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
2026-07-02 21:43:12 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; 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"; apk del --no-network .fetch-deps # buildkit
2026-07-02 21:43:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-07-02 21:48:34 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)"; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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
2026-07-02 21:48:34 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-07-02 21:48:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2026-07-02 21:48:37 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2026-07-09 21:26:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; addgroup -g 101 -S nginx && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick imagemagick-pdf imagemagick-jpeg imagemagick-raw imagemagick-tiff imagemagick-heic imagemagick-webp imagemagick-svg ffmpeg tzdata unzip p7zip nginx coreutils openjdk25 poppler-utils && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir -p /run/nginx && mkdir -p /var/log/supervisor && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone # buildkit
2026-07-09 21:26:23 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2026-07-09 21:26:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:26:23 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:26:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /etc/nginx/sites-available/; mkdir -p /etc/nginx/sites-enabled/; mkdir -p /etc/nginx/ssl/; mkdir /var/www/html/; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2026-07-09 21:26:24 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2026-07-09 22:28:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install imagick-3.8.1; pecl install memcached-3.4.0 --configureoptions 'enable-memcached-igbinary="yes"'; pecl install redis-6.3.0 --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; docker-php-ext-enable imagick memcached redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .kodbox-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2026-07-09 22:28:31 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2026-07-09 22:28:31 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2026-07-09 22:28:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "memory_limit = 512M" >> ${php_vars} && echo "max_execution_time = 3600" >> ${php_vars} && echo "max_input_time = 3600" >> ${php_vars} && sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" -e "s/pm.max_children = */pm.max_children = 50/g" -e "s/pm.start_servers = */pm.start_servers = 10/g" -e "s/pm.min_spare_servers = */pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = */pm.max_spare_servers = 30/g" -e "s/;pm.max_requests = 500/pm.max_requests = 500/g" -e "s/user = www-data/user = nginx/g" -e "s/group = www-data/group = nginx/g" -e "s/;listen.mode = 0660/listen.mode = 0666/g" -e "s/;listen.owner = www-data/listen.owner = nginx/g" -e "s/;listen.group = www-data/listen.group = nginx/g" -e "s/;listen = 127.0.0.1:9000/listen = \/var\/run\/php-fpm.sock/g" -e "s/^;clear_env = no$/clear_env = no/" ${fpm_conf} # buildkit
2026-07-09 22:28:31 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2026-07-09 22:28:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.box.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; curl -fsSL -o update.zip "https://api.box.kodcloud.com/?app/version&download=server.linkUpdate"; mv update.zip /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit
2026-07-09 22:28:52 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2026-07-09 22:28:52 UTC (buildkit.dockerfile.v0)EXPOSE [443/tcp 80/tcp]
2026-07-09 22:28:52 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-07-09 22:28:52 UTC (buildkit.dockerfile.v0)CMD ["supervisord" "-n" "-c" "/etc/supervisord.conf"]
2026-07-09 22:29:27 UTC
374 MB
AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.23.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_SHA2561ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
PHP_URLhttps://www.php.net/distributions/php-8.4.23.tar.xz
PHP_VERSION8.4.23
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:e7ed98545f58cf5b2daa8ddc132c859b15cb780cb2ee2246e28415eaba3d63c8 - 0.95% (3.54 MB)
[#001] sha256:8bf1320a34fb3da4f53ca1f778c229240a6487eb951bde46dbc5c0360a002016 - 0.93% (3.49 MB)
[#002] sha256:b8cbe5cba0cb638748549ffd0e08b55fde4208759fd5a00a9822ad452b0122e8 - 0.0% (931 Bytes)
[#003] sha256:5167910faa0225728f02b6917717c312564a48ebfb8720e451d6f1d2219c072a - 0.0% (217 Bytes)
[#004] sha256:d9f6cca0f3164706a98db87f5c284590c7775cc963ceb98db834c861b755ddd5 - 3.51% (13.1 MB)
[#005] sha256:bc6f52cc5ee4ee15984e7b36a56e74bac9ac07f1f61f0f333b056b6b8410d548 - 0.0% (491 Bytes)
[#006] sha256:b23bc88da131a21d2ea9c80c20e5e84b4b7ddb1fb3295c4b6c8bd97d0854618e - 3.84% (14.4 MB)
[#007] sha256:095af69bb69d2f441919dc726a7013ccc3691edf15babe4bf5fe725e5c924cba - 0.0% (2.39 KB)
[#008] sha256:45e0c34dc956827dc85aec353cae8d93c897fabe39ea309a4fc9860411659aab - 0.01% (21.6 KB)
[#009] sha256:1596c35e1a47dc3ede3e75180e7f47fd70cb4135bd530f20a096e1a701b35c16 - 0.01% (21.7 KB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:657c1a989a7771d161cd8f2652bf753bee59474a44a610ff007f69a1aed50435 - 0.0% (9.05 KB)
[#012] sha256:076ea92e7d4ee7f0db9d239d055d21521021f58822e58e2c027def0dcd35fe82 - 72.38% (271 MB)
[#013] sha256:4fc29937586ba5c397aa77a1320927fcf2af973a53417be28063ff09eaa063ef - 0.0% (862 Bytes)
[#014] sha256:a71ae9e049a96401fcbe791cf3bcb5895d21c627a69d12aa300801c683a062f3 - 0.0% (149 Bytes)
[#015] sha256:1e26e6bfa41c1373692f9fc84c7d2ad99050ab7851e91911cfa547bd2f95d122 - 0.0% (1.82 KB)
[#016] sha256:199d5d2fcdab852f5704b4c7391cdf2d90251456ee3b01efb0410ccdefc6f881 - 0.0% (406 Bytes)
[#017] sha256:62ef90a871040707861b962080512df4cafe6cf1753b516f9a8560d95b52b34b - 0.0% (1.13 KB)
[#018] sha256:6a93b7e677ca2a55b30c12d44b4481497944fabe13cdf268a5ad7b8a73f5f70d - 1.73% (6.46 MB)
[#019] sha256:7366a45d3175e39eb930553ba50c42cecac6cc957d488f202710c1e84757aa8a - 0.0% (7.27 KB)
[#020] sha256:77e1d57cf3dceacee300565f302b8a2e086032d2d96694b79a592870d7d24e9f - 16.65% (62.3 MB)
[#021] sha256:6f473a893035906a7f2f82a82370cb03cfe37fefb3163d384f2e172010324816 - 0.0% (2.73 KB)
ADD alpine-minirootfs-3.23.5-s390x.tar.gz / # buildkit
2026-06-22 19:19:13 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-07-02 20:47:26 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
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.23
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.23.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.23.tar.xz.asc
2026-07-02 20:47:26 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72
2026-07-02 21:04:41 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; 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"; apk del --no-network .fetch-deps # buildkit
2026-07-02 21:04:41 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-07-02 21:09:36 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)"; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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
2026-07-02 21:09:36 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-07-02 21:09:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2026-07-02 21:09:38 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2026-07-09 21:27:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; addgroup -g 101 -S nginx && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick imagemagick-pdf imagemagick-jpeg imagemagick-raw imagemagick-tiff imagemagick-heic imagemagick-webp imagemagick-svg ffmpeg tzdata unzip p7zip nginx coreutils openjdk25 poppler-utils && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir -p /run/nginx && mkdir -p /var/log/supervisor && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone # buildkit
2026-07-09 21:27:48 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2026-07-09 21:27:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:27:48 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2026-07-09 21:27:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /etc/nginx/sites-available/; mkdir -p /etc/nginx/sites-enabled/; mkdir -p /etc/nginx/ssl/; mkdir /var/www/html/; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2026-07-09 21:27:49 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2026-07-09 22:29:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install imagick-3.8.1; pecl install memcached-3.4.0 --configureoptions 'enable-memcached-igbinary="yes"'; pecl install redis-6.3.0 --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; docker-php-ext-enable imagick memcached redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .kodbox-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2026-07-09 22:29:02 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2026-07-09 22:29:02 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2026-07-09 22:29:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "memory_limit = 512M" >> ${php_vars} && echo "max_execution_time = 3600" >> ${php_vars} && echo "max_input_time = 3600" >> ${php_vars} && sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" -e "s/pm.max_children = */pm.max_children = 50/g" -e "s/pm.start_servers = */pm.start_servers = 10/g" -e "s/pm.min_spare_servers = */pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = */pm.max_spare_servers = 30/g" -e "s/;pm.max_requests = 500/pm.max_requests = 500/g" -e "s/user = www-data/user = nginx/g" -e "s/group = www-data/group = nginx/g" -e "s/;listen.mode = 0660/listen.mode = 0666/g" -e "s/;listen.owner = www-data/listen.owner = nginx/g" -e "s/;listen.group = www-data/listen.group = nginx/g" -e "s/;listen = 127.0.0.1:9000/listen = \/var\/run\/php-fpm.sock/g" -e "s/^;clear_env = no$/clear_env = no/" ${fpm_conf} # buildkit
2026-07-09 22:29:02 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2026-07-09 22:29:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.box.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; curl -fsSL -o update.zip "https://api.box.kodcloud.com/?app/version&download=server.linkUpdate"; mv update.zip /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit
2026-07-09 22:29:27 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2026-07-09 22:29:27 UTC (buildkit.dockerfile.v0)EXPOSE [443/tcp 80/tcp]
2026-07-09 22:29:27 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-07-09 22:29:27 UTC (buildkit.dockerfile.v0)CMD ["supervisord" "-n" "-c" "/etc/supervisord.conf"]
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.