2022-05-05 13:11:51 UTC
219 MB
noninteractive
NGX_LOG_ROOT/data/wwwlogs
NGX_WWW_ROOT/data/wwwroot
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TMP/tmp/nginx-php/
[#000] sha256:8e5c1b329fe39c318c0d49821b339fb94a215c5dc0a2898c8030b5a4d091bcba - 12.43% (27.2 MB)
[#001] sha256:500a05245137256ed3dd6f4e0afdf48ce44dbf88183b27dec343a23f3c510c8a - 0.0% (133 Bytes)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:a835076e955641881d0eb506723137cbba5003f63e40163d7e091d0559baf489 - 73.19% (160 MB)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:ac9f200b531c2ad86f61b35a404e5e1af847b4d866d6d68d9513bfeac16bc9e2 - 0.0% (99 Bytes)
[#006] sha256:6d59cf7335074282466a97149adfafc01eb2acc78566843eda9322c9e1817314 - 0.0% (627 Bytes)
[#007] sha256:f9d14342a13a466f07848c84f60d71ed68af0609a1502899477d1054c2f79a3f - 0.0% (824 Bytes)
[#008] sha256:eedc0bf209cce7ce842befeb8507cfdc33b423caaa5569052caad76f6d8ec08a - 0.0% (249 Bytes)
[#009] sha256:f068136cfb3c74cb9356dab7e6d5b320e76dc4e10c68716284e5c72f0b36e65e - 0.0% (383 Bytes)
[#010] sha256:589ba4df507d14aba1d7555faf2d9987af6d6f9b302ec3d72439309deaed2803 - 0.0% (584 Bytes)
[#011] sha256:43fb4c7fc7aa4813d78e7a2d0c3e1a106e9b285252e875b5553a53dc7b659249 - 0.0% (738 Bytes)
[#012] sha256:7f5badc8d8666a2000f399f01d962e6ba3327f8fd6631b5f0b77b2c81658db9a - 1.57% (3.45 MB)
[#013] sha256:1cccc26341b628737ac47a06f74656a5b0855595a76ab95b947f8e8c6a5b201f - 0.0% (448 Bytes)
[#014] sha256:5f800860c5aacfec634daeef82c4374a187394dc8b068c1f0a8ed36906a94954 - 12.51% (27.4 MB)
[#015] sha256:cf87ca61cb1a1923ae9f1e3950580035300af9e83ba91477226e31872121fb9e - 0.0% (241 Bytes)
[#016] sha256:031a882e27e8640a32c6fe5385a131576dd85290a70e5bd03d33fde3a3071852 - 0.01% (23.2 KB)
[#017] sha256:24d1185db48d465d1315406e92910c582d2c3f74414737213f096e7474e8f0bf - 0.0% (159 Bytes)
[#018] sha256:91a169039e10a1617215c6c785ecdf0d9d8f13b8f309237584c89263875a1f5b - 0.0% (378 Bytes)
[#019] sha256:7854b24c78f7568dd30f1fcaec8eb084d4e0309e74fe1a7caeae474af040c699 - 0.0% (491 Bytes)
[#020] sha256:8228f0d47d0b3184a85b6c8284a5cdd92435533307a55e13d0cc0b72480c1d7c - 0.28% (638 KB)
/bin/sh -c #(nop) ADD file:064c61cc9ceed678689d2eaf3b3e61ec3bf5baf9288e5a7febcbab28c6adbfb6 in /
2022-04-21 23:00:07 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)LABEL maintainer=Jetsung Chan<skiy@jetsung.com>
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ARG NGINX_VERSION=1.21.5
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ARG PHP_VERSION=8.1.0
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ARG GH_MIRROR_URL=
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ENV NGX_WWW_ROOT=/data/wwwroot
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ENV NGX_LOG_ROOT=/data/wwwlogs
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ENV TMP=/tmp/nginx-php/
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)RUN |3 NGINX_VERSION=1.21.6 PHP_VERSION=8.0.18 GH_MIRROR_URL= /bin/sh -c mkdir -p /data/{wwwroot,wwwlogs,} # buildkit
2022-04-25 18:48:52 UTC (buildkit.dockerfile.v0)RUN |3 NGINX_VERSION=1.21.6 PHP_VERSION=8.0.18 GH_MIRROR_URL= /bin/sh -c if [ "${GH_MIRROR_URL}x" != ""x ] ; then ARCH=$(arch) ; if [ "${ARCH}x" != "aarch64"x ] ; then sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list ; else sed -i 's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list ; fi ; fi # buildkit
2022-04-25 18:59:26 UTC (buildkit.dockerfile.v0)RUN |3 NGINX_VERSION=1.21.6 PHP_VERSION=8.0.18 GH_MIRROR_URL= /bin/sh -c set -eux ; apt-get update -y ; pkgList="zlib1g zlib1g-dev openssl libsqlite3-dev libxml2 libxml2-dev libcurl3-gnutls libcurl4-gnutls-dev libcurl4-openssl-dev libpng-dev libjpeg8 libjpeg8-dev libargon2-1 libargon2-dev libicu-dev libxslt1-dev libzip-dev libssl-dev libfreetype-dev libfreetype6 libpq-dev libpq5 libpcre3 libpcre3-dev libsodium-dev" ; for Package in ${pkgList}; do apt-get install -y --no-install-recommends ${Package} ; done ; apt-get install -y --no-install-recommends ca-certificates gcc g++ make cmake autoconf pkg-config libtool apt-utils curl supervisor ; mkdir -p "${TMP}" && cd "${TMP}" ; curl -Lk --retry 3 "${GH_MIRROR_URL}https://github.com/kkos/oniguruma/releases/download/v6.9.7.1/onig-6.9.7.1.tar.gz" | gunzip | tar x ; curl -Lk --retry 3 https://pecl.php.net/get/redis-5.3.7.tgz | gunzip | tar x ; curl -Lk --retry 3 "https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" | gunzip | tar x ; if [ "${GH_MIRROR_URL}x" != ""x ] ; then curl -Lk --retry 3 "https://mirror.nju.edu.cn/php/php-${PHP_VERSION}.tar.gz" | gunzip | tar x ; else curl -Lk --retry 3 "https://php.net/distributions/php-${PHP_VERSION}.tar.gz" | gunzip | tar x ; fi ; cd onig-6.9.7 ; ./configure --prefix=/usr ; make && make install ; cd .. ; cd "php-${PHP_VERSION}" ; export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/ ; ./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ --with-config-file-scan-dir=/usr/local/php/etc/php.d/ --with-fpm-user=www --with-fpm-group=www --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pgsql --with-pdo-pgsql --with-zip=/usr/local --with-sodium --with-openssl --with-iconv --with-zlib --with-gettext --with-curl --with-freetype --with-jpeg --with-mhash --with-xsl --with-password-argon2 --enable-fpm --enable-xml --enable-shmop --enable-sysvsem --enable-mbregex --enable-mbstring --enable-ftp --enable-mysqlnd --enable-pcntl --enable-sockets --enable-soap --enable-session --enable-bcmath --enable-exif --enable-intl --enable-fileinfo --enable-gd --enable-ipv6 --disable-opcache --disable-rpath --disable-debug --without-pear ; make && make install ; mkdir /usr/local/php/etc/php.d/ ; cp php.ini-production /usr/local/php/etc/php.ini ; cp /usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.conf ; cp /usr/local/php/etc/php-fpm.d/www.conf.default /usr/local/php/etc/php-fpm.d/www.conf ; ln -s /usr/local/php/bin/* /bin/ ; ln -s /usr/local/php/sbin/* /bin/ ; cd .. ; if [ "${GH_MIRROR_URL}x" != ""x ] ; then curl -L -O https://mirrors.aliyun.com/composer/composer.phar ; else php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ; php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" ; php composer-setup.php ; php -r "unlink('composer-setup.php');" ; fi ; mv composer.phar /usr/local/bin/composer ; chmod +x /usr/local/bin/composer ; EXTENSION_DIR=$(php-config --extension-dir) ; cd redis-5.3.7 ; phpize ; ./configure --with-php-config=/usr/local/php/bin/php-config ; make && make install ; if [ -f "${EXTENSION_DIR}/redis.so" ]; then echo 'extension=redis.so' > /usr/local/php/etc/php.d/05-redis.ini ; fi ; cd .. ; cd "nginx-${NGINX_VERSION}" ; ./configure --prefix=/usr/local/nginx --user=www --group=www --error-log-path="${NGX_LOG_ROOT}/nginx_error.log" --http-log-path="${NGX_LOG_ROOT}/nginx_access.log" --pid-path=/var/run/nginx.pid --with-pcre --with-http_ssl_module --with-http_v2_module --without-mail_pop3_module --without-mail_imap_module --with-http_gzip_static_module ; make && make install ; ln -s /usr/local/nginx/sbin/* /bin/ ; useradd -r -s /sbin/nologin -d "${NGX_WWW_ROOT}" -m -k no www ; cd / ; rm -rf "${TMP}" ; apt-get remove -y gcc g++ autoconf automake libtool make cmake ; apt-get autoremove -y ; apt-get autoclean -y ; apt-get clean -y ; rm -rf /var/lib/apt/lists/* ; find /var/log -type f -delete # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)RUN |3 NGINX_VERSION=1.21.6 PHP_VERSION=8.0.18 GH_MIRROR_URL= /bin/sh -c if [ "${GH_MIRROR_URL}x" != ""x ] ; then ARCH=$(arch) ; if [ "${ARCH}x" != "aarch64"x ] ; then sed -i 's/mirrors.ustc.edu.cn/archive.ubuntu.com/g' /etc/apt/sources.list ; else sed -i 's/mirrors.ustc.edu.cn/ports.ubuntu.com/g' /etc/apt/sources.list ; fi ; fi # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)VOLUME [/data/wwwroot /data/wwwlogs]
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)WORKDIR /app
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)EXPOSE map[443/tcp:{} 80/tcp:{} 9000/tcp:{}]
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)COPY nginx.conf /usr/local/nginx/conf/ # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)COPY vhost /usr/local/nginx/conf/vhost/ # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)COPY www /data/wwwroot # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)COPY supervisord /etc/supervisor/conf.d/ # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /app # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)RUN |3 NGINX_VERSION=1.21.6 PHP_VERSION=8.0.18 GH_MIRROR_URL= /bin/sh -c chown -R www:www "${NGX_WWW_ROOT}" ; chmod +x /app/entrypoint.sh # buildkit
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/app/entrypoint.sh"]
2022-04-25 18:59:27 UTC (buildkit.dockerfile.v0)CMD ["-D"]
2022-05-04 09:09:44 UTC (buildkit.dockerfile.v0)COPY ./html /data/wwwroot # buildkit
2022-05-04 12:16:48 UTC (buildkit.dockerfile.v0)COPY start.sh /app # buildkit
2022-05-04 12:16:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chown -R www:www /data/wwwroot & apt update # buildkit
2022-05-04 13:18:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -rf /app/entrypoint.sh & rm -rf /usr/local/php/etc/php.ini # buildkit
2022-05-04 13:18:01 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/php/etc/ # buildkit
2022-05-04 13:18:01 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /app # buildkit
2022-05-04 13:18:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get install -y tofrodos wget & fromdos /start.sh & fromdos entrypoint.sh & apt remove -y tofrodos # buildkit
2022-05-04 13:18:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /app/entrypoint.sh && chmod +x /app/start.sh # buildkit
2022-05-05 13:11:51 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get install -y wget # buildkit
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.