Namespace
kodcloud
Image / Tag
kodbox:1.49
Content Digest
sha256:7d537dfb987e3f0bf716677adc9a29446754c595fa14049e5456ea9f0a96fd17
Details
Created

2024-01-27 02:21:39 UTC

Size

205 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.15.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

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

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

PHP_VERSION

8.2.15

fpm_conf

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

php_vars

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


Layers

[#000] sha256:c926b61bad3b94ae7351bafd0c184c159ebf0643b085f7ef1d47ecdc7316833c - 1.58% (3.24 MB)

[#001] sha256:bcd7d9d0a8568ad67e56f7560786ec06ada3d1624401e0c09a19bac68d6852bf - 1.25% (2.56 MB)

[#002] sha256:2ba0fbf849ad16a6e44bd1d2f64aad25339ce479d893afe5a2e6ab1d5f32a8b8 - 0.0% (1.24 KB)

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

[#004] sha256:bf01126261533f7abcf7bc5f6ab42fe7a2caa9f8fdc9004d50b9386b76a92ece - 5.63% (11.5 MB)

[#005] sha256:16930701026121272f11f3da2358e86d7b3114409ba6162213cfc0dbd07c5f75 - 0.0% (496 Bytes)

[#006] sha256:359f7a70553f10a6756a090e1ecc4dd7d87a0bec46c95a0f9f040dd4ac3dda76 - 7.07% (14.5 MB)

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

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

[#009] sha256:f7f2298ca56a2b77fdf30ba54f425a74138b14c01497d6c69fe7bdfd48b0dc7f - 0.0% (8.96 KB)

[#010] sha256:c8934678b2d1379b65fe2ba0a6ce59dd690f0492e5cf65f0231fdfc1dab81825 - 0.0% (203 Bytes)

[#011] sha256:8b381b3081ebf2d72013b1ed09cbf4b3641eff07e246ee472387a31a4e69b706 - 44.85% (91.9 MB)

[#012] sha256:2cb9263c9702b19edeb21f537b99a913c6eefba7a298103eb33929567e883e90 - 0.0% (865 Bytes)

[#013] sha256:55d4edbfab1b949afcfe531a69429688be388216462a2afdb7d0ab26e2d4abf5 - 0.0% (150 Bytes)

[#014] sha256:a79e3c9662bd983a2090df12b1d2a8df1ec9f2e6e30e9c9989e954397b41f565 - 0.0% (1.81 KB)

[#015] sha256:e2c988571f70703f51a8d02f51fbf0e25fbeaf425e37a6416503822c20bab2a4 - 0.0% (393 Bytes)

[#016] sha256:d0883a589cb4a8dbc1d9b2f96f920db3ebdd9344774094d59a3cdd6d48dc2efc - 0.0% (1.13 KB)

[#017] sha256:23bc7d195b7e3b32f448b950524cadd783b0ee730b4390e2f7fd685273188b1b - 0.0% (450 Bytes)

[#018] sha256:72e32771158a53b28d62bf2677007be4666943c6574ab3413e4966c9d3429706 - 12.05% (24.7 MB)

[#019] sha256:778d1d117f4eb66c87e50dd94d55f4382494e25c6642d4367d89194ae7722d8c - 0.0% (7.24 KB)

[#020] sha256:56443cb14e8e33f06540af4cb9f2a45c66b43841f0f708dc2511232cc4f57c20 - 27.54% (56.4 MB)

[#021] sha256:961a8ce5f5c7d55eb733fd906ab76195405134b7ed993129ccf1362d3c807cb2 - 0.0% (2.84 KB)


History
2023-11-30 23:22:52 UTC

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

2023-11-30 23:22:52 UTC

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

2023-11-30 23:32:52 UTC

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

2023-12-12 20:52:20 UTC

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

2023-12-12 20:52:21 UTC

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

2023-12-12 20:52:21 UTC

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

2023-12-12 20:52:22 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-12-12 20:52:22 UTC

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

2023-12-12 20:52:22 UTC

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

2023-12-12 20:52:22 UTC

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

2023-12-12 21:48:29 UTC

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

2024-01-20 00:15:04 UTC

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

2024-01-20 00:15:04 UTC

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

2024-01-20 00:15:04 UTC

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

2024-01-20 00:15: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

2024-01-20 00:15:11 UTC

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

2024-01-20 00:22:35 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" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(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

2024-01-20 00:22:35 UTC

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

2024-01-20 00:22:37 UTC

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

2024-01-20 00:22:37 UTC

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

2024-01-20 00:22:37 UTC

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

2024-01-20 00:22:37 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"

2024-01-20 00:22:37 UTC

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

2024-01-20 00:22:38 UTC

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

2024-01-20 00:22:38 UTC

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

2024-01-26 15:50:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories # buildkit

2024-01-26 17:41:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; 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

2024-01-26 17:41:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:41:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:41:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:41:40 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/; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit

2024-01-26 17:41:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:41:40 UTC (buildkit.dockerfile.v0)

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

2024-01-27 02:21:27 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-6.0.2; pecl install imagick-3.7.0; pecl install swoole-5.1.1; docker-php-ext-enable memcached redis imagick swoole ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .kodbox-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2024-01-27 02:21:27 UTC (buildkit.dockerfile.v0)

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

2024-01-27 02:21:27 UTC (buildkit.dockerfile.v0)

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

2024-01-27 02:21:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "memory_limit = 512M" >> ${php_vars} && echo "max_execution_time = 3600" >> ${php_vars} && echo "max_input_time = 3600" >> ${php_vars} && sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" -e "s/pm.max_children = 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

2024-01-27 02:21:27 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-01-27 02:21:39 UTC (buildkit.dockerfile.v0)

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

2024-01-27 02:21:39 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2024-01-27 02:21:39 UTC (buildkit.dockerfile.v0)

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

2024-01-27 02:21:39 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2024-01-27 02:21:39 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-26 17:29:56 UTC

Size

199 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.15.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

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

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

PHP_VERSION

8.2.15

fpm_conf

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

php_vars

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


Layers

[#000] sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 - 1.6% (3.18 MB)

[#001] sha256:1e9493d390846313743a61bb9fd10069c0615ed8474da609a9a62ef2ae3a07d6 - 1.31% (2.6 MB)

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

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

[#004] sha256:ef8a6c1eff056b2da8570f4e7e83dc5f7f8a1fd9c01c1a2ed062df85e5dca9a6 - 5.8% (11.5 MB)

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

[#006] sha256:ec3deff51fc86ba5beb49d9a873498bc78ae996b710db42eedb55326e0678fc7 - 7.26% (14.4 MB)

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

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

[#009] sha256:5984231e900f07a1bfd297425ae770ca218b6f481f6fa5f60d4fc8a263462815 - 0.0% (8.96 KB)

[#010] sha256:92608e00fbf775583e4f475d4ff0a7126a0355eab1eed5e7fdee40c6b9c931e6 - 0.0% (202 Bytes)

[#011] sha256:1c93f2351c546add4130eff01d25a1ee422ec859f94d745607e656407bfec905 - 44.48% (88.4 MB)

[#012] sha256:b3b257f72773f58ee481e998911a68bca35e33a36cd74f8cddd4feb1ea3e7226 - 0.0% (866 Bytes)

[#013] sha256:96b09e51aad801a1dbc8bba868154af62a10e6188ef7b1752a3d8d80cd104dc6 - 0.0% (149 Bytes)

[#014] sha256:19e96e5d6ec9acff336dd3df15a9da0533c73e7d900aa62a251839a725dfee6f - 0.0% (1.81 KB)

[#015] sha256:aea610b0f888ad3e3b54de003fc1d1dea829e4e1a3c973d223e03d4806833c96 - 0.0% (399 Bytes)

[#016] sha256:c26fbb7589c1c43cdfe572eeef7949c72ccdd1753e21930b05b8d030d330c0be - 0.0% (1.14 KB)

[#017] sha256:fb38c575f5cb054b1b8b87c4671d03094afd76bd26d4da0b5b3ac3328def12e6 - 0.0% (452 Bytes)

[#018] sha256:2ccbcf4c862d4759ddc150e2efe613ece70060553ea4de6ba303da4223fd7b73 - 11.14% (22.1 MB)

[#019] sha256:79b92f22d7b84df4f91e8491f39f5d21173cf5c1fb8ea5b4cd9421d8a045b56e - 0.0% (7.25 KB)

[#020] sha256:575a606794e78368f5461da043e7642d806394ec2d80f0f2e842a42a2b3a2881 - 28.38% (56.4 MB)

[#021] sha256:961a8ce5f5c7d55eb733fd906ab76195405134b7ed993129ccf1362d3c807cb2 - 0.0% (2.84 KB)


History
2023-11-30 23:11:03 UTC

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

2023-11-30 23:11:03 UTC

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

2023-11-30 23:28:59 UTC

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

2023-12-12 20:23:17 UTC

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

2023-12-12 20:23:17 UTC

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

2023-12-12 20:23:18 UTC

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

2023-12-12 20:23:18 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-12-12 20:23:18 UTC

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

2023-12-12 20:23:18 UTC

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

2023-12-12 20:23:18 UTC

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

2023-12-12 21:22:14 UTC

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

2024-01-20 00:23:59 UTC

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

2024-01-20 00:23:59 UTC

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

2024-01-20 00:23:59 UTC

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

2024-01-20 00:24:05 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

2024-01-20 00:24:05 UTC

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

2024-01-20 00:31:01 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" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(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

2024-01-20 00:31:01 UTC

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

2024-01-20 00:31:02 UTC

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

2024-01-20 00:31:03 UTC

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

2024-01-20 00:31:03 UTC

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

2024-01-20 00:31:03 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"

2024-01-20 00:31:03 UTC

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

2024-01-20 00:31:03 UTC

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

2024-01-20 00:31:03 UTC

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

2024-01-26 15:51:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories # buildkit

2024-01-26 15:56:20 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; 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

2024-01-26 15:56:20 UTC (buildkit.dockerfile.v0)

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

2024-01-26 15:56:20 UTC (buildkit.dockerfile.v0)

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

2024-01-26 15:56:20 UTC (buildkit.dockerfile.v0)

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

2024-01-26 15:56:21 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/; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R nginx:root /var/www; chmod -R g=u /var/www # buildkit

2024-01-26 15:56:21 UTC (buildkit.dockerfile.v0)

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

2024-01-26 15:56:21 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:29:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:29:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:29:40 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:29:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo "cgi.fix_pathinfo=1" > ${php_vars} && echo "upload_max_filesize = 512M" >> ${php_vars} && echo "post_max_size = 512M" >> ${php_vars} && echo "memory_limit = 512M" >> ${php_vars} && echo "max_execution_time = 3600" >> ${php_vars} && echo "max_input_time = 3600" >> ${php_vars} && sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" -e "s/pm.max_children = 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

2024-01-26 17:29:40 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2024-01-26 17:29:56 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:29:56 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh / # buildkit

2024-01-26 17:29:56 UTC (buildkit.dockerfile.v0)

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

2024-01-26 17:29:56 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2024-01-26 17:29:56 UTC (buildkit.dockerfile.v0)

CMD ["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