2021-12-03 06:50:17 UTC
148 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.25
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.26.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_SHA256e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
PHP_URLhttps://www.php.net/distributions/php-7.4.26.tar.xz
PHP_VERSION7.4.26
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.82% (2.7 MB)
[#001] sha256:5c05111b719bf0e9c81182879ace55b68244fff3ccaacc6813f9ce740b1adf4d - 1.17% (1.73 MB)
[#002] sha256:2f12e62d2679739a2acadab070b1c7d0f433a8a46d449147d00fa5c4aa0a8753 - 0.0% (1.23 KB)
[#003] sha256:6f3e1535943b040497915113f37b46a4ba0dc10f27aabcdb6dbf9d0b594ca8be - 0.0% (267 Bytes)
[#004] sha256:05e3f24501ef304b64e206982d7aa4664cc7425378028bd85a1d8bec6a61b1fd - 6.73% (9.96 MB)
[#005] sha256:cceece03507d726abbafc27867570be8fcec456898af998289ca0a5034a71027 - 0.0% (496 Bytes)
[#006] sha256:ed81a5e471a0fb0ac5db3803906d670ff33f24ce191b6d5503a37b724d753592 - 9.5% (14.1 MB)
[#007] sha256:6d34c69be3be4d02cde28162b729b0909898059702aee6a6529b76167bae54c4 - 0.0% (2.25 KB)
[#008] sha256:e9a719c36dc46411961b026b86c9b6744fc257a4d971e7637af885757b17898f - 0.01% (17.8 KB)
[#009] sha256:f6f545379a5e98d3ea29f36cd127d7f7e95d2f119e73b1f51eb227c6a98185fc - 0.01% (8.24 KB)
[#010] sha256:8b751f9713362a466bf2d5d66fbd2ee9799d41c84c0cbe195295b7fd022019b8 - 48.02% (71.1 MB)
[#011] sha256:9d5ef4896a33e5e99fea66b1919f59fdfe5403025fe19c1b7554e77d9291db86 - 0.0% (867 Bytes)
[#012] sha256:970e7294fc31a8e50c8fbe7059ed051f9654ae62b29cd42ee932845394e21373 - 0.0% (163 Bytes)
[#013] sha256:316fadd913cac072abccf88f1a62d0e977ef4c698571f9c83b7814a0c6434c1c - 0.0% (1.11 KB)
[#014] sha256:1d4c0460af97e0bf47e9fe3324eae1db08a74b525e1cf16e48f9d1ec4fe302a8 - 0.0% (285 Bytes)
[#015] sha256:ba2d77cc4b57dba7d41d8003c005b638bf6ba25ce891eb40b025975882267f95 - 0.0% (943 Bytes)
[#016] sha256:4f9a31d7caf6908f7cea53e9e1b3bf162d8c7a46e6feff3aaeb7b20486696fee - 0.0% (1012 Bytes)
[#017] sha256:e4150359a7d08e05345bb556fa5cbd061d9cef7f99e43cdfacd27a6e6ebc02a5 - 0.0% (997 Bytes)
[#018] sha256:46fdab77e74dc78cba15b791e5b04f51343b911758ec925fd8e63a358e404f07 - 0.0% (188 Bytes)
[#019] sha256:5e35a3021edacc77562851d8b659d70a2fc21cc1c39a8b346245471f91b1bba0 - 0.0% (430 Bytes)
[#020] sha256:0866df2cb23f2a98dfb607ce63ec0fb55e19efbeea6170e7dd6453056c2c812f - 11.8% (17.5 MB)
[#021] sha256:3a69a04ea4d5fc86832bdeafe759e3a5b05c8f5e46e9de76282288c01fad5160 - 0.0% (6.54 KB)
[#022] sha256:3713a8afddafe28b782abf58cf6b2b55d57eb1f24e33d5d0ace5015ce7b8712f - 20.94% (31 MB)
[#023] sha256:48dd7f796ba530ef4c6356486a5b14d44f3c450502bde32c8429a9c2f83ce16c - 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-18 16:36:04 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.26
2021-11-18 16:36:05 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.26.tar.xz.asc
2021-11-18 16:36:05 UTC/bin/sh -c #(nop) ENV PHP_SHA256=e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
2021-11-18 16:36:14 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-18 16:36:14 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-18 16:53:52 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-18 16:53:53 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-18 16:53:54 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-18 16:53:54 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-18 16:53:55 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-18 16:53:55 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-18 16:53:56 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-18 16:53:56 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-18 16:53:56 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.25
2021-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-12-03 06:38:48 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-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:38: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/; rm -Rf /var/www/*; mkdir /var/www/html/; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-12-03 06:38:49 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-12-03 06:49:49 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 bzip2-dev gettext-dev libressl-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp bz2 gettext sockets ; pecl install memcached-3.1.5; pecl install redis-5.3.4; pecl install mcrypt; pecl install imagick-3.5.1; docker-php-ext-enable memcached redis mcrypt imagick ; 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-12-03 06:49:49 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-12-03 06:49:49 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-12-03 06:49:49 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-12-03 06:49:49 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-12-03 06:50:17 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-12-03 06:50:17 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-12-03 06:50:17 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-12-03 06:50:17 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-12-03 06:49:54 UTC
147 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.25
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.26.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_SHA256e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
PHP_URLhttps://www.php.net/distributions/php-7.4.26.tar.xz
PHP_VERSION7.4.26
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.83% (2.69 MB)
[#001] sha256:b67f99012ff9aa7245baebc28963e44f53cc1832fcfaec246f78b5e7e861fbe6 - 1.11% (1.63 MB)
[#002] sha256:db81da314e0b3e7be6d4c80bd6a2cdc1d7f66d6fffc8334a527f6b6e20fca340 - 0.0% (1.23 KB)
[#003] sha256:5646ac679ebe77089fb6446f9911a66ae64db7d5b774d356b04c1c911ca0a081 - 0.0% (268 Bytes)
[#004] sha256:0be823f312052566b7ce9a4bd0f842ce5bb4a3eb11a295a0326824ffabb11329 - 6.77% (9.96 MB)
[#005] sha256:a2bf6fbeb3f2d33e3045b03de8b00c39540b64ff8ade8bbbceaee342cee8de90 - 0.0% (499 Bytes)
[#006] sha256:e81a787dbd1e9ce1abbb601e5097839f68fa0872fcf2b20fe9e08d92706cc3f6 - 9.32% (13.7 MB)
[#007] sha256:8c60064d1dcd12774fdd35b08d44c9d8d6c36a2d2d22665d0c9aac5122765bae - 0.0% (2.25 KB)
[#008] sha256:5ad85c2c33f48fea14f6fcc5a45bda37d44c29b176783ba30c4ef8ffaec9579a - 0.01% (17.8 KB)
[#009] sha256:0380c49e03155916174a049701a799d4e3acde985be9ddb835bb401c0c4bc776 - 0.01% (8.25 KB)
[#010] sha256:3c30863c26398cb6ed767b384dd5793fe0c6e82c646a398d3efbfe37a928c4f7 - 48.12% (70.8 MB)
[#011] sha256:acec776495d10fa54ba28234ab16ef59551d7efc4b186f83d61d9a2e2843f161 - 0.0% (866 Bytes)
[#012] sha256:3a00f91719e33e0404fe35564079cb4342bbc63bd8847eb3e36d9effc1303786 - 0.0% (162 Bytes)
[#013] sha256:a50034c4eeb9a765479d966f6af41a22c26461196e9bd2beed7acdc469bf4fab - 0.0% (1.11 KB)
[#014] sha256:818b6e059839371f68e576e7f3fff4b819c2c4a713759d284a5a55f8e8d1e63d - 0.0% (284 Bytes)
[#015] sha256:eb4e18ff8171d21b8bedd708aa906bb8716ed9b4088324eb5cc47b96fdda35d7 - 0.0% (943 Bytes)
[#016] sha256:8ab6d40a0237b6b0ab45cda508eb90fcfa74b007fff48565c77b6d2a60da7028 - 0.0% (1013 Bytes)
[#017] sha256:1c8159988c02f0eb2fecb8877b80ffe55a40181f84fd5734e7e7c900c1bfe261 - 0.0% (997 Bytes)
[#018] sha256:ac49aa9c4c150fb7bbba1afc0ebae230c8476b6ac2e0e4fa3b9be1da63f5b5d2 - 0.0% (188 Bytes)
[#019] sha256:f4a0403eeefa75b91e5330df163a08920d2a9ffdaefa0f6a27e22b36084132e2 - 0.0% (430 Bytes)
[#020] sha256:0c62a97d6854c39c5ea05040658d0ffd24e65a3cca39f3a11b7f3f67645acb9c - 11.75% (17.3 MB)
[#021] sha256:aa13df1f894dc95f9038f1f0a0d2a0492a2041ea3d997bbc72bbc66ade5dbda4 - 0.0% (6.54 KB)
[#022] sha256:b194fa0b673937b86fb3e4aae8abc095afd576f90e91e62bc230341a2b439796 - 21.07% (31 MB)
[#023] sha256:48dd7f796ba530ef4c6356486a5b14d44f3c450502bde32c8429a9c2f83ce16c - 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-18 16:53:45 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.26
2021-11-18 16:53:46 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.26.tar.xz.asc
2021-11-18 16:53:46 UTC/bin/sh -c #(nop) ENV PHP_SHA256=e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
2021-11-18 16:54:02 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-18 16:54:02 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-18 17:12:26 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-18 17:12:28 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-18 17:12:30 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-18 17:12:31 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-18 17:12:31 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-18 17:12:33 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-18 17:12:33 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-18 17:12:34 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-18 17:12:34 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-12-03 06:38:47 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.25
2021-12-03 06:38:47 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-12-03 06:38:47 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-12-03 06:38:47 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-12-03 06:38:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:38:47 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:38:48 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-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-12-03 06:38:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-12-03 06:38:48 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-12-03 06:49:30 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 bzip2-dev gettext-dev libressl-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp bz2 gettext sockets ; pecl install memcached-3.1.5; pecl install redis-5.3.4; pecl install mcrypt; pecl install imagick-3.5.1; docker-php-ext-enable memcached redis mcrypt imagick ; 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-12-03 06:49:30 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-12-03 06:49:30 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-12-03 06:49:30 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-12-03 06:49:30 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-12-03 06:49:54 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-12-03 06:49:54 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-12-03 06:49:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-12-03 06:49:54 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-12-03 08:06:12 UTC
142 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.25
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.26.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_SHA256e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
PHP_URLhttps://www.php.net/distributions/php-7.4.26.tar.xz
PHP_VERSION7.4.26
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.77% (2.51 MB)
[#001] sha256:19fb65eff99d3570be8bbee58e3796b49e0e6fbc64d6c2b55e01eaf1b07709af - 1.14% (1.62 MB)
[#002] sha256:0ffe18ffa25cea29b8a20ba6c41b7485fd89e792d6d333919ea738dcff33555f - 0.0% (1.23 KB)
[#003] sha256:215c6f1ae3409a42a8b2531ec3f19b4dddc77724624fdc7fe72175b53fa03ad0 - 0.0% (267 Bytes)
[#004] sha256:51043c3368ded4fd963ab642ab064049684d3774825d00295f6ca60cfab1f3a0 - 7.02% (9.96 MB)
[#005] sha256:687f953ec69c43d8ed6b25d8342ad3a9988bfd9ec8b998a3c9150b701281c7e1 - 0.0% (496 Bytes)
[#006] sha256:5af3d8c14828174afaf52ea2d1687ebcae18f6fdc9347eceaea6729d50dab442 - 8.98% (12.7 MB)
[#007] sha256:8f6b8b2d0a6bd485b05c2660f05a72d3a5e2219859149cc907f5fc3286267f0b - 0.0% (2.25 KB)
[#008] sha256:8f11a7caf8be03ecdabf9c5e394252e56c2331c1e5fe80678288415d3edabd04 - 0.01% (17.8 KB)
[#009] sha256:68b138828e619a0e3c36f93378809eada43426c21ccbad05764660a00bd394ba - 0.01% (8.24 KB)
[#010] sha256:844e0f6177688efb9c3484a006b6eba4d20d797de56d03f42cf84b7dbc254e53 - 47.29% (67.1 MB)
[#011] sha256:7e7243b20962849c6223c52f55a928ccd303bc80a5481832ab7b09e720dee2a4 - 0.0% (868 Bytes)
[#012] sha256:868e1971306371941f96bac382a9360053dd3372d110f8bcdd22469a0260b86c - 0.0% (163 Bytes)
[#013] sha256:8a334266ed01691d4e41237529e971db9519e22a97b797102596f74ff30f636a - 0.0% (1.11 KB)
[#014] sha256:518d7687887ab13b2871d35a648f5c6df66904e4e2d14e7ec2d4be6e245eb631 - 0.0% (282 Bytes)
[#015] sha256:27f83629426f4b6b4af91deb6aa4f4216d667ba22135c9821d43c7acc3ef779d - 0.0% (943 Bytes)
[#016] sha256:3a415b77c7e956dda2650a2ba120343b3ba85456d245f84b19653ce8873bdf2a - 0.0% (1013 Bytes)
[#017] sha256:3c4be964205c2e6fb6e08b576dd870b36250908c3d824b0b7790e210fbc7446f - 0.0% (998 Bytes)
[#018] sha256:625bbe36913638b0cadd2c93190ba23fbeb2669abf64625106143919d121625f - 0.0% (192 Bytes)
[#019] sha256:944e597e9f4913a443bb5bdfdfcb0464714fe42d70dc8de1176aba9a4b1c7723 - 0.0% (431 Bytes)
[#020] sha256:6fd18878e8c32259f7fada02985725a831598264725de22ccc3b470830ccdb0d - 11.94% (16.9 MB)
[#021] sha256:2d0e59932119553a8dc55becccd6ff23af42abe73be6f7579f9e783f5e55cc52 - 0.0% (6.54 KB)
[#022] sha256:e3430b4c363d42f625c37e99f2d1f8a7112dcb5ae65f18331aa48778bec9587c - 21.83% (31 MB)
[#023] sha256:48dd7f796ba530ef4c6356486a5b14d44f3c450502bde32c8429a9c2f83ce16c - 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-18 15:54:58 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.26
2021-11-18 15:54:59 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.26.tar.xz.asc
2021-11-18 15:54:59 UTC/bin/sh -c #(nop) ENV PHP_SHA256=e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
2021-11-18 15:55:13 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-18 15:55:14 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-18 16:04:44 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-18 16:04:45 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-18 16:04:48 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-18 16:04:49 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-18 16:04:49 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-18 16:04:51 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-18 16:04:51 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-18 16:04:52 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-18 16:04:52 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-12-03 06:39:18 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.25
2021-12-03 06:39:18 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-12-03 06:39:18 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-12-03 06:39:18 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-12-03 06:39:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:39:18 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:39:19 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-12-03 06:39:19 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-12-03 06:39:19 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-12-03 06:39:19 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-12-03 06:39:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-12-03 06:39:20 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-12-03 08:05:37 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 bzip2-dev gettext-dev libressl-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp bz2 gettext sockets ; pecl install memcached-3.1.5; pecl install redis-5.3.4; pecl install mcrypt; pecl install imagick-3.5.1; docker-php-ext-enable memcached redis mcrypt imagick ; 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-12-03 08:05:37 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-12-03 08:05:37 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-12-03 08:05:37 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-12-03 08:05:37 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-12-03 08:06:11 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-12-03 08:06:12 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-12-03 08:06:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-12-03 08:06:12 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-12-03 08:06:55 UTC
137 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.25
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.26.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_SHA256e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
PHP_URLhttps://www.php.net/distributions/php-7.4.26.tar.xz
PHP_VERSION7.4.26
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.69% (2.33 MB)
[#001] sha256:c0d591a38553bed13e4644c2ee36cc92a36f4f866265bcec258baef16176c11b - 1.09% (1.5 MB)
[#002] sha256:a132a38f5266edd87272c20d2129b4448b3dfb530a70424219ddd45fd1d2eb73 - 0.0% (1.23 KB)
[#003] sha256:2a99b8f25382a7fadffc08ae9ebf09b2a2be48a858daf03148035e46335c089a - 0.0% (267 Bytes)
[#004] sha256:33572509eb61a00128f39ee9fda81cb699091c67e258241e7006f6a508e94157 - 7.25% (9.96 MB)
[#005] sha256:72afaf8d84251c8c9bb1d3668785c2bce2ef1c270b5f1b16c3fe057f380e8d20 - 0.0% (498 Bytes)
[#006] sha256:779edc804ece016723b3d8569453951e1eba3770d689a2cbf58191273848167e - 8.68% (11.9 MB)
[#007] sha256:3f7d608b067cd591eeb1aeb25e822c5890e6f0852f8fb1dc5989b5e636ed317a - 0.0% (2.25 KB)
[#008] sha256:1c49ede17d89f8439fbf9a98b9e5e11eb4ffd92ad07c9add13382718835bbb6a - 0.01% (17.8 KB)
[#009] sha256:29cea458fe8e3a0f91069e42c6056acc7769666ee60cf64ad2dc28a258f740b7 - 0.01% (8.25 KB)
[#010] sha256:4d941bdec9c1de9ffed7682bfcc111ab5e31aaa9919d9ac54c20bd77d35e058b - 46.57% (64 MB)
[#011] sha256:bf995d0312827ae9752c9f29b93397f921c5e2f2c2627d4b98609f1d240018ad - 0.0% (868 Bytes)
[#012] sha256:0a030f1c2b697d9b7af3410c86effbbca2f896ab010d2669b997df59dc1e54cb - 0.0% (163 Bytes)
[#013] sha256:c38c9e259e7584e9901fe65d3f4c942986c0c048cc7a0c3de7d6743072d40647 - 0.0% (1.11 KB)
[#014] sha256:d354866f449a04915daf7d5d766b58d4bd7b1014acdf0f5985fac47654f331b5 - 0.0% (284 Bytes)
[#015] sha256:cf39e736c63ab9f294bf6596e421ec0aecd62f8e77bd9495c43e4169f86adcf2 - 0.0% (947 Bytes)
[#016] sha256:b94c114c7a3783da077f2e359b6c260b22bf79c2dc6ecd63467972bff4c9f3e8 - 0.0% (1015 Bytes)
[#017] sha256:e87affb08165bb33c661e3e3eb2f49e4da9df373f5eacb32e7692795357af19b - 0.0% (1000 Bytes)
[#018] sha256:11c14ef8cebbc01a809d4c6910860c27c36b4a488d8f9f42afac613a5c8d0bb0 - 0.0% (191 Bytes)
[#019] sha256:e82020ee9fe2323f00dc48b5efaf9e9a7cbe20f9102d6951a554e8a20004d74c - 0.0% (432 Bytes)
[#020] sha256:33f3b60e186f67c8138f9119ecd0487876cca4622d916911c3eca9fa6e9e5ea2 - 12.14% (16.7 MB)
[#021] sha256:378ffa50c950f86bb1d662f105c4699f50a7a8408c7f7f759bfd3e452fec2208 - 0.0% (6.54 KB)
[#022] sha256:b207bededcfc68c12ea02a3383ee2e026088631e4b67b453cdc334f707fb18f4 - 22.55% (31 MB)
[#023] sha256:48dd7f796ba530ef4c6356486a5b14d44f3c450502bde32c8429a9c2f83ce16c - 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-18 17:34:29 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.26
2021-11-18 17:34:29 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.26.tar.xz.asc
2021-11-18 17:34:30 UTC/bin/sh -c #(nop) ENV PHP_SHA256=e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
2021-11-18 17:34:44 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-18 17:34:44 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-18 17:43:33 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-18 17:43:34 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-18 17:43:36 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-18 17:43:37 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-18 17:43:37 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-18 17:43:39 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-18 17:43:39 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-18 17:43:40 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-18 17:43:40 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.25
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-12-03 06:39:21 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-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:39:22 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-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-12-03 08:06: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 bzip2-dev gettext-dev libressl-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp bz2 gettext sockets ; pecl install memcached-3.1.5; pecl install redis-5.3.4; pecl install mcrypt; pecl install imagick-3.5.1; docker-php-ext-enable memcached redis mcrypt imagick ; 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-12-03 08:06:28 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-12-03 08:06:28 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-12-03 08:06:28 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-12-03 08:06:28 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-12-03 08:06:55 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-12-03 08:06:55 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-12-03 08:06:55 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-12-03 08:06:55 UTC (buildkit.dockerfile.v0)CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]
2021-12-03 08:11:23 UTC
145 MB
42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
KODBOX_VERSION1.25
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.26.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_SHA256e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
PHP_URLhttps://www.php.net/distributions/php-7.4.26.tar.xz
PHP_VERSION7.4.26
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.79% (2.59 MB)
[#001] sha256:9716534ffbe55fb7b1cdc9c51401565113fe78d473379c595bf42e6d05fd5e6e - 1.13% (1.63 MB)
[#002] sha256:49d47cbc9449ef4aab290c562e2d538c1152c89268a02bb026807264d1c3d6da - 0.0% (1.2 KB)
[#003] sha256:2a654447725655854a94c8af1e17c61ba95c1eb179a627aa323bfd70bfbae408 - 0.0% (221 Bytes)
[#004] sha256:4fe8a5cd6e7b96df864899309b2e8c0fa05b123321e61f6af6cbc7d98ce260c8 - 6.87% (9.96 MB)
[#005] sha256:e0d909104778cbfc0311368bde399e8451a0e2a0d149c22eb42fcb1ac70c3cfc - 0.0% (496 Bytes)
[#006] sha256:c7da90346c6fbfe105ca5ed861a6d771a222ac2c800f62b145cd08fa636b6f51 - 9.31% (13.5 MB)
[#007] sha256:cdef70d9f1a8d1a096749e1610f7529ca4c5f58b6ab6a94de1ad3167f860ba69 - 0.0% (2.25 KB)
[#008] sha256:59a3657fb4056704509e3c814335d219d1f7ddc4c6df8d32975d2a582a383670 - 0.01% (17.7 KB)
[#009] sha256:bee09c074e685d06c59d3db8fc9c241d78fc68e320fea7ab92c8638d4d44b59f - 0.01% (8.25 KB)
[#010] sha256:36d85f2f28f3846d8105479b2a28d6739b30ba2e0e2239fcd8e52e7b6edfebb2 - 47.57% (68.9 MB)
[#011] sha256:bf995d0312827ae9752c9f29b93397f921c5e2f2c2627d4b98609f1d240018ad - 0.0% (868 Bytes)
[#012] sha256:0a030f1c2b697d9b7af3410c86effbbca2f896ab010d2669b997df59dc1e54cb - 0.0% (163 Bytes)
[#013] sha256:c38c9e259e7584e9901fe65d3f4c942986c0c048cc7a0c3de7d6743072d40647 - 0.0% (1.11 KB)
[#014] sha256:7df80977ef8a62c40373c6b7bb2c28282a504911ca1436208c4c68903f308b25 - 0.0% (285 Bytes)
[#015] sha256:3ce85fe2b453a7b292b934ccbd6bfd22bf0683417f5fabba96f94961e543549c - 0.0% (944 Bytes)
[#016] sha256:e5973fe45332d3822c67d94bb6400403d1566cf06cf0ec525ef4fafbd3e1be47 - 0.0% (1014 Bytes)
[#017] sha256:79f7e4a1c8db059e9f98af12ecde088a10ea664b66c02a3f10b7368e98f65cb2 - 0.0% (998 Bytes)
[#018] sha256:7938105843583551ae70bf84cabb95bd108b556014fb669827975ff3f137f6e0 - 0.0% (189 Bytes)
[#019] sha256:59840720a428f3fd405f6706bccc50465c8967b5aa97dd8805e2500f7212dea3 - 0.0% (432 Bytes)
[#020] sha256:5e0bd9d7d37ed41b96fc411cc7db43190f84ab84e0003c63c8d950a189490c53 - 11.9% (17.2 MB)
[#021] sha256:bee80995c96f2b3c5924489498dbab9d8a3853d3b593a548d3f6e28055c31a07 - 0.0% (6.54 KB)
[#022] sha256:05810e47ff095d82c1d4c45e738c692a54129553db8dc3d0b40b2799a53b2350 - 21.39% (31 MB)
[#023] sha256:48dd7f796ba530ef4c6356486a5b14d44f3c450502bde32c8429a9c2f83ce16c - 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-18 16:16:44 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.4.26
2021-11-18 16:16:45 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.26.tar.xz.asc
2021-11-18 16:16:46 UTC/bin/sh -c #(nop) ENV PHP_SHA256=e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
2021-11-18 16:16:55 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-18 16:16:57 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2021-11-18 16:24:16 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-18 16:24:17 UTC/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/
2021-11-18 16:24:18 UTC/bin/sh -c docker-php-ext-enable sodium
2021-11-18 16:24:18 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2021-11-18 16:24:19 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2021-11-18 16:24:20 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-18 16:24:21 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2021-11-18 16:24:22 UTC/bin/sh -c #(nop) EXPOSE 9000
2021-11-18 16:24:23 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ENV KODBOX_VERSION=1.25
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so php
2021-12-03 06:39:21 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-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ADD conf/supervisord.conf /etc/supervisord.conf # buildkit
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:39:21 UTC (buildkit.dockerfile.v0)ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit
2021-12-03 06:39:22 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-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site.conf /etc/nginx/sites-available/default.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/nginx-site-ssl.conf /etc/nginx/sites-available/default-ssl.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit
2021-12-03 06:39:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/default.conf # buildkit
2021-12-03 06:39:23 UTC (buildkit.dockerfile.v0)ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit
2021-12-03 08:10:56 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 bzip2-dev gettext-dev libressl-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 gd intl ldap opcache pcntl pdo_mysql mysqli zip gmp bz2 gettext sockets ; pecl install memcached-3.1.5; pecl install redis-5.3.4; pecl install mcrypt; pecl install imagick-3.5.1; docker-php-ext-enable memcached redis mcrypt imagick ; 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-12-03 08:10:56 UTC (buildkit.dockerfile.v0)ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf
2021-12-03 08:10:56 UTC (buildkit.dockerfile.v0)ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini
2021-12-03 08:10:56 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-12-03 08:10:56 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2021-12-03 08:11:23 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-12-03 08:11:23 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh / # buildkit
2021-12-03 08:11:23 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2021-12-03 08:11:23 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.