2021-11-13 13:04:59 UTC
147 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.24
LD_PRELOAD/usr/lib/preloadable_libiconv.so php
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-7.4.25.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_SHA25612a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
PHP_URLhttps://www.php.net/distributions/php-7.4.25.tar.xz
PHP_VERSION7.4.25
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:5420e0d28c84ecb16748cb90cc6acf8e2a81dab10cb1f674f3eee8533e53c62a - 1.84% (2.7 MB)
[#001] sha256:5c05111b719bf0e9c81182879ace55b68244fff3ccaacc6813f9ce740b1adf4d - 1.18% (1.73 MB)
[#002] sha256:2f12e62d2679739a2acadab070b1c7d0f433a8a46d449147d00fa5c4aa0a8753 - 0.0% (1.23 KB)
[#003] sha256:6f3e1535943b040497915113f37b46a4ba0dc10f27aabcdb6dbf9d0b594ca8be - 0.0% (267 Bytes)
[#004] sha256:f627c51f9e7c941f2bfe145bb4c045406341d13ef64529cdacd7ff7f1c7db83f - 6.75% (9.91 MB)
[#005] sha256:7ddb13f8066ab4b609f972a588ab442637a47d9f2bc58dd7f6f4c147f0c2cc9f - 0.0% (493 Bytes)
[#006] sha256:9480d590a33a33a8678cdbf42b3ec026760a4b9c283364c161946c95addfbe14 - 9.56% (14.1 MB)
[#007] sha256:1ffe25f064786558579dea2bbf5d507794194727afc9e3b8df196395b35e8682 - 0.0% (2.25 KB)
[#008] sha256:2a4d1ccb6ce72912e5b4580d2234012353d8a03e65268c471d860ee74adf94e1 - 0.01% (17.8 KB)
[#009] sha256:18dc58ff89442c6adc1d040a757550a47a287d17b735c1756b3bfd941e4db932 - 0.01% (8.24 KB)
[#010] sha256:54d585e0f649dd724cbead06029befb21fb1c90731383b9dc62b503f04ebf575 - 48.35% (71.1 MB)
[#011] sha256:430531f6e600ed3a7b24ad862403646423049a58efe38203ba11cba0fc289a0a - 0.0% (868 Bytes)
[#012] sha256:408f75d555694d192f5e73a167a140f795562f72eea5ff5ea00de4ac9bf4caa8 - 0.0% (163 Bytes)
[#013] sha256:a5e9de5750c0cc26776d93ae9a50c985557288f88cd9519582187850ea580116 - 0.0% (1.11 KB)
[#014] sha256:d23f422e4f2e4525a77b0bfcf9b9bc4e11da3bbbed1f36252c86e1e13398d3be - 0.0% (282 Bytes)
[#015] sha256:525b0898d3a12e80315f36d9f7a0363780af690b47236bc99593bbf265e62a09 - 0.0% (949 Bytes)
[#016] sha256:374890f8028d1e910d02b26769473143edde78ac8abef6592408d190e1e7855c - 0.0% (1018 Bytes)
[#017] sha256:b1749c0cf9b0073d3af8ccd4bbb0ee6deb8fe05f8020b93681fb0047811d9089 - 0.0% (1003 Bytes)
[#018] sha256:66752fabd735368ace9b4c55d6a850597a39d8dd6caea9d40a706f490a4ef307 - 0.0% (192 Bytes)
[#019] sha256:38294f59dc089906a6280c7b4e8e921d71b8a562f9928d4a3a5c10b4ccef3fad - 0.0% (432 Bytes)
[#020] sha256:65c34ff868e16d67c25e523f5771d518b374542b8cc0b958ed4aba88228e355f - 11.25% (16.5 MB)
[#021] sha256:193dc6595cf099763d0cab227947b8348ffd71b4ede531c2c6206f059773eab3 - 0.0% (6.54 KB)
[#022] sha256:b59c42bc9782c3b7af2f316d17febe47f89e83f0c7e989d45bd9562afc81d05e - 21.05% (30.9 MB)
[#023] sha256:a13c6d6ecc8eddc1aab1c1785bfa7d3930b1bc06f643357fb7cd122679f11924 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ADD file:403428c2903dd9dea10d069185873cb2c2c3149c553797807c69f22aa3d12fe3 in /
2021-11-12 16:38:42 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2021-11-13 00:47:21 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2021-11-13 00:47:24 UTC/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl
2021-11-13 00:47:26 UTC/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data
2021-11-13 00:47:26 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2021-11-13 00:47:27 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html
2021-11-13 00:47:27 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 00:47:28 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 00:47:28 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2021-11-13 02:05:16 UTC/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
2021-11-13 02:05:16 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.25
2021-11-13 02:05:17 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.25.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.25.tar.xz.asc
2021-11-13 02:05:17 UTC/bin/sh -c #(nop) ENV PHP_SHA256=12a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
2021-11-13 02:05:31 UTC/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
2021-11-13 02:05:31 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-13 02:21:41 UTC/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --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
2021-11-13 02:21:42 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-13 02:21:45 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-13 02:21:45 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-13 02:21:46 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-13 02:21:47 UTC/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 '; if we send this to /proc/self/fd/1, it never appears'; 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
2021-11-13 02:21:47 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-13 02:21:48 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-13 02:21:48 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-11-13 12:56:09 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.24
2021-11-13 12:56:09 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-11-13 12:56:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk update && apk upgrade && apk add --no-cache rsync supervisor imagemagick ffmpeg tzdata unzip nginx && 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
2021-11-13 12:56:10 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-11-13 12:56:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:12 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:14 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/; rm -Rf /var/www/*; mkdir /var/www/html/; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2021-11-13 12:56:15 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-11-13 12:56:15 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-11-13 12:56:16 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-11-13 12:56:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-11-13 12:56:17 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-11-13 13:04:28 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 gmp-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp ; pecl install memcached; pecl install redis; pecl install mcrypt; docker-php-ext-enable memcached redis mcrypt ; 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 --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit
2021-11-13 13:04:28 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-11-13 13:04:28 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-11-13 13:04:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "variables_order = \"EGPCS\"" >> ${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 = 5/pm.max_children = 50/g" -e "s/pm.start_servers = 2/pm.start_servers = 10/g" -e "s/pm.min_spare_servers = 1/pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = 3/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
2021-11-13 13:04:29 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-11-13 13:04:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o kodbox.zip "https://static.kodcloud.com/update/download/kodbox.${KODBOX_VERSION}.zip"; export GNUPGHOME="$(mktemp -d)"; unzip kodbox.zip -d /usr/src/kodbox/; gpgconf --kill all; rm kodbox.zip; rm -rf "$GNUPGHOME"; apk del .fetch-deps # buildkit
2021-11-13 13:04:59 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-11-13 13:04:59 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-11-13 13:04:59 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-11-13 13:04:32 UTC
146 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.24
LD_PRELOAD/usr/lib/preloadable_libiconv.so php
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-7.4.25.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_SHA25612a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
PHP_URLhttps://www.php.net/distributions/php-7.4.25.tar.xz
PHP_VERSION7.4.25
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:97518928ae5f3d52d4164b314a7e73654eb686ecd8aafa0b79acd980773a740d - 1.84% (2.69 MB)
[#001] sha256:b67f99012ff9aa7245baebc28963e44f53cc1832fcfaec246f78b5e7e861fbe6 - 1.12% (1.63 MB)
[#002] sha256:db81da314e0b3e7be6d4c80bd6a2cdc1d7f66d6fffc8334a527f6b6e20fca340 - 0.0% (1.23 KB)
[#003] sha256:5646ac679ebe77089fb6446f9911a66ae64db7d5b774d356b04c1c911ca0a081 - 0.0% (268 Bytes)
[#004] sha256:e3860bb49ab4a91b39d2eb6d053412ac3ebf5a7541fb5cc3643556da0ef766aa - 6.79% (9.91 MB)
[#005] sha256:4db0787e015108aae015fff21929bba3669228a71dcb080b38d5958b194e0854 - 0.0% (496 Bytes)
[#006] sha256:a2b1145dd77e20f8f051620e77f3d2e51406de789eae98c685cd84900d5a4776 - 9.38% (13.7 MB)
[#007] sha256:b46665286806de129dbe6bb57d90dcd9b25927bb813dad0562dc48e5cbb39b24 - 0.0% (2.25 KB)
[#008] sha256:4a87e641b616bbe2243dfa2382d2dd4c535b3186e235c112d9a7467a1a4b49b3 - 0.01% (17.8 KB)
[#009] sha256:d8c9ce924d4033b7cbdbdb1df9d9e2f5337472130456f6b312e09004feac849b - 0.01% (8.25 KB)
[#010] sha256:925ce62115c4cec13a9c84fb7a0e8a09520acd8af236752761afb7a4da9503e4 - 48.46% (70.8 MB)
[#011] sha256:7707cf6601952f8e1fc38a9e0c4beb30e2e6f814565cc5d69ed03b872f1ac3be - 0.0% (868 Bytes)
[#012] sha256:d58dab04c28a324ee8a85ff1a29a8dbbae6662bcdaafe26d6e1b80b241716125 - 0.0% (163 Bytes)
[#013] sha256:0d1fd44f2ea37f1b99f90d839645e104041f8fca829f7398aede9537cbe5d0ae - 0.0% (1.11 KB)
[#014] sha256:44b7401c50ff88b546bf02310def1b1f93c9d703ee4098ebea2eeefb0cf294fa - 0.0% (283 Bytes)
[#015] sha256:560c0097d8d1ef40c48f792c775c5dafc8d434a38c2de56cfeeeac43bb9ada9a - 0.0% (949 Bytes)
[#016] sha256:c8235fe7b02e70c94e5950a301d5246526d6739b00064f1a8615d3331d89c893 - 0.0% (1019 Bytes)
[#017] sha256:a1310e24e7b7f83cb97c00bd2684957936d94a0f798860355ef32dec16ffca02 - 0.0% (1004 Bytes)
[#018] sha256:ee9d37c917061e7aa61fe2d9011d43d21da6331534015066d684cc3bc846f74d - 0.0% (191 Bytes)
[#019] sha256:2584823289fc734ccb411979b296860f3124f83f4b74992965e8ceedaa60c557 - 0.0% (430 Bytes)
[#020] sha256:9dc04a32da007a9be8f1c6b07fd4abf547dd66181b5b514fbca9cde79c47b068 - 11.19% (16.3 MB)
[#021] sha256:10920c7a6923c9e3a47389734f73c50ba5442b723017f3d7def53132022fb109 - 0.0% (6.54 KB)
[#022] sha256:11f8b4baf71fb4d2d750795b40c5888600f7fafe3e7b7ee1075867de544ecae4 - 21.19% (30.9 MB)
[#023] sha256:a13c6d6ecc8eddc1aab1c1785bfa7d3930b1bc06f643357fb7cd122679f11924 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ADD file:762c899ec0505d1a32930ee804c5b008825f41611161be104076cba33b7e5b2b in /
2021-11-12 17:19:45 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2021-11-13 07:48:43 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2021-11-13 07:48:45 UTC/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl
2021-11-13 07:48:47 UTC/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data
2021-11-13 07:48:47 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2021-11-13 07:48:48 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html
2021-11-13 07:48:49 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 07:48:49 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 07:48:49 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2021-11-13 09:13:39 UTC/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
2021-11-13 09:13:39 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.25
2021-11-13 09:13:39 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.25.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.25.tar.xz.asc
2021-11-13 09:13:40 UTC/bin/sh -c #(nop) ENV PHP_SHA256=12a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
2021-11-13 09:14:00 UTC/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
2021-11-13 09:14:01 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-13 09:31:10 UTC/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --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
2021-11-13 09:31:10 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-13 09:31:12 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-13 09:31:13 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-13 09:31:13 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-13 09:31:14 UTC/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 '; if we send this to /proc/self/fd/1, it never appears'; 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
2021-11-13 09:31:14 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-13 09:31:15 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-13 09:31:15 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-11-13 12:56:06 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.24
2021-11-13 12:56:06 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-11-13 12:56:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk update && apk upgrade && apk add --no-cache rsync supervisor imagemagick ffmpeg tzdata unzip nginx && 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
2021-11-13 12:56:06 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-11-13 12:56:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:06 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:06 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/; rm -Rf /var/www/*; mkdir /var/www/html/; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2021-11-13 12:56:07 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-11-13 12:56:07 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-11-13 12:56:07 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-11-13 12:56:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-11-13 12:56:09 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-11-13 13:04:08 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 gmp-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp ; pecl install memcached; pecl install redis; pecl install mcrypt; docker-php-ext-enable memcached redis mcrypt ; 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 --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit
2021-11-13 13:04:08 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-11-13 13:04:08 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-11-13 13:04:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "variables_order = \"EGPCS\"" >> ${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 = 5/pm.max_children = 50/g" -e "s/pm.start_servers = 2/pm.start_servers = 10/g" -e "s/pm.min_spare_servers = 1/pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = 3/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
2021-11-13 13:04:09 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-11-13 13:04:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o kodbox.zip "https://static.kodcloud.com/update/download/kodbox.${KODBOX_VERSION}.zip"; export GNUPGHOME="$(mktemp -d)"; unzip kodbox.zip -d /usr/src/kodbox/; gpgconf --kill all; rm kodbox.zip; rm -rf "$GNUPGHOME"; apk del .fetch-deps # buildkit
2021-11-13 13:04:32 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-11-13 13:04:32 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-11-13 13:04:32 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-11-13 14:00:49 UTC
141 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.24
LD_PRELOAD/usr/lib/preloadable_libiconv.so php
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-7.4.25.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_SHA25612a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
PHP_URLhttps://www.php.net/distributions/php-7.4.25.tar.xz
PHP_VERSION7.4.25
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:56afcfda5d78cc243287acbaad250c5e8c0f47aae620dd7c51985b0d3c9b2728 - 1.78% (2.51 MB)
[#001] sha256:19fb65eff99d3570be8bbee58e3796b49e0e6fbc64d6c2b55e01eaf1b07709af - 1.15% (1.62 MB)
[#002] sha256:0ffe18ffa25cea29b8a20ba6c41b7485fd89e792d6d333919ea738dcff33555f - 0.0% (1.23 KB)
[#003] sha256:215c6f1ae3409a42a8b2531ec3f19b4dddc77724624fdc7fe72175b53fa03ad0 - 0.0% (267 Bytes)
[#004] sha256:034ee60c1a33ebd6745b1266bcca1d4c5317ae9a5b0d93e2e72c5f43c109ec9b - 7.04% (9.91 MB)
[#005] sha256:2405b1d786245925a4054223cde83f9dfc88b3997372f414afc90fb2a87277e3 - 0.0% (494 Bytes)
[#006] sha256:4c8a648395b9837081a12594f34248e8b4b9b779bcda4a3b1fd5ff395b826909 - 9.04% (12.7 MB)
[#007] sha256:88a236a386261a9d2062bd6092915ad60cb71e20078ce3fac7e805a3337562c9 - 0.0% (2.25 KB)
[#008] sha256:d051b2d24140bedc5f6dba98305ca334e9edf4378f98fdebce600030d7ab62cc - 0.01% (17.8 KB)
[#009] sha256:99505c30bfb9b79806ba4b6f6ba3436c5fa4cc154951bcad4e9cfdf5ea92757d - 0.01% (8.25 KB)
[#010] sha256:cb959fbc4ce270abb8d9a5365a9acedee0fb2e5589b2a17331957bbbc51dcb87 - 47.63% (67.1 MB)
[#011] sha256:c0ac9d9b646fe3af9a78c936edc51f4bbbc69d87b2f3da27a7cca88680c86a9f - 0.0% (868 Bytes)
[#012] sha256:18738c3ed6609fc063dc2893510d36007940f3303344d2a79b1dea86b6a7e8e0 - 0.0% (163 Bytes)
[#013] sha256:667f03a6bb40026999588cf46c99a88b6d80ca4cbeb65940a23f1ff88f053818 - 0.0% (1.11 KB)
[#014] sha256:a49e9d8cb8d9cf03d160b48790a2f25e4ac990b28a9e664eb90dfe6a3b846cac - 0.0% (283 Bytes)
[#015] sha256:7507b504981aaa3cce1d41bef2196dfd135029875c076d250b5abed182484d34 - 0.0% (944 Bytes)
[#016] sha256:521741258072f0f14a766bcbd7014cc7a5ad8167494d494c0e157120fa8b654c - 0.0% (1014 Bytes)
[#017] sha256:4b57261aaf0228e02acaef510e0d93d46062cd0eca39f6a040effd5e2d938aa2 - 0.0% (999 Bytes)
[#018] sha256:dbdd4baaf44d26e403f82968b53ddf18d82cb4adfb89cba9c32d9172c956e1fa - 0.0% (188 Bytes)
[#019] sha256:32a805df8794bcd6ba5c25c51a4941afa359fc5f115c1192f043e963bab3bc6b - 0.0% (435 Bytes)
[#020] sha256:d7efff5dfeb45e8d179361a3fb7aad76a28506ee4282f4e8fa567bebc8cc9a98 - 11.38% (16 MB)
[#021] sha256:32c0121dd351474a0b626e77a4a7beafdd6a1b17ccae6bfdd546997a9d59dcc9 - 0.0% (6.54 KB)
[#022] sha256:a1d268a389888653a34db8444dc31b2d2e1f22fd948876904392c960f53c44b1 - 21.96% (30.9 MB)
[#023] sha256:a13c6d6ecc8eddc1aab1c1785bfa7d3930b1bc06f643357fb7cd122679f11924 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ADD file:6daf1fe862c00673bf9cf4d7e20b0bf253a56e7fb8ed5e730a4466ab9186e18a in /
2021-11-12 16:49:44 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2021-11-13 01:00:52 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2021-11-13 01:00:55 UTC/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl
2021-11-13 01:00:57 UTC/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data
2021-11-13 01:00:57 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2021-11-13 01:00:59 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html
2021-11-13 01:01:00 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 01:01:00 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 01:01:01 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2021-11-13 01:41:14 UTC/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
2021-11-13 01:41:15 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.25
2021-11-13 01:41:15 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.25.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.25.tar.xz.asc
2021-11-13 01:41:16 UTC/bin/sh -c #(nop) ENV PHP_SHA256=12a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
2021-11-13 01:41:29 UTC/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
2021-11-13 01:41:30 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-13 01:50:55 UTC/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --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
2021-11-13 01:50:57 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-13 01:50:59 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-13 01:51:00 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-13 01:51:00 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-13 01:51:02 UTC/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 '; if we send this to /proc/self/fd/1, it never appears'; 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
2021-11-13 01:51:02 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-13 01:51:03 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-13 01:51:03 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.24
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk update && apk upgrade && apk add --no-cache rsync supervisor imagemagick ffmpeg tzdata unzip nginx && 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
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:37 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/; rm -Rf /var/www/*; mkdir /var/www/html/; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-11-13 12:56:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-11-13 12:56:38 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-11-13 14:00:20 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 gmp-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp ; pecl install memcached; pecl install redis; pecl install mcrypt; docker-php-ext-enable memcached redis mcrypt ; 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 --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit
2021-11-13 14:00:20 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-11-13 14:00:20 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-11-13 14:00:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "variables_order = \"EGPCS\"" >> ${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 = 5/pm.max_children = 50/g" -e "s/pm.start_servers = 2/pm.start_servers = 10/g" -e "s/pm.min_spare_servers = 1/pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = 3/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
2021-11-13 14:00:20 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-11-13 14:00:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o kodbox.zip "https://static.kodcloud.com/update/download/kodbox.${KODBOX_VERSION}.zip"; export GNUPGHOME="$(mktemp -d)"; unzip kodbox.zip -d /usr/src/kodbox/; gpgconf --kill all; rm kodbox.zip; rm -rf "$GNUPGHOME"; apk del .fetch-deps # buildkit
2021-11-13 14:00:49 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-11-13 14:00:49 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-11-13 14:00:49 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-11-13 14:01:37 UTC
136 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.24
LD_PRELOAD/usr/lib/preloadable_libiconv.so php
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-7.4.25.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_SHA25612a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
PHP_URLhttps://www.php.net/distributions/php-7.4.25.tar.xz
PHP_VERSION7.4.25
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:764d2e53e1a607f2d8261522185d5b9021ade3ec1a595664ee90308c00176899 - 1.7% (2.33 MB)
[#001] sha256:c0d591a38553bed13e4644c2ee36cc92a36f4f866265bcec258baef16176c11b - 1.1% (1.5 MB)
[#002] sha256:a132a38f5266edd87272c20d2129b4448b3dfb530a70424219ddd45fd1d2eb73 - 0.0% (1.23 KB)
[#003] sha256:2a99b8f25382a7fadffc08ae9ebf09b2a2be48a858daf03148035e46335c089a - 0.0% (267 Bytes)
[#004] sha256:c482b039e58f8f111109ea15a17d5762745b1ad515acbb732f204586bd6a891e - 7.27% (9.91 MB)
[#005] sha256:31a0f2712f487345a6601b643662825cc65d8c7ec81be5125d4495d21ab9fbfc - 0.0% (492 Bytes)
[#006] sha256:0b9f9cbab6f157851ef712ec8cf71054c3bd4f6f9de3580d99e38089c0b01bb9 - 8.74% (11.9 MB)
[#007] sha256:7b44673dbf33fa7ffa2e603696d33bf8b1ed3128dd35228400753bb7c4dfadf6 - 0.0% (2.25 KB)
[#008] sha256:aef0d6f114744f70f35882d2f2426ad0991705f5c299b1a926b46ff6168f6d5b - 0.01% (17.8 KB)
[#009] sha256:457ee43959153d926a72681ade3adc36ecfa00dd4147eca760e71b71b2c203bc - 0.01% (8.25 KB)
[#010] sha256:4a88fe9ddfc7cd611a2115c2afaa9577095e6e6a621f4f959d424c35e54ecd8e - 46.9% (64 MB)
[#011] sha256:c0ac9d9b646fe3af9a78c936edc51f4bbbc69d87b2f3da27a7cca88680c86a9f - 0.0% (868 Bytes)
[#012] sha256:18738c3ed6609fc063dc2893510d36007940f3303344d2a79b1dea86b6a7e8e0 - 0.0% (163 Bytes)
[#013] sha256:667f03a6bb40026999588cf46c99a88b6d80ca4cbeb65940a23f1ff88f053818 - 0.0% (1.11 KB)
[#014] sha256:5a7f7263fa72f798ed26e94c1f8a870fde5bd1851c3537b93fb4b049af5a468e - 0.0% (284 Bytes)
[#015] sha256:7507b504981aaa3cce1d41bef2196dfd135029875c076d250b5abed182484d34 - 0.0% (944 Bytes)
[#016] sha256:521741258072f0f14a766bcbd7014cc7a5ad8167494d494c0e157120fa8b654c - 0.0% (1014 Bytes)
[#017] sha256:4b57261aaf0228e02acaef510e0d93d46062cd0eca39f6a040effd5e2d938aa2 - 0.0% (999 Bytes)
[#018] sha256:911a8636e24a97cafdf5ab0a9290730b55d96b50a980d5a61ee892f21dba45ce - 0.0% (190 Bytes)
[#019] sha256:32a805df8794bcd6ba5c25c51a4941afa359fc5f115c1192f043e963bab3bc6b - 0.0% (435 Bytes)
[#020] sha256:f8b4f2dd9f3b2218efd59340741942e6f18429d0457006117b4a70f7c44e7a2a - 11.57% (15.8 MB)
[#021] sha256:4d1e44a630f181f86ce6a726eab213c5fea3b214a93a4f86ccd314906ec86ef5 - 0.0% (6.54 KB)
[#022] sha256:6e8fe77fbd892152887b1704de86d7c2008cb5d517bcbad470df6c70c1c4d08e - 22.68% (30.9 MB)
[#023] sha256:a13c6d6ecc8eddc1aab1c1785bfa7d3930b1bc06f643357fb7cd122679f11924 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ADD file:03e0720458c3475758bf4394afa56f2165198eb91e6e9581f7768e433744dd9b in /
2021-11-12 16:57:36 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2021-11-13 02:20:26 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2021-11-13 02:20:29 UTC/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl
2021-11-13 02:20:30 UTC/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data
2021-11-13 02:20:31 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2021-11-13 02:20:33 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html
2021-11-13 02:20:33 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 02:20:34 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-13 02:20:34 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2021-11-13 03:03:08 UTC/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
2021-11-13 03:03:09 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.25
2021-11-13 03:03:09 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.25.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.25.tar.xz.asc
2021-11-13 03:03:10 UTC/bin/sh -c #(nop) ENV PHP_SHA256=12a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
2021-11-13 03:03:18 UTC/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
2021-11-13 03:03:18 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-13 03:12:11 UTC/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --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
2021-11-13 03:12:12 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-13 03:12:14 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-13 03:12:15 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-13 03:12:15 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-13 03:12:17 UTC/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 '; if we send this to /proc/self/fd/1, it never appears'; 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
2021-11-13 03:12:18 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-13 03:12:18 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-13 03:12:18 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.24
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk update && apk upgrade && apk add --no-cache rsync supervisor imagemagick ffmpeg tzdata unzip nginx && 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
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:37 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/; rm -Rf /var/www/*; mkdir /var/www/html/; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-11-13 12:56:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-11-13 12:56:38 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-11-13 14:01:07 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 gmp-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp ; pecl install memcached; pecl install redis; pecl install mcrypt; docker-php-ext-enable memcached redis mcrypt ; 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 --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit
2021-11-13 14:01:07 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-11-13 14:01:07 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-11-13 14:01:07 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "variables_order = \"EGPCS\"" >> ${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 = 5/pm.max_children = 50/g" -e "s/pm.start_servers = 2/pm.start_servers = 10/g" -e "s/pm.min_spare_servers = 1/pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = 3/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
2021-11-13 14:01:07 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-11-13 14:01:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o kodbox.zip "https://static.kodcloud.com/update/download/kodbox.${KODBOX_VERSION}.zip"; export GNUPGHOME="$(mktemp -d)"; unzip kodbox.zip -d /usr/src/kodbox/; gpgconf --kill all; rm kodbox.zip; rm -rf "$GNUPGHOME"; apk del .fetch-deps # buildkit
2021-11-13 14:01:37 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-11-13 14:01:37 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-11-13 14:01:37 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-11-13 14:05:04 UTC
144 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.24
LD_PRELOAD/usr/lib/preloadable_libiconv.so php
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-7.4.25.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_SHA25612a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
PHP_URLhttps://www.php.net/distributions/php-7.4.25.tar.xz
PHP_VERSION7.4.25
fpm_conf/usr/local/etc/php-fpm.d/www.conf
php_vars/usr/local/etc/php/conf.d/docker-vars.ini
[#000] sha256:be307f383ecc62b27a29b599c3fc9d3129693a798e7fcce614f09174cfe2d354 - 1.8% (2.59 MB)
[#001] sha256:9716534ffbe55fb7b1cdc9c51401565113fe78d473379c595bf42e6d05fd5e6e - 1.14% (1.63 MB)
[#002] sha256:49d47cbc9449ef4aab290c562e2d538c1152c89268a02bb026807264d1c3d6da - 0.0% (1.2 KB)
[#003] sha256:2a654447725655854a94c8af1e17c61ba95c1eb179a627aa323bfd70bfbae408 - 0.0% (221 Bytes)
[#004] sha256:663bd428d4e9ba02ad439aef296cff9e9b6cbd839b494a76f3678beffd3fb79a - 6.89% (9.91 MB)
[#005] sha256:c9d3c96b53f8d1cd33cd10ff070f37d5329da8f0ea3fa42ff6ea0926f40201c5 - 0.0% (496 Bytes)
[#006] sha256:3718125581178e6146455e82756649ef189259bdb48ad184b16883b7372cf600 - 9.38% (13.5 MB)
[#007] sha256:a65240fa15630a7e390d93e1b7d3c4634f9d200a5c7b54e116de6f6eb9bc6047 - 0.0% (2.25 KB)
[#008] sha256:bab14b05254d90545e457a359e7e3e0e85496fa2c12e2f843b8f69263df2a9ab - 0.01% (17.7 KB)
[#009] sha256:bb6f5f76d12e871fe2e1b1b69624394d4d0600709c303978d59f9a84f9bf1b74 - 0.01% (8.24 KB)
[#010] sha256:2fd97d744f4770b5f434fca1d53d9478e87ac759316342f51de54843ef8a2b43 - 47.91% (68.9 MB)
[#011] sha256:c0ac9d9b646fe3af9a78c936edc51f4bbbc69d87b2f3da27a7cca88680c86a9f - 0.0% (868 Bytes)
[#012] sha256:acb72f7c53128feb393df6553b3845435b7037d9a9c3b34cbaecbffd48988ed2 - 0.0% (162 Bytes)
[#013] sha256:667f03a6bb40026999588cf46c99a88b6d80ca4cbeb65940a23f1ff88f053818 - 0.0% (1.11 KB)
[#014] sha256:4e3d71dc394c3b2284d296464d00bb444f69b68d37537610603d4387c776c73f - 0.0% (282 Bytes)
[#015] sha256:7507b504981aaa3cce1d41bef2196dfd135029875c076d250b5abed182484d34 - 0.0% (944 Bytes)
[#016] sha256:521741258072f0f14a766bcbd7014cc7a5ad8167494d494c0e157120fa8b654c - 0.0% (1014 Bytes)
[#017] sha256:4b57261aaf0228e02acaef510e0d93d46062cd0eca39f6a040effd5e2d938aa2 - 0.0% (999 Bytes)
[#018] sha256:911a8636e24a97cafdf5ab0a9290730b55d96b50a980d5a61ee892f21dba45ce - 0.0% (190 Bytes)
[#019] sha256:32a805df8794bcd6ba5c25c51a4941afa359fc5f115c1192f043e963bab3bc6b - 0.0% (435 Bytes)
[#020] sha256:d75c8bea93fbf055192a8a545a39c69dbf733bef6d1e2a11378e66a7fe15c62d - 11.34% (16.3 MB)
[#021] sha256:961d89d41a73aae21211bb2a3a2ff939f56267a10feb4bcb9177cbb2e73b0fb2 - 0.0% (6.54 KB)
[#022] sha256:9fe18d47c6c34ebb89ad99bf2dfe350290d4ca249d0885ae161cd45360b80cbd - 21.52% (30.9 MB)
[#023] sha256:a13c6d6ecc8eddc1aab1c1785bfa7d3930b1bc06f643357fb7cd122679f11924 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ADD file:400c0466b29ccad54e0f6c0acef22542992828678c96693ef1f9f4d0551935d8 in /
2021-11-12 16:39:58 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2021-11-12 19:30:33 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2021-11-12 19:30:34 UTC/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl
2021-11-12 19:30:35 UTC/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data
2021-11-12 19:30:36 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2021-11-12 19:30:37 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html
2021-11-12 19:30:38 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-12 19:30:39 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2021-11-12 19:30:40 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2021-11-12 20:22:50 UTC/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
2021-11-12 20:22:51 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.25
2021-11-12 20:22:52 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.25.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.25.tar.xz.asc
2021-11-12 20:22:53 UTC/bin/sh -c #(nop) ENV PHP_SHA256=12a758f1d7fee544387a28d3cf73226f47e3a52fb3049f07fcc37d156d393c0a
2021-11-12 20:23:06 UTC/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
2021-11-12 20:23:08 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-12 20:32:00 UTC/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-openssl --with-readline --with-zlib --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --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
2021-11-12 20:32:01 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-12 20:32:02 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-12 20:32:03 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-12 20:32:04 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-12 20:32:05 UTC/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 '; if we send this to /proc/self/fd/1, it never appears'; 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
2021-11-12 20:32:06 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-12 20:32:07 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-12 20:32:08 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.24
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-11-13 12:56:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk update && apk upgrade && apk add --no-cache rsync supervisor imagemagick ffmpeg tzdata unzip nginx && 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
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:36 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-11-13 12:56:37 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/; rm -Rf /var/www/*; mkdir /var/www/html/; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-11-13 12:56:37 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-11-13 12:56:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-11-13 12:56:38 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-11-13 14:04:43 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 gmp-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp ; pecl install memcached; pecl install redis; pecl install mcrypt; docker-php-ext-enable memcached redis mcrypt ; 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 --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit
2021-11-13 14:04:43 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-11-13 14:04:43 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-11-13 14:04:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "variables_order = \"EGPCS\"" >> ${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 = 5/pm.max_children = 50/g" -e "s/pm.start_servers = 2/pm.start_servers = 10/g" -e "s/pm.min_spare_servers = 1/pm.min_spare_servers = 10/g" -e "s/pm.max_spare_servers = 3/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
2021-11-13 14:04:43 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-11-13 14:05:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o kodbox.zip "https://static.kodcloud.com/update/download/kodbox.${KODBOX_VERSION}.zip"; export GNUPGHOME="$(mktemp -d)"; unzip kodbox.zip -d /usr/src/kodbox/; gpgconf --kill all; rm kodbox.zip; rm -rf "$GNUPGHOME"; apk del .fetch-deps # buildkit
2021-11-13 14:05:04 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-11-13 14:05:04 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-11-13 14:05:04 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/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.