Namespace
ddsderek
Image / Tag
easyimage:2.6.2
Content Digest
sha256:2413e528f1b826cb758e24867d5c6e51fd780c70943faa5553140510bc0a5903
Details
Created

2022-05-06 13:23:21 UTC

Size

191 MB

Content Digest
Labels
  • maintainer
    Jetsung Chan<skiy@jetsung.com>

Environment
DEBIAN_FRONTEND

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/


Layers

[#000] sha256:8e5c1b329fe39c318c0d49821b339fb94a215c5dc0a2898c8030b5a4d091bcba - 14.25% (27.2 MB)

[#001] sha256:500a05245137256ed3dd6f4e0afdf48ce44dbf88183b27dec343a23f3c510c8a - 0.0% (133 Bytes)

[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#003] sha256:a835076e955641881d0eb506723137cbba5003f63e40163d7e091d0559baf489 - 83.89% (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:d8ca91f025ab8e9766c234488aa7fcdc9f681b5e51ebbb92c4e9850c6d40d3cb - 0.0% (241 Bytes)

[#013] sha256:16f2f6179e385927218f158844a6f67c58a0ec901b7dcc939e7550de21322c57 - 1.84% (3.52 MB)

[#014] sha256:ade5f0d5ff913933b7833729a542cac0b040dc60ae31b089f077ed73fe9c1573 - 0.0% (411 Bytes)

[#015] sha256:3a1a1a4ba37847fdd2b30c89a1a9c0abe07ff289972a8879517be18bf3d88c94 - 0.01% (23.2 KB)

[#016] sha256:697a4e11199a12aabe8bdad575343401f596b8b5da341024ef9499a1b5dd57a1 - 0.0% (160 Bytes)

[#017] sha256:16d041b2f5712f24adaad07a1015f0642dfd18841d7144868536784759caca78 - 0.01% (13.4 KB)

[#018] sha256:2425a82d00062b43e6e61cbcae99aea921af890e97c5301e1a14bd603e1401b3 - 0.0% (456 Bytes)


History
2022-04-21 23:00:07 UTC

/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-06 13:12:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chown -R www:www /data/wwwroot & rm -rf /app/entrypoint.sh & rm -rf /usr/local/php/etc/php.ini # buildkit

2022-05-06 13:12:03 UTC (buildkit.dockerfile.v0)

COPY ./html /data/wwwroot # buildkit

2022-05-06 13:23:17 UTC (buildkit.dockerfile.v0)

COPY start.sh /app # buildkit

2022-05-06 13:23:18 UTC (buildkit.dockerfile.v0)

COPY php.ini /usr/local/php/etc/ # buildkit

2022-05-06 13:23:19 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh /app # buildkit

2022-05-06 13:23:20 UTC (buildkit.dockerfile.v0)

COPY /mv / # buildkit

2022-05-06 13:23:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /app/entrypoint.sh && chmod +x /app/start.sh # buildkit

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