镜像构建历史
# 2021-04-15 07:15:07 0.00B
/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
# 2021-04-15 07:15:07 0.00B
/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
# 2021-04-15 07:15:07 0.00B
/bin/sh -c #(nop) EXPOSE 80
# 2021-04-15 07:15:07 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
# 2021-04-15 07:15:07 1.04KB
/bin/sh -c #(nop) COPY file:0fd5fca330dcd6a7de297435e32af634f29f7132ed0550d342cad9fd20158258 in /docker-entrypoint.d
# 2021-04-15 07:15:06 1.95KB
/bin/sh -c #(nop) COPY file:08ae525f517706a57131e1efe03acba0fdd4ecadddb55301484f05d2ec76c39a in /docker-entrypoint.d
# 2021-04-15 07:15:06 1.20KB
/bin/sh -c #(nop) COPY file:e7e183879c35719c18aa7f733651029fbcc55f5d8c22a877ae199b389425789e in /
# 2021-04-15 07:15:06 16.24MB
/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} " && 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 && apk del .cert-deps && apk add -X "https://nginx.org/packages/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 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 ${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 && 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-04-15 07:15:00 0.00B
/bin/sh -c #(nop) ENV PKG_RELEASE=2
# 2021-04-15 07:15:00 0.00B
/bin/sh -c #(nop) ENV NJS_VERSION=0.4.4
# 2021-04-15 07:15:00 0.00B
/bin/sh -c #(nop) ENV NGINX_VERSION=1.18.0
# 2021-04-15 07:15:00 0.00B
/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
# 2021-04-15 03:19:56 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2021-04-15 03:19:56 5.62MB
/bin/sh -c #(nop) ADD file:282b9d56236cae29600bf8b698cb0a865ab17db7beea0be6870f9de63e7d4f80 in /
镜像信息
{
"Id": "sha256:684dbf9f01f3250437d595669c7437c202573798ab34247d50338ff630e58b6a",
"RepoTags": [
"nginx:1.18.0-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.18.0-alpine"
],
"RepoDigests": [
"nginx@sha256:93baf2ec1bfefd04d29eb070900dd5d79b0f79863653453397e55a5b663a6cb1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:ca9fac83c6c89a09424279de522214e865e322187b22a1a29b12747a4287b7bd"
],
"Parent": "",
"Comment": "",
"Created": "2021-04-14T23:15:07.765957752Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "19.03.12",
"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.18.0",
"NJS_VERSION=0.4.4",
"PKG_RELEASE=2"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"Image": "sha256:f75ac546e7fc8bd2135d9aa28a2990c4154a60a6c876d01345dc77450de1c14f",
"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": 21859422,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/30886695ae1c819c1d5d9d099c49ed12a6911d93e8831ee7523e253e8c76af69/diff:/var/lib/docker/overlay2/527363d08da229beccac7a80a9215b8ec7ca3a24cbbdfab69541e7cb194040a3/diff:/var/lib/docker/overlay2/41312f266b74134214bf4e6e70576e77d1800296551162ecc1f7df295ebd66c0/diff:/var/lib/docker/overlay2/86c2d46374fcf470277d64af3acc177eeb060c358b82d8cada5211c97a1c4f2a/diff",
"MergedDir": "/var/lib/docker/overlay2/356736947e5778dcc6aa4323489cfe0b40769c07d153f178542405551721beae/merged",
"UpperDir": "/var/lib/docker/overlay2/356736947e5778dcc6aa4323489cfe0b40769c07d153f178542405551721beae/diff",
"WorkDir": "/var/lib/docker/overlay2/356736947e5778dcc6aa4323489cfe0b40769c07d153f178542405551721beae/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c",
"sha256:d1cf28aead06e4928819362d515b9986740f338610f2a924133757e188dd3146",
"sha256:154dfe1bc87d93b48e3b0f0a124d26e123155aee1c53b4da1ca6daa2a6b388d5",
"sha256:bda4c7e5e4424ff22785616d0705c883a58714f3674dc2b52a696843edbfe350",
"sha256:f88365b5c5d3c0f1a61b0a941e50644a85102ddc6a46817cb4159b9616b8285a"
]
},
"Metadata": {
"LastTagTime": "2024-11-12T10:28:42.324378434+08:00"
}
}