镜像构建历史
# 2021-11-13 13:02:36 0.00B
/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
# 2021-11-13 13:02:35 0.00B
/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
# 2021-11-13 13:02:35 0.00B
/bin/sh -c #(nop) EXPOSE 80
# 2021-11-13 13:02:34 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
# 2021-11-13 13:02:34 4.61KB
/bin/sh -c #(nop) COPY file:09a214a3e07c919af2fb2d7c749ccbc446b8c10eb217366e5a65640ee9edcc25 in /docker-entrypoint.d
# 2021-11-13 13:02:34 1.04KB
/bin/sh -c #(nop) COPY file:0fd5fca330dcd6a7de297435e32af634f29f7132ed0550d342cad9fd20158258 in /docker-entrypoint.d
# 2021-11-13 13:02:33 1.96KB
/bin/sh -c #(nop) COPY file:0b866ff3fc1ef5b03c4e6c8c513ae014f691fb05d530257dfffd07035c1b75da in /docker-entrypoint.d
# 2021-11-13 13:02:32 1.20KB
/bin/sh -c #(nop) COPY file:65504f71f5855ca017fb64d502ce873a31b2e0decd75297a8fb0a287f97acf92 in /
# 2021-11-13 13:02:32 17.58MB
/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-njs=${NGINX_VERSION}.${NJS_VERSION}-r${PKG_RELEASE} " && apk add --no-cache --virtual .checksum-deps openssl && case "$apkArch" in x86_64|aarch64) set -x && KEY_SHA512="e7fa8303923d9b95db37a77ad46c68fd4755ff935d0a534d26eba83de193c76166c68bfe7f65471bf8881004ef4aa6df3e34689c305662750c0172fca5d8552a *stdin" && 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 && apk add -X "https://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages ;; *) 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 bash alpine-sdk findutils && su nobody -s /bin/sh -c " export HOME=${tempDir} && cd ${tempDir} && curl -f -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"f917c27702aa89cda46878fc80d446839c592c43ce7f251b3f4ced60c7033d34496a92d283927225d458cbc4f2f89499e7fb16344923317cd7725ad722eaf93e *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then echo \"pkg-oss tarball checksum verification succeeded!\"; else echo \"pkg-oss tarball checksum verification failed!\"; exit 1; fi && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE} && 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 " && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/ && apk del .build-deps && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages ;; esac && apk del .checksum-deps && 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 && 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 && apk add --no-cache curl ca-certificates && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d
# 2021-11-13 13:02:22 0.00B
/bin/sh -c #(nop) ENV PKG_RELEASE=1
# 2021-11-13 13:02:22 0.00B
/bin/sh -c #(nop) ENV NJS_VERSION=0.7.0
# 2021-11-13 13:02:22 0.00B
/bin/sh -c #(nop) ENV NGINX_VERSION=1.21.4
# 2021-11-13 13:02:22 0.00B
/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
# 2021-11-13 01:19:45 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2021-11-13 01:19:44 5.61MB
/bin/sh -c #(nop) ADD file:762c899ec0505d1a32930ee804c5b008825f41611161be104076cba33b7e5b2b in /
镜像信息
{
"Id": "sha256:b46db85084b80a87b94cc930a74105b74763d0175e14f5913ea5b07c312870f8",
"RepoTags": [
"nginx:1.21.4-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21.4-alpine"
],
"RepoDigests": [
"nginx@sha256:12aa12ec4a8ca049537dd486044b966b0ba6cd8890c4c900ccb5e7e630e03df0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:f51b557cbb5e8dfd8c5e416ae74b58fe823efe52d9f9fed3f229521844a509e2"
],
"Parent": "",
"Comment": "",
"Created": "2021-11-13T05:02:36.300109075Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.7",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NGINX_VERSION=1.21.4",
"NJS_VERSION=0.7.0",
"PKG_RELEASE=1"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"Image": "sha256:7b6872aacae3c043cf673e2af6e25df177180236b2ed3ba6be9d75185f37f628",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
},
"StopSignal": "SIGQUIT"
},
"Architecture": "amd64",
"Os": "linux",
"Size": 23195244,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/40f0d77d23ba5ecb251b3cb49aa127626cec00be4ca5c63612a063a054e2f2a0/diff:/var/lib/docker/overlay2/4ef9eea241d965531fe5b3cd51e955f309bfa729916e4925b4ea9d991c58bb58/diff:/var/lib/docker/overlay2/2a4b72e347766dc92b3487bbb2b7b418fe8b2f4e9b388392e0c1ed25e6e58fc0/diff:/var/lib/docker/overlay2/b3568f1432820983e7b152472bdc72426963cceeb48f2b7babc9dace1d1541b6/diff:/var/lib/docker/overlay2/025618464a7dbb0a16d47711391c394a750009d1c84ff668fb2d51f05df414e8/diff",
"MergedDir": "/var/lib/docker/overlay2/1b1518ca3e8100d02dfd2a1964623c85bbb05a52920efa28173ee04d60c6feae/merged",
"UpperDir": "/var/lib/docker/overlay2/1b1518ca3e8100d02dfd2a1964623c85bbb05a52920efa28173ee04d60c6feae/diff",
"WorkDir": "/var/lib/docker/overlay2/1b1518ca3e8100d02dfd2a1964623c85bbb05a52920efa28173ee04d60c6feae/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:1a058d5342cc722ad5439cacae4b2b4eedde51d8fe8800fcf28444302355c16d",
"sha256:ad93babfd60c3875e2a7ec89948ba366ec4c1e842b62f6a837471b120b25d844",
"sha256:5af959103b901c3e40ecdcdf25b2837bcc96a7c865e1d9f90c347320a761f69c",
"sha256:385374b911f2e7a97dd50c5a88a23cead5c5b01624cc31850858012020013610",
"sha256:eabae5075c43aa962e48a05d399084335688e8c4165f8577e27d0a0232601cfe",
"sha256:3d71b657b020afb4f390f6f81cf4c19d238aa669eadb658c2af79114ca13aa7a"
]
},
"Metadata": {
"LastTagTime": "2024-10-21T17:38:58.115255673+08:00"
}
}