2020-11-11 10:54:56 UTC
45 MB
1.19.4
NJS_VERSION0.4.4
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE1~buster
[#000] sha256:d6d8411ad43db0022fa0fce094cd2e8b1dd2f8a09d6880ed9beb6b4204867027 - 48.05% (21.6 MB)
[#001] sha256:9d76561257aea9a71a6ff297cd76af62a146f9ee0b7bfbc6fba303a824446e7a - 51.93% (23.4 MB)
[#002] sha256:69901fb3f071ae8cc14b3b5829819d1fa51140e7806a437ea1869854abc678e0 - 0.01% (4.96 KB)
[#003] sha256:b55e8626ad919b45928b10eca280dcad60197a06674529ceea3a8bdbf42c9501 - 0.0% (600 Bytes)
[#004] sha256:527462e2e278de37f8d0edd613dbdabfb348d6e92b63d11d6fba2955ca89f35c - 0.0% (883 Bytes)
[#005] sha256:e7450e6fe110772e9ce888eb51fb24ecb1be121bb721f6e85f3b27089b78d14b - 0.0% (668 Bytes)
/bin/sh -c #(nop) ADD file:e423f30ca19eb205a98de21b0545d0a764cfc4f832a9a9631542354d914d98d9 in /
2020-10-13 00:59:31 UTC/bin/sh -c #(nop) CMD ["bash"]
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)ENV NGINX_VERSION=1.19.4
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)ENV NJS_VERSION=0.4.4
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)ENV PKG_RELEASE=1~buster
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -x && addgroup --system --gid 101 nginx && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 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-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|i386) echo "deb https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src https://nginx.org/packages/mainline/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
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)RUN /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 101:0 /var/cache/nginx && chmod -R g+w /var/cache/nginx && chown -R 101:0 /etc/nginx && chmod -R g+w /etc/nginx # buildkit
2020-11-06 06:53:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2020-11-11 10:54:56 UTC (buildkit.dockerfile.v0)COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
2020-11-11 10:54:56 UTC (buildkit.dockerfile.v0)COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
2020-11-11 10:54:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2020-11-11 10:54:56 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2020-11-11 10:54:56 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGTERM
2020-11-11 10:54:56 UTC (buildkit.dockerfile.v0)USER 101
2020-11-11 10:54:56 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.