2021-04-02 02:45:55 UTC
60.1 MB
1.18.0
NJS_VERSION0.4.4
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE2~buster
[#000] sha256:6fcf2156bc23db75595b822b865fbc962ed6f4521dec8cae509e66742a6a5ad3 - 41.08% (24.7 MB)
[#001] sha256:fab33b35e50e98c8a60556f9f67e79c6d259fae98d61a4b5854589a85a87e5f1 - 58.91% (35.4 MB)
[#002] sha256:7680df245470360edcaec6941817e57ae2e8ca684e6d597cb8d6fd45abe84ff4 - 0.01% (4.96 KB)
[#003] sha256:052722e881c1465eb58c9ac2bafc164a254188c9f06bd0933d99757ec992fc00 - 0.0% (602 Bytes)
[#004] sha256:873869a49d3ed8f189f9763b0806ab2c46faef9dd23426db838fac10d94e1b68 - 0.0% (899 Bytes)
[#005] sha256:71212c2b4df9b19ccc23469455dd4d149db56c8f5bf15acece200c2c2f6943b0 - 0.0% (672 Bytes)
[#006] sha256:f783cdf0416ba80f75f4392e6065ab8702b7f58925d4492716e4fa7b3828dbd8 - 0.0% (1.36 KB)
/bin/sh -c #(nop) ADD file:a9b57ded2400fc7f60ea40e5ccdd3e9bf0f72acfcc47223ceb66b4fa16955059 in /
2021-03-30 21:47:16 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)ENV NGINX_VERSION=1.18.0
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)ENV NJS_VERSION=0.4.4
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)ENV PKG_RELEASE=2~buster
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)ARG UID=101
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)ARG GID=101
2021-04-01 14:47:05 UTC (buildkit.dockerfile.v0)RUN |2 UID=101 GID=101 /bin/sh -c set -x && addgroup --system --gid $GID nginx && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid $UID nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-perl=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|i386|arm64) echo "deb https://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src https://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d # buildkit
2021-04-01 14:47:06 UTC (buildkit.dockerfile.v0)RUN |2 UID=101 GID=101 /bin/sh -c sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.conf && sed -i '/user nginx;/d' /etc/nginx/nginx.conf && sed -i 's,/var/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf && sed -i "/^http {/a \ proxy_temp_path /tmp/proxy_temp;\n client_body_temp_path /tmp/client_temp;\n fastcgi_temp_path /tmp/fastcgi_temp;\n uwsgi_temp_path /tmp/uwsgi_temp;\n scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf && chown -R $UID:0 /var/cache/nginx && chmod -R g+w /var/cache/nginx && chown -R $UID:0 /etc/nginx && chmod -R g+w /etc/nginx # buildkit
2021-04-01 14:47:06 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2021-04-01 14:47:06 UTC (buildkit.dockerfile.v0)COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
2021-04-01 14:47:06 UTC (buildkit.dockerfile.v0)COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
2021-04-02 02:45:55 UTC (buildkit.dockerfile.v0)COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
2021-04-02 02:45:55 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2021-04-02 02:45:55 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2021-04-02 02:45:55 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2021-04-02 02:45:55 UTC (buildkit.dockerfile.v0)USER 101
2021-04-02 02:45:55 UTC (buildkit.dockerfile.v0)CMD ["nginx" "-g" "daemon off;"]
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.