Namespace
kodcloud
Image / Tag
kodbox:v1.43
Content Digest
sha256:3f9cb5a2318fd4fcacb96af21fc31d7c9535f41150eca85ffa09b08f1b830850
Details
Created

2023-09-17 13:03:12 UTC

Size

152 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:95dc695758361a4038a2d9026959d72e1f531114edb0341be7ce47d912ef069e - 2.03% (3.09 MB)

[#001] sha256:d7b2187279b62839adee215aff0a17bafb09ccd31d0570c33d4e98042a183874 - 1.7% (2.58 MB)

[#002] sha256:5141c6405baaddb270a3c61e413a7537d8dbc121079b59d34890bcc5924823d3 - 0.0% (1.23 KB)

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

[#004] sha256:8ea5f5be2308418416a46ec44d7950c360d6c0d27e3df07ab4fa2af44c5a11bd - 7.58% (11.5 MB)

[#005] sha256:57816e580a57be7b8e47d58c9ecdfea543597ab5b1232494013ae54bd979e41e - 0.0% (497 Bytes)

[#006] sha256:e623a4d1b77d68f6dce79d4b878ac775f511fa26b078034eece403a5233eb789 - 8.1% (12.3 MB)

[#007] sha256:ba34ef419a6196eff9091d86bf6e65f5df4d7e2708f36ccd12b94e7369a45811 - 0.0% (2.39 KB)

[#008] sha256:7a6ece26aa35b3e8d15c95ce413ab7b1b1bdb2b856921761b19ebd8c48202f06 - 0.01% (18.5 KB)

[#009] sha256:2c7d2a755437932eddb4481f1cae1f1d1e1ab678eb6829cc74d497fc4696e23a - 0.01% (8.97 KB)

[#010] sha256:703abeb78ae6c02ef198dfd13b81913a57c0211ccd4306df9b29a61d720cd92c - 56.12% (85.2 MB)

[#011] sha256:99ccf567cf4cd960cdf6f917566bc1aa8e4e363605db6b8d8ce76675a6f8fe67 - 0.0% (872 Bytes)

[#012] sha256:a519ea9ebd6bc90a6c332518fff4bf7e429f6557fde0de362437540611539799 - 0.0% (149 Bytes)

[#013] sha256:9fc72c65757c3112d15efb68544c7bb79daffd863fe648e36eaceabb90346ca9 - 0.0% (1.81 KB)

[#014] sha256:ec2b116abdf5a505a9c5516990d811984f11835bb7bf79812e9ec0aca32e6ae8 - 0.0% (267 Bytes)

[#015] sha256:ca030a8e35b8bf45cc348300a65e097fb037cc2d7c903a03dcd4940536931cbc - 0.0% (1.14 KB)

[#016] sha256:8f99ca6821d10060661f27df69026131668a8d5f75765e62176654a289bdd941 - 0.0% (453 Bytes)

[#017] sha256:261e67615d5614ed792985bd234cd4df51a20a68f8dd268ad7f33ba818b3b68f - 4.23% (6.43 MB)

[#018] sha256:44a62a4335dd3c2b0ad725f9aecbe24c6968ae8c07308367ed30c7b3e4ba45a4 - 0.0% (7.11 KB)

[#019] sha256:9d36c3896b417c7c49a5c74186beaa4994b31725bf6f431f0213f118329f51d5 - 20.21% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 19:38:26 UTC

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

2023-08-07 19:38:27 UTC

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

2023-08-08 23:13:22 UTC

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

2023-08-08 23:13:24 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-08 23:13:24 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-08 23:13:25 UTC

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

2023-08-08 23:13:25 UTC

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

2023-08-08 23:13:25 UTC

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

2023-08-08 23:13:25 UTC

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

2023-08-08 23:13:25 UTC

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

2023-08-08 23:51:54 UTC

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

2023-09-02 04:18:13 UTC

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

2023-09-02 04:18:13 UTC

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

2023-09-02 04:18:14 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 04:18:22 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

2023-09-02 04:18:22 UTC

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

2023-09-02 04:31:28 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 04:31:28 UTC

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

2023-09-02 04:31:30 UTC

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

2023-09-02 04:31:30 UTC

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

2023-09-02 04:31:30 UTC

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

2023-09-02 04:31:31 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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 04:31:31 UTC

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

2023-09-02 04:31:31 UTC

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

2023-09-02 04:31:31 UTC

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

2023-09-17 12:06:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:06:36 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:06:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:06:36 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:06: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

2023-09-17 12:06:37 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:06:37 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 13:03:04 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 13:03:04 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 13:03:04 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 13:03:04 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 "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

2023-09-17 13:03:04 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 13:03:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 13:03:12 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 13:03:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 13:03:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 13:03:12 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Details
Created

2023-09-17 12:48:45 UTC

Size

158 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de - 2.05% (3.24 MB)

[#001] sha256:404102781aa39e16bd9a361b243061e50f63d446d6145586a7a849a4129c8081 - 1.6% (2.54 MB)

[#002] sha256:7410f32c8672a1a82d756b99fcd64b40f8731c4e4e8a37962cdb815163f4a2b7 - 0.0% (1.23 KB)

[#003] sha256:956dc56ebfa141534a7cd4f930842179888f0f7404485d229508ea6517f888be - 0.0% (266 Bytes)

[#004] sha256:3f95106f3bdd99dd3378f11eec041df5b58ebf0da5a4ff09b18d1b4aadd789a1 - 7.26% (11.5 MB)

[#005] sha256:9098802ffa48ce1deadc36cbc02a19da35a81d030e4774862e824f6d4b20370e - 0.0% (498 Bytes)

[#006] sha256:06d0409205b93a800e3b2aab6d676c2b4eae4033c620830b7a30445764a1c134 - 7.64% (12.1 MB)

[#007] sha256:7bb45fa2d48de8126fa98c155b355768f54e1d52251c64c7aa254be9ec827f49 - 0.0% (2.39 KB)

[#008] sha256:d67828a2556d54dced4bb650863abfb75fcbc8c37495f6f340fa66cb07d5762d - 0.01% (18.5 KB)

[#009] sha256:e5ede5962d916efdb1ea9fb4c4822082a60e02151dbd498632a15f5010c38b07 - 0.01% (8.96 KB)

[#010] sha256:76afc6c4ba10aac9fd0a535e169b11ae31ad7bbbce54fada3013cd67ace60e10 - 58.05% (92 MB)

[#011] sha256:bd28e43ba0639944a79dd7265cae4b7ec0e14c2def5d936a1fa300b483abd931 - 0.0% (871 Bytes)

[#012] sha256:f23a23b6b8358117b882938a6a9383f2b8372ecde6d5c11e3f173744711bb753 - 0.0% (149 Bytes)

[#013] sha256:2dca1937a805d754b2c30bc7911fbe11cd0f469d59fa08321f1a36e1350398a4 - 0.0% (1.81 KB)

[#014] sha256:43011b895c19f16fa9f7afc6a4ddfb0d6a0ae5990fdaa844fc2a36dfdd0bb3e3 - 0.0% (267 Bytes)

[#015] sha256:d344db97b9cdf721623054759961ab5f1b09fc901c2c86ac4f3d5c8a7f9f2676 - 0.0% (1.14 KB)

[#016] sha256:6a511d3c9148d307cd9179bdac2596c4be5a7c8460cc0a30e6dc05e201b280fd - 0.0% (454 Bytes)

[#017] sha256:483b2b3cfb551961a56a2bd179768eb01f90bdc36556deb9948f7c1e0cc63d5c - 4.02% (6.37 MB)

[#018] sha256:44ae81e4ca6fdccbbd3d4c0ab550ae6aaa241949289cbaa9f13fbe3df1ca4a1a - 0.0% (7.11 KB)

[#019] sha256:5476648fc40d298367a0774ad46eb7bc29483de6646a0f702fe75298917dda20 - 19.36% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 19:20:20 UTC

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

2023-08-07 19:20:20 UTC

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

2023-08-09 04:48:57 UTC

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

2023-08-09 04:48:59 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-09 04:48:59 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-09 04:48:59 UTC

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

2023-08-09 04:49:00 UTC

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

2023-08-09 04:49:00 UTC

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

2023-08-09 04:49:00 UTC

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

2023-08-09 04:49:00 UTC

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

2023-08-09 05:11:26 UTC

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

2023-09-02 07:03:42 UTC

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

2023-09-02 07:03:42 UTC

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

2023-09-02 07:03:42 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 07:03:49 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

2023-09-02 07:03:49 UTC

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

2023-09-02 07:10:48 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 07:10:48 UTC

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

2023-09-02 07:10:49 UTC

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

2023-09-02 07:10:50 UTC

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

2023-09-02 07:10:50 UTC

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

2023-09-02 07:10:50 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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 07:10:50 UTC

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

2023-09-02 07:10:50 UTC

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

2023-09-02 07:10:50 UTC

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

2023-09-17 12:02:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:02:37 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:02:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:02:37 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:02: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

2023-09-17 12:02:37 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:02:38 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 12:48:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 12:48:33 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 12:48:33 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 12:48:33 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 "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

2023-09-17 12:48:33 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 12:48:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 12:48:45 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 12:48:45 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 12:48:45 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 12:48:45 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Details
Created

2023-09-17 13:08:09 UTC

Size

146 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:af09961d4a43b504efc76e38b50918977c28be73eeb8b926247783a00e8b9f2f - 2.05% (3 MB)

[#001] sha256:c86f23b6f54d6e2a8ad7bd169a67e8c3b546cb7f2a7f2a6a59b252b11a54fd64 - 1.74% (2.54 MB)

[#002] sha256:5831210199409c627f51822ba56a05e076469f5375f7841904326dd9ae6c8c3e - 0.0% (1.23 KB)

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

[#004] sha256:de1b8d737b117c619dac115b441d736da9e30bc0dc893b00036b60d1994f2400 - 7.86% (11.5 MB)

[#005] sha256:a719762dde77a810c1d4ba0fee3725522a0a027012789ff9d08a467c7fe0e71b - 0.0% (497 Bytes)

[#006] sha256:07c945f3f3572d8ae2ab668fac30dd040164b02c2badc5aa9a8ac1f62e33e73c - 7.56% (11.1 MB)

[#007] sha256:3ba3dcd58c40eb65577dba962572ce33050c4b17747ef02c7b2784e18f1aa9b6 - 0.0% (2.39 KB)

[#008] sha256:1c2026f995092ff1ebfca036b646ee377ace5bcba428d01a26913570a91f9d56 - 0.01% (18.3 KB)

[#009] sha256:1692730afecb7aeb3ac50c76f9763f169410048f7f09546d1b540657654eb94b - 0.01% (8.97 KB)

[#010] sha256:3a9cce96f1d742e51fa0e61e1e4e3034119c32ee2c196ef5e7b00b04614cde13 - 55.88% (81.8 MB)

[#011] sha256:ce4969a49f47e114f7613067058bc58a733910ddc01e7f023b0f9ffc41a3edc2 - 0.0% (870 Bytes)

[#012] sha256:f79cc013b84681f9903c4353df487e07d1eca5c88bb7f7fe7785ecfc8da39bfc - 0.0% (149 Bytes)

[#013] sha256:7d5676a42a94df6d6c42498e57cba7731c39c2e7c4a151983b6d594af0ff06bb - 0.0% (1.81 KB)

[#014] sha256:8ada181b0c4845bbe088d585d796de328e6c1ba6dca66fe453f1c1c5923f80d9 - 0.0% (266 Bytes)

[#015] sha256:11b9aa6d08544be4951d829184cfff819c69e1fc4f8053e13b7b9a8985382b4c - 0.0% (1.14 KB)

[#016] sha256:664b9edeb3c2a3f7d8a2ad9b3fc8f39296c658a2630f9686e50034686615c2b2 - 0.0% (453 Bytes)

[#017] sha256:351ff4d4fae0073dbb8293e70f9f3081019ecc367bae38d65708be3a04bddb0e - 3.95% (5.78 MB)

[#018] sha256:473a1a3df82a39320b2a51e0f93f976bca14c947be398338ba50e985124ebdd8 - 0.0% (7.11 KB)

[#019] sha256:27e4b902aa8018f780950fcf2809ca108a86489d6b1c4f24dcdbf6daffa95336 - 20.94% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 19:49:14 UTC

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

2023-08-07 19:49:15 UTC

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

2023-08-09 00:06:11 UTC

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

2023-08-09 00:06:12 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-09 00:06:13 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-09 00:06:13 UTC

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

2023-08-09 00:06:14 UTC

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

2023-08-09 00:06:14 UTC

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

2023-08-09 00:06:14 UTC

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

2023-08-09 00:06:14 UTC

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

2023-08-09 00:24:44 UTC

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

2023-09-02 02:41:27 UTC

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

2023-09-02 02:41:28 UTC

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

2023-09-02 02:41:28 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 02:41:35 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

2023-09-02 02:41:35 UTC

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

2023-09-02 02:50:04 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 02:50:04 UTC

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

2023-09-02 02:50:06 UTC

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

2023-09-02 02:50:06 UTC

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

2023-09-02 02:50:06 UTC

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

2023-09-02 02:50:07 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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 02:50:07 UTC

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

2023-09-02 02:50:07 UTC

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

2023-09-02 02:50:07 UTC

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

2023-09-17 12:05:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:05:09 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:05:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:05:09 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:05:09 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

2023-09-17 12:05:10 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:05:10 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 13:08:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 13:08:01 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 13:08:01 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 13:08:01 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 "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

2023-09-17 13:08:01 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 13:08:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 13:08:09 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 13:08:09 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 13:08:09 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 13:08:09 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Details
Created

2023-09-17 13:06:58 UTC

Size

141 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:f8dec92eec42224ef9e6ca9c6207ea6b9195dcf93d06bd5ceff0f814b62bf064 - 1.95% (2.77 MB)

[#001] sha256:8c53730165c5dd25f49dfa5e188b41f8d9be86e5e86adf6c765ceb1120853f36 - 1.69% (2.39 MB)

[#002] sha256:10cb15fb50aac58af758965db75571d10382d95341fb109bee5260d370560772 - 0.0% (1.23 KB)

[#003] sha256:bfe5f5b7d39cd3a05f25820f07393ecbd138724348b5cf7a7be272495f109290 - 0.0% (267 Bytes)

[#004] sha256:ddced289e311fb8581ad60f568417b4a4acd387c936cb50a02840a93263b4b27 - 8.13% (11.5 MB)

[#005] sha256:d7667166940d49e28ebb24dccef8e210f52c254ff6792965dddc40d2ad8ccce1 - 0.0% (497 Bytes)

[#006] sha256:e01a4157641bd31800d0d8e9decdebf0842184f925997c0c7719361ab1851875 - 7.31% (10.3 MB)

[#007] sha256:d1e30c70ed974dcce72765a35315a4f9caaece0139e1f411bff6385147ffec7d - 0.0% (2.39 KB)

[#008] sha256:2de5f4f79e5459093fbe74c3712e8ceccb1da5c95b8371a1b0e34666d6ccdd84 - 0.01% (18.3 KB)

[#009] sha256:bd7846f5f2889598a4818d8e4693624b60814b21dae24820bbc5508499d3dcb8 - 0.01% (8.97 KB)

[#010] sha256:6399ba039aa0b890e4c00d1202452027ab991e9e956af9d4f905f2091b1f84ba - 55.13% (78 MB)

[#011] sha256:595ad02d3f18e3f33c26591fc2173d4a07e0400197622dd1553ecc5b698ae4dd - 0.0% (872 Bytes)

[#012] sha256:7b2a690f6838352fcc18383c656e846afcffd41de6acae7756d718b98a13b45d - 0.0% (149 Bytes)

[#013] sha256:874bdf012c3fbb40ea1b550b8fb5dba76461737e0f5ad6a437129505a32537d4 - 0.0% (1.81 KB)

[#014] sha256:9c447e7398eb238b7c9630c2cf7d9fe78543a45f13b9ce54f3c6c94d6a9912ce - 0.0% (267 Bytes)

[#015] sha256:e5408713e17a5157bae492d2777a41d36ef294d1cbcddfb621b0789a2b98d974 - 0.0% (1.14 KB)

[#016] sha256:420ad943b38ead2bd1beaa405f4f477ed2a5f50d6d266d1264f06e1f59a5e628 - 0.0% (455 Bytes)

[#017] sha256:7af694ad1e348eebf896a43aa3fe3966d800195c27f067b2476abcbf220baab1 - 4.08% (5.77 MB)

[#018] sha256:e82c1a3684dd1cd48fdc33142c700d79c0578ced6cb3d5d02312a833f426bb88 - 0.0% (7.11 KB)

[#019] sha256:3dd4f104f50462428ccd310e65ceafe001e171c7d870249a622ee5956bf5f43e - 21.67% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 19:57:25 UTC

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

2023-08-07 19:57:25 UTC

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

2023-08-07 23:45:01 UTC

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

2023-08-07 23:45:02 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-07 23:45:03 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-07 23:45:03 UTC

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

2023-08-07 23:45:03 UTC

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

2023-08-07 23:45:03 UTC

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

2023-08-07 23:45:03 UTC

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

2023-08-07 23:45:03 UTC

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

2023-08-08 00:01:01 UTC

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

2023-09-02 03:18:53 UTC

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

2023-09-02 03:18:53 UTC

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

2023-09-02 03:18:53 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 03:19: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

2023-09-02 03:19:02 UTC

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

2023-09-02 03:27:56 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 03:27:57 UTC

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

2023-09-02 03:27:59 UTC

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

2023-09-02 03:27:59 UTC

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

2023-09-02 03:27:59 UTC

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

2023-09-02 03:28:00 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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 03:28:00 UTC

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

2023-09-02 03:28:00 UTC

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

2023-09-02 03:28:00 UTC

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

2023-09-17 12:05:35 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:05:35 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:05:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:05:36 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:05:36 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

2023-09-17 12:05:36 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:05:36 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 13:06: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 bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 13:06:49 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 13:06:49 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 13:06: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 "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

2023-09-17 13:06:49 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 13:06:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 13:06:58 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 13:06:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 13:06:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 13:06:58 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Details
Created

2023-09-17 13:17:38 UTC

Size

155 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d - 2.05% (3.18 MB)

[#001] sha256:a3d710c9cd9eed76db96ea7383928db0b4189fa372fc03fb8596a557e927ed0a - 1.66% (2.57 MB)

[#002] sha256:b391698367354b36c74e62699b86ccdbe92fe7d486a410c27df9e74a410db6d0 - 0.0% (1.23 KB)

[#003] sha256:0e9f28b55a89cc98082b0ec22d1a90e3f70684bd39adb2bf40e913dd2421ddda - 0.0% (268 Bytes)

[#004] sha256:2951998783f29869aa199a4b2b91af877b0304c434539f3078a17ee0512767d4 - 7.41% (11.5 MB)

[#005] sha256:8e023ba599fce39901afc32bda3eafd91e7acf77dbcb29e07dbc0a7ffb8992e4 - 0.0% (498 Bytes)

[#006] sha256:3b4d81c4704aeeecc79b622dfba521a336b0b4e79f013aabcb90e5ad302aada7 - 7.84% (12.2 MB)

[#007] sha256:d5f402811072f712d4f37fc7b26285c4a7884ccaa13e2b331f1bbd53856fac84 - 0.0% (2.39 KB)

[#008] sha256:c708d34a45c5b67a53034d4ee83f070dadd2a0c2d9630dd8b7af4aa7c5d04741 - 0.01% (18.3 KB)

[#009] sha256:fbb649ee18bf088bdd8c2dced65dadc370adba19cdf5f87348fce451fa492133 - 0.01% (8.96 KB)

[#010] sha256:23d83af55ad7230317cb6a26204f1aef3614bf5e588990100c3e4ea752550967 - 56.99% (88.5 MB)

[#011] sha256:eb039f02263bd6f49a48330d7f3f54ca988d7e34928bcb2d20668ffab11fa232 - 0.0% (871 Bytes)

[#012] sha256:524ab96e72355ff676e119f79db71f03349af89452ec814e1de460c454596190 - 0.0% (150 Bytes)

[#013] sha256:ba639f61784e9b60a3b2d1af20eed72b283b1cb0f46feac7a5c1b868bd1f50a8 - 0.0% (1.82 KB)

[#014] sha256:46d395dffa83ae24cfd2d54ccb291ffe2b6271346e72f804b6cdec7a23b2c800 - 0.0% (267 Bytes)

[#015] sha256:9337a85df64fd4e58a7eebfa1b2dd42d85a9bfb3d813057d38ad2796ae7e3f2a - 0.0% (1.14 KB)

[#016] sha256:f3d1c4e2b2873410044c7f435f922403e89c70906af193d1d584b0de54f0119c - 0.0% (455 Bytes)

[#017] sha256:1a6581041038010cc6800b8289f3b187035690a50a6c35663f6de2b00d585aff - 4.27% (6.63 MB)

[#018] sha256:be04cb7b3eaaf37d7e2c90b85c451fe4559249983ad818b0646c01674869031e - 0.0% (7.11 KB)

[#019] sha256:c287c425904d41d8fdbfadbb8d0be0a68cc200cd1941d67b8b0e184eedae6fcd - 19.75% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 19:39:19 UTC

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

2023-08-07 19:39:19 UTC

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

2023-08-09 05:06:36 UTC

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

2023-08-09 05:06:37 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-09 05:06:38 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-09 05:06:38 UTC

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

2023-08-09 05:06:38 UTC

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

2023-08-09 05:06:38 UTC

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

2023-08-09 05:06:39 UTC

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

2023-08-09 05:06:39 UTC

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

2023-08-09 05:30:52 UTC

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

2023-09-02 05:45:02 UTC

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

2023-09-02 05:45:02 UTC

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

2023-09-02 05:45:02 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 05:45:08 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

2023-09-02 05:45:08 UTC

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

2023-09-02 05:52:03 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 05:52:04 UTC

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

2023-09-02 05:52:05 UTC

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

2023-09-02 05:52:05 UTC

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

2023-09-02 05:52:05 UTC

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

2023-09-02 05:52: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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 05:52:05 UTC

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

2023-09-02 05:52:05 UTC

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

2023-09-02 05:52:05 UTC

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

2023-09-17 12:10:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:10:37 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:10:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:10:38 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:10:38 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

2023-09-17 12:10:38 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:10:38 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 13:17: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 bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 13:17:30 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 13:17:30 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 13:17: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 "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

2023-09-17 13:17:30 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 13:17:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 13:17:38 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 13:17:38 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 13:17:38 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 13:17:38 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Details
Created

2023-09-17 13:11:14 UTC

Size

164 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:55353ca330e9474ce7b858eca6842bb540ef4a70b2981c2ed47eefb9ef4253ad - 1.95% (3.19 MB)

[#001] sha256:727b7f9b4d1c0838d68c8755bffba7a7027e39b9ec3c538475188282660dea0f - 1.6% (2.62 MB)

[#002] sha256:70268b4075bcd041a6aa2b91e5e8c0ab2de843c2caf8e701c7ed55949df399c1 - 0.0% (1.24 KB)

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

[#004] sha256:8a35b323f87e329e5e2e4a420aafb740985b8c955a7359052771ae2217da1f44 - 7.02% (11.5 MB)

[#005] sha256:a518c04df29e9f175c545bee2d43241a887b67bef3b43824234b94ea167c9bfb - 0.0% (497 Bytes)

[#006] sha256:ff8fee06a0d96a6ce587e11c8dbe8487e0e0d83abb59fbed84454464a01ffd0c - 7.62% (12.5 MB)

[#007] sha256:635da0398d1af45ebe3e42b493cff742536059f9b8226fcd443861adb30047e3 - 0.0% (2.39 KB)

[#008] sha256:b259ba560d83e93d6f56ace16a321234454c2a2c82b9a04efb5a30f1c5997362 - 0.01% (18.3 KB)

[#009] sha256:e0ec539db31d48a2977f8b9e45ab386116935d97609a4953c82b48e13606d6dd - 0.01% (8.96 KB)

[#010] sha256:8740b1ce5819d2f3b511d7e58641cc9e0809ec29a0eee676a7af6bf37649fe7d - 59.25% (97.1 MB)

[#011] sha256:f004a6355b15c99af67c524b74a58748967ebfc3430af819bfb3aff6165007e7 - 0.0% (869 Bytes)

[#012] sha256:04ff1061ef6041856dead358e41d1db3e4e6eb95b7fcf540be0d0fb9a604090d - 0.0% (149 Bytes)

[#013] sha256:91f15385e61d33bbde9f2d153e8d5db9a6084ad36c52f0a412efd8b6e6062d9c - 0.0% (1.81 KB)

[#014] sha256:d3906f243cb455b064d8c8c60f260ccbd40c0dfc1788a2fb6fc523eea385cb57 - 0.0% (266 Bytes)

[#015] sha256:0004ca449d9882013e5832f0bd69f3dd535021603f35faa3c074a059c9d00211 - 0.0% (1.14 KB)

[#016] sha256:7a880ac1c4c787ad717667d0048466966f1c17623889b9e54142ac16f2d5746c - 0.0% (455 Bytes)

[#017] sha256:1820082cedcb5f68566d20090b3d2eec789ddf35961088ec1f334f72412a1ad8 - 3.83% (6.27 MB)

[#018] sha256:e1f847c3dbd5243f52e30206115c85b7a72e8ba79af3870c84630e96089aa1d0 - 0.0% (7.11 KB)

[#019] sha256:46e3d3c23e05ed57396086993171042d46c0ac3dd284db54c2f41b11b155a635 - 18.71% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 20:16:25 UTC

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

2023-08-07 20:16:26 UTC

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

2023-08-09 00:21:59 UTC

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

2023-08-09 00:22:05 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-09 00:22:10 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-09 00:22:11 UTC

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

2023-08-09 00:22:13 UTC

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

2023-08-09 00:22:15 UTC

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

2023-08-09 00:22:16 UTC

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

2023-08-09 00:22:17 UTC

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

2023-08-09 00:50:31 UTC

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

2023-09-02 07:09:01 UTC

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

2023-09-02 07:09:02 UTC

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

2023-09-02 07:09:02 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 07:09:11 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

2023-09-02 07:09:12 UTC

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

2023-09-02 07:17:53 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 07:17:57 UTC

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

2023-09-02 07:18:05 UTC

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

2023-09-02 07:18:09 UTC

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

2023-09-02 07:18:13 UTC

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

2023-09-02 07:18:19 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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 07:18:21 UTC

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

2023-09-02 07:18:23 UTC

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

2023-09-02 07:18:24 UTC

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

2023-09-17 12:07:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:07:09 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:07:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:07:10 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:07:10 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

2023-09-17 12:07:10 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:07:10 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 13:11: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 bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 13:11:07 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 13:11:07 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 13:11: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 "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

2023-09-17 13:11:07 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 13:11:14 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 13:11:14 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 13:11:14 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 13:11:14 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 13:11:14 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Details
Created

2023-09-17 13:10:59 UTC

Size

158 MB

Content Digest
Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

PHP_URL

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

PHP_VERSION

8.2.10

fpm_conf

/usr/local/etc/php-fpm.d/www.conf

php_vars

/usr/local/etc/php/conf.d/docker-vars.ini


Layers

[#000] sha256:8bed2eae372fe236061920d89ae1ce89695a12df84989113bcc7ce4bd9774456 - 1.94% (3.07 MB)

[#001] sha256:a581be55516a7da64a0edaeed29c0bf6bad5977a5992b866769bdffc2c787de4 - 1.67% (2.64 MB)

[#002] sha256:aa6a17ecb617fe101a5ea1c8fdeec065700f78848574ab76e05c3eb3bdf5b680 - 0.0% (1.23 KB)

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

[#004] sha256:3757642b732fc7b96bcfb8281aa304b6531cd43fa55bbd3e1c45011634e47648 - 7.29% (11.5 MB)

[#005] sha256:da61a09afbf671ff0feb4f688f0da8db6668170e3a84f5a52e1dbb390c17159c - 0.0% (497 Bytes)

[#006] sha256:35e3a247dcece92f1a49bb414892411dc24b96dae0b227897baa2ba0813ba668 - 7.16% (11.3 MB)

[#007] sha256:de38901dc23fa7e2bcc22f28b96db05b5346e00266a18becd4e3a0ea81251b4d - 0.0% (2.39 KB)

[#008] sha256:c9f52709964044b7afafbd4db293e01e59e9f3d74230559003385587485aba56 - 0.01% (18.3 KB)

[#009] sha256:8ecc095cb2376fec5526a301b140f740f86d22776d07dbf1e405f946cd12684d - 0.01% (8.96 KB)

[#010] sha256:06a92a2c99961a8e2661076b35cf26c5e224cb177ce5018ef418ece3d0a29aef - 58.6% (92.5 MB)

[#011] sha256:b7a89c27e89cba0ea3f1a15d547f4a04f67f1eebdcabdfb0100c44592e8617c8 - 0.0% (872 Bytes)

[#012] sha256:60f72b19e89766fca1a7a5cb61667a55db3a754841951476d733d3206deef22f - 0.0% (150 Bytes)

[#013] sha256:05de2a150c9f9c3d37c4e73e8bd9a1c7675da597364829dd7c8128fc8e4a205b - 0.0% (1.81 KB)

[#014] sha256:b266504122359b250c4f63fea2b14b1a66b1d63382963dbeea95ad3d1afa65f7 - 0.0% (267 Bytes)

[#015] sha256:aa2091534e88b509e29f77b1e98d2b93dbbc728b5ed64b925cc6167ad83778ef - 0.0% (1.14 KB)

[#016] sha256:7ed5154b5ba468d83f3940e8ada23b01c9fe5da4c9f211ffe95f5926854b65ef - 0.0% (454 Bytes)

[#017] sha256:7b072916d93606768237e0d86e3496eaf14a935f07c9a31800c06f91218c2b4e - 3.87% (6.1 MB)

[#018] sha256:c9ada598b36537ad77fadd55d85860b06b4ccd2489a526bcf742e04b6d4d7476 - 0.0% (7.11 KB)

[#019] sha256:bcac291026ef20d03d4864e672139d0e9ed3c5840f103e311a4ff53149201671 - 19.43% (30.7 MB)

[#020] sha256:7d3eafdd9e89da9b1f83e3e6dae2740504e79d54fc92ea692c466d7a218c0b53 - 0.0% (1.45 KB)


History
2023-08-07 19:41:54 UTC

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

2023-08-07 19:41:55 UTC

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

2023-08-09 04:39:24 UTC

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

2023-08-09 04:39:25 UTC

/bin/sh -c apk add --no-cache ca-certificates curl tar xz openssl

2023-08-09 04:39:26 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2023-08-09 04:39:27 UTC

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

2023-08-09 04:39:27 UTC

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

2023-08-09 04:39:27 UTC

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

2023-08-09 04:39:28 UTC

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

2023-08-09 04:39:28 UTC

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

2023-08-09 04:58:35 UTC

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

2023-09-02 03:16:45 UTC

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

2023-09-02 03:16:46 UTC

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

2023-09-02 03:16:46 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3

2023-09-02 03:16:51 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

2023-09-02 03:16:51 UTC

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

2023-09-02 03:22:12 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --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

2023-09-02 03:22:13 UTC

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

2023-09-02 03:22:14 UTC

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

2023-09-02 03:22:15 UTC

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

2023-09-02 03:22:15 UTC

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

2023-09-02 03:22:15 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 '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini"

2023-09-02 03:22:15 UTC

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

2023-09-02 03:22:15 UTC

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

2023-09-02 03:22:16 UTC

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

2023-09-17 12:07:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache bash rsync supervisor imagemagick ffmpeg tzdata unzip p7zip nginx coreutils && 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

2023-09-17 12:07:22 UTC (buildkit.dockerfile.v0)

ADD conf/supervisord.conf /etc/supervisord.conf # buildkit

2023-09-17 12:07:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -Rf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:07:23 UTC (buildkit.dockerfile.v0)

ADD conf/nginx.conf /etc/nginx/nginx.conf # buildkit

2023-09-17 12:07:23 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

2023-09-17 12:07:23 UTC (buildkit.dockerfile.v0)

ADD conf/private-ssl.conf /etc/nginx/sites-available/private-ssl.conf # buildkit

2023-09-17 12:07:23 UTC (buildkit.dockerfile.v0)

ADD conf/setting_user.example /usr/src/kodbox/config/setting_user.example # buildkit

2023-09-17 13:10:51 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libevent-dev libjpeg-turbo-dev libmcrypt-dev libpng-dev libmemcached-dev libxml2-dev libzip-dev openldap-dev pcre-dev libwebp-dev bzip2-dev gettext-dev curl-dev imagemagick-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure intl; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" bcmath exif gd intl ldap opcache pcntl pdo_mysql mysqli zip bz2 gettext ; pecl install memcached-3.2.0; pecl install redis-5.3.7; pecl install imagick-3.7.0; docker-php-ext-enable memcached redis imagick ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .kodbox-phpext-rundeps $runDeps; apk del .build-deps # buildkit

2023-09-17 13:10:51 UTC (buildkit.dockerfile.v0)

ENV fpm_conf=/usr/local/etc/php-fpm.d/www.conf

2023-09-17 13:10:51 UTC (buildkit.dockerfile.v0)

ENV php_vars=/usr/local/etc/php/conf.d/docker-vars.ini

2023-09-17 13:10:51 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 "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

2023-09-17 13:10:51 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2023-09-17 13:10:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; curl -fsSL -o kodbox.zip "https://api.kodcloud.com/?app/version&download=server.link"; unzip kodbox.zip -d /usr/src/kodbox/; sed -i "s/MyISAM/InnoDB/g" /usr/src/kodbox/app/controller/install/data/mysql.sql; rm kodbox.zip # buildkit

2023-09-17 13:10:59 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2023-09-17 13:10:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-09-17 13:10:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2023-09-17 13:10:59 UTC (buildkit.dockerfile.v0)

CMD ["/usr/bin/supervisord" "-n" "-c" "/etc/supervisord.conf"]

Danger Zone
Delete Tag

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

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

Delete