镜像构建历史
# 2023-03-30 06:31:28 0.00B
/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
# 2023-03-30 06:31:28 0.00B
/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
# 2023-03-30 06:31:28 0.00B
/bin/sh -c #(nop) EXPOSE 80
# 2023-03-30 06:31:27 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
# 2023-03-30 06:31:27 4.62KB
/bin/sh -c #(nop) COPY file:e57eef017a414ca793499729d80a7b9075790c9a804f930f1417e56d506970cf in /docker-entrypoint.d
# 2023-03-30 06:31:27 1.27KB
/bin/sh -c #(nop) COPY file:abbcbf84dc17ee4454b6b2e3cf914be88e02cf84d344ec45a5b31235379d722a in /docker-entrypoint.d
# 2023-03-30 06:31:27 2.12KB
/bin/sh -c #(nop) COPY file:5c18272734349488bd0c94ec8d382c872c1a0a435cca13bd4671353d6021d2cb in /docker-entrypoint.d
# 2023-03-30 06:31:27 1.62KB
/bin/sh -c #(nop) COPY file:7b307b62e82255f040c9812421a30090bf9abf3685f27b02d77fcca99f997911 in /
# 2023-03-30 06:31:27 4.43MB
/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} " && apk add --no-cache --virtual .checksum-deps openssl && case "$apkArch" in x86_64|aarch64) set -x && KEY_SHA512="e09fa32f0a0eab2b879ccbbc4d0e4fb9751486eedda75e35fac65802cc9faa266425edf83e261137a2f4d16281ce2c1a5f4502930fe75154723da014214f0655" && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub && if echo "$KEY_SHA512 */tmp/nginx_signing.rsa.pub" | sha512sum -c -; 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/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 pcre2-dev zlib-dev linux-headers 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/811.tar.gz && PKGOSSCHECKSUM=\"c979fbdcc429d146f7fce922b0cc3f47dfbfbec5685af82395c59e21216dce47ef13fc26d610f1faabc0cb3a4ee58b42000c511bf77277f0898f5de55c868dcc *811.tar.gz\" && if [ \"\$(openssl sha512 -r 811.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then echo \"pkg-oss tarball checksum verification succeeded!\"; else echo \"pkg-oss tarball checksum verification failed!\"; exit 1; fi && tar xzvf 811.tar.gz && cd pkg-oss-811 && cd alpine && make base && 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 && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d
# 2023-03-30 06:31:22 0.00B
/bin/sh -c #(nop) ENV PKG_RELEASE=1
# 2023-03-30 06:31:22 0.00B
/bin/sh -c #(nop) ENV NGINX_VERSION=1.22.1
# 2023-03-30 06:31:10 0.00B
/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
# 2023-03-30 02:19:24 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2023-03-30 02:19:24 7.05MB
/bin/sh -c #(nop) ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in /
镜像信息
{
"Id": "sha256:c7a2b9e1708c98c6783a6051799b7f329d992eed172970dd15be5d044a3877fa",
"RepoTags": [
"nginx:1.22.1-alpine3.17-slim",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.22.1-alpine3.17-slim"
],
"RepoDigests": [
"nginx@sha256:7d8c7df34592a9a09d21aace0a7cc386792aa69eb4b169994a9fb1d7761d40f9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:9b36fe8d36d1ad2a402b97bb203709bf5e6e43c8973105fd3947e963d89d666c"
],
"Parent": "",
"Comment": "",
"Created": "2023-03-29T22:31:28.19392933Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.23",
"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.22.1",
"PKG_RELEASE=1"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"Image": "sha256:e69f9bd0f841b44e205153b8a3b3de552c6576070429a4d699900f6b0a551a48",
"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": 11491575,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/e99c6755f095f5d73b1eff446b84a5268b02f2b7aa901f68cf89983cc2b7f475/diff:/var/lib/docker/overlay2/ad5558b829006a08d79553b2b0f8767a51f6da3c323a53b88e504bda388e3230/diff:/var/lib/docker/overlay2/0c55a72be6bf41b23bc243e4092f0b9730f33d7dd7fa0fb589fa152adb8d6a9c/diff:/var/lib/docker/overlay2/e2ca47db8e59ecf8d3475aba27ffb5bf613054d6e884565f1bf42289d22deba0/diff:/var/lib/docker/overlay2/f2652b4873c0a7b3b77e7f06fb252ade6a1faa73f27e33befe152f7e9b6e7bce/diff",
"MergedDir": "/var/lib/docker/overlay2/2787da20eef3e2712c80d7e0008681bf7ee068b9ebc7f0ceb84471d50a5fc14f/merged",
"UpperDir": "/var/lib/docker/overlay2/2787da20eef3e2712c80d7e0008681bf7ee068b9ebc7f0ceb84471d50a5fc14f/diff",
"WorkDir": "/var/lib/docker/overlay2/2787da20eef3e2712c80d7e0008681bf7ee068b9ebc7f0ceb84471d50a5fc14f/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f1417ff83b319fbdae6dd9cd6d8c9c88002dcd75ecf6ec201c8c6894681cf2b5",
"sha256:c48d89316d459843cd8a6a238651ef2c75ee5273ee84afdee3aed7adde56276b",
"sha256:39feffa6af3a8f3c488c29ad16ab5f3d4fd3c7b5b24c4081c49f30c1e17e32e7",
"sha256:6b3a22e32e4d6f59444779514f6e4ec85e7d016696420649432b867b58e2d5d5",
"sha256:63f29da11396f5cff68607c8b166cc8e9f6224e7c26e0f27a82a8e4c26e28855",
"sha256:17b0342ac7fd5fbb5309e3270e34d0163913e18f8844a287ea9344d4cbf9ba42"
]
},
"Metadata": {
"LastTagTime": "2025-01-08T09:37:52.148419215+08:00"
}
}