2019-11-14 22:17:33 UTC
17.3 MB
1.17.3
NJS_VERSION0.3.5
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE1
[#000] sha256:cd18d16ea896a0f0eb99be52a9722ffae9a5ac35cf28cb8b96f589352f8e71d6 - 15.44% (2.68 MB)
[#001] sha256:b73cc8e65ca56456d836e2fa6e5abf4e8a88191d2a27c5b6bc9b019ce860607b - 84.55% (14.7 MB)
[#002] sha256:7f51d09c79ab4dd8409537d60ac4e601d92cacb3ac734cc1c9014b175a131688 - 0.01% (989 Bytes)
[#003] sha256:f20dc04db68d4dacbde1c1126124742948bdc1d1e7dbfd289bc83f28e216bfea - 0.0% (156 Bytes)
[#004] sha256:305d51eb17de6ca731398229723411d1b89ccc890f00c0e6691c9e9fbdd7126c - 0.0% (205 Bytes)
/bin/sh -c #(nop) ADD file:11a2dd0058b1642e9ee52239d03223819a53ca346fd42826eead7729c50e1257 in /
2019-10-21 17:53:00 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2019-11-14 18:06:58 UTC/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2019-11-14 18:07:05 UTC/bin/sh -c #(nop) ENV NGINX_VERSION=1.17.3
2019-11-14 18:07:06 UTC/bin/sh -c #(nop) ENV NJS_VERSION=0.3.5
2019-11-14 18:07:06 UTC/bin/sh -c #(nop) ENV PKG_RELEASE=1
2019-11-14 22:17:29 UTC/bin/sh -c set -x && addgroup -g 101 -S nginx && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx && apkArch="$(cat /etc/apk/arch)" && nginxPackages=" nginx=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-perl=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${PKG_RELEASE} " && case "$apkArch" in x86_64) set -x && KEY_SHA512="e7fa8303923d9b95db37a77ad46c68fd4755ff935d0a534d26eba83de193c76166c68bfe7f65471bf8881004ef4aa6df3e34689c305662750c0172fca5d8552a *stdin" && apk add --no-cache --virtual .cert-deps openssl && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub && if [ "$(openssl rsa -pubin -in /tmp/nginx_signing.rsa.pub -text -noout | openssl sha512 -r)" = "$KEY_SHA512" ]; then echo "key verification succeeded!"; mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/; else echo "key verification failed!"; exit 1; fi && printf "%s%s%s\n" "https://nginx.org/packages/mainline/alpine/v" `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` "/main" | tee -a /etc/apk/repositories && apk del .cert-deps ;; *) set -x && tempDir="$(mktemp -d)" && chown nobody:nobody $tempDir && apk add --no-cache --virtual .build-deps gcc libc-dev make openssl-dev pcre-dev zlib-dev linux-headers libxslt-dev gd-dev geoip-dev perl-dev libedit-dev mercurial bash alpine-sdk findutils && su nobody -s /bin/sh -c " export HOME=${tempDir} && cd ${tempDir} && hg clone https://hg.nginx.org/pkg-oss && cd pkg-oss && hg up 428 && cd alpine && make all && apk index -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz " && echo "${tempDir}/packages/alpine/" >> /etc/apk/repositories && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/ && apk del .build-deps ;; esac && apk add --no-cache $nginxPackages && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi && if [ -n "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi && if [ -n "/etc/apk/keys/nginx_signing.rsa.pub" ]; then rm -f /etc/apk/keys/nginx_signing.rsa.pub; fi && sed -i '$ d' /etc/apk/repositories && apk add --no-cache --virtual .gettext gettext && mv /usr/bin/envsubst /tmp/ && runDeps="$( scanelf --needed --nobanner /tmp/envsubst | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' | sort -u | xargs -r apk info --installed | sort -u )" && apk add --no-cache $runDeps && apk del .gettext && mv /tmp/envsubst /usr/local/bin/ && apk add --no-cache tzdata
2019-11-14 22:17:30 UTC/bin/sh -c 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!/tmp/nginx.pid!g' /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
2019-11-14 22:17:31 UTC/bin/sh -c chown -R 101:0 /var/cache/nginx && chmod -R g+w /var/cache/nginx
2019-11-14 22:17:32 UTC/bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
2019-11-14 22:17:33 UTC/bin/sh -c #(nop) EXPOSE 8080
2019-11-14 22:17:33 UTC/bin/sh -c #(nop) STOPSIGNAL SIGTERM
2019-11-14 22:17:33 UTC/bin/sh -c #(nop) USER 101
2019-11-14 22:17:33 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.