2019-05-05 21:32:10 UTC
43.9 MB
1.15.12
NJS_VERSION0.3.1
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE1~stretch
[#000] sha256:a5ba78e1989e52ae238c3f225934c1a2dee4dfaa4667abd6f2e0717b78159472 - 50.27% (22.1 MB)
[#001] sha256:5e1934aaef8902d220673968355726137faea7d7d761bf68c0d9a935e61c4941 - 49.72% (21.8 MB)
[#002] sha256:177c4fea6380b7837e0128f6b792903f1cc9f311a1eca888ce5642ff05e8fb25 - 0.0% (2.17 KB)
[#003] sha256:a93515bb0405a8ff2246c57b7d58004653e7d1956fa9de5ebd9c408b58827965 - 0.0% (202 Bytes)
/bin/sh -c #(nop) ADD file:13e40d14dbdd0814b4fb7b2a378757164620517fec383739c87747c27e07d8e7 in /
2019-03-27 10:43:41 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-05-05 21:31:06 UTC/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2019-05-05 21:31:07 UTC/bin/sh -c #(nop) ENV NGINX_VERSION=1.15.12
2019-05-05 21:31:07 UTC/bin/sh -c #(nop) ENV NJS_VERSION=0.3.1
2019-05-05 21:31:07 UTC/bin/sh -c #(nop) ENV PKG_RELEASE=1~stretch
2019-05-05 21:32:05 UTC/bin/sh -c set -x && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 apt-transport-https 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/ stretch nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src https://nginx.org/packages/mainline/debian/ stretch 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 && apt-get remove --purge --auto-remove -y apt-transport-https ca-certificates && 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
2019-05-05 21:32:07 UTC/bin/sh -c usermod -u 1001 nginx && chown -R 1001:0 /var/cache/nginx && chmod -R g+w /var/cache/nginx && sed -i -e '/listen/!b' -e '/80;/!b' -e 's/80;/8080;/' /etc/nginx/conf.d/default.conf && sed -i -e '/user/!b' -e '/nginx/!b' -e '/nginx/d' /etc/nginx/nginx.conf && sed -i 's!/var/run/nginx.pid!/var/cache/nginx/nginx.pid!g' /etc/nginx/nginx.conf && sed -i "/^http {/a \ proxy_temp_path /var/cache/nginx/proxy_temp;\n client_body_temp_path /var/cache/nginx/client_temp;\n fastcgi_temp_path /var/cache/nginx/fastcgi_temp;\n uwsgi_temp_path /var/cache/nginx/uwsgi_temp;\n scgi_temp_path /var/cache/nginx/scgi_temp;\n" /etc/nginx/nginx.conf
2019-05-05 21:32:08 UTC/bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
2019-05-05 21:32:09 UTC/bin/sh -c #(nop) EXPOSE 8080
2019-05-05 21:32:09 UTC/bin/sh -c #(nop) STOPSIGNAL SIGTERM
2019-05-05 21:32:09 UTC/bin/sh -c #(nop) USER 1001
2019-05-05 21:32:10 UTC/bin/sh -c #(nop) 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.