镜像构建历史
# 2023-10-21 10:43:17 30.70MB
/bin/sh -c set -x && 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="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/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 pcre2-dev zlib-dev linux-headers libxslt-dev gd-dev geoip-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=\"64d3f504b246df1997d8442b12303944d2f51e09b35443b23da479af7790b9f84cf2ddf8ba108bdd712f92466f9a8e107b865a488f0898b87d39059f9f7ff56c *${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 module-geoip module-image-filter module-njs module-xslt && 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 --no-network .build-deps && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages ;; esac && apk del --no-network .checksum-deps && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi && if [ -f "/etc/apk/keys/nginx_signing.rsa.pub" ]; then rm -f /etc/apk/keys/nginx_signing.rsa.pub; fi && apk add --no-cache curl ca-certificates
# 2023-10-21 10:43:11 0.00B
/bin/sh -c #(nop) ENV NJS_VERSION=0.8.0
# 2023-10-21 10:42:54 0.00B
/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
# 2023-10-21 10:42:54 0.00B
/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
# 2023-10-21 10:42:54 0.00B
/bin/sh -c #(nop) EXPOSE 80
# 2023-10-21 10:42:54 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
# 2023-10-21 10:42:54 4.62KB
/bin/sh -c #(nop) COPY file:9e3b2b63db9f8fc702e2dc2bdd0943be0d990c028cddcf1c159f5556a8ba3030 in /docker-entrypoint.d
# 2023-10-21 10:42:53 3.02KB
/bin/sh -c #(nop) COPY file:57846632accc89753f45cbc00cb9e6223d991e1d31297eec3395a7ca58eed6a6 in /docker-entrypoint.d
# 2023-10-21 10:42:53 298.00B
/bin/sh -c #(nop) COPY file:3b1b9915b7dd898a0e32f7eb9715a35c9feab914022efff68ba990bc1ec7d169 in /docker-entrypoint.d
# 2023-10-21 10:42:53 2.12KB
/bin/sh -c #(nop) COPY file:caec368f5a54f70a844a13005eb2255bed778809b3672d516e719ce2f4bce123 in /docker-entrypoint.d
# 2023-10-21 10:42:53 1.62KB
/bin/sh -c #(nop) COPY file:01e75c6dd0ce317d516928a17584d111cd082840c01e58be0afc851b33adb916 in /
# 2023-10-21 10:42:53 4.56MB
/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/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 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/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"64d3f504b246df1997d8442b12303944d2f51e09b35443b23da479af7790b9f84cf2ddf8ba108bdd712f92466f9a8e107b865a488f0898b87d39059f9f7ff56c *${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 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 --no-network .build-deps && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages ;; esac && apk del --no-network .checksum-deps && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi && if [ -f "/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 --no-network .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-10-21 10:42:48 0.00B
/bin/sh -c #(nop) ENV PKG_RELEASE=1
# 2023-10-21 10:42:48 0.00B
/bin/sh -c #(nop) ENV NGINX_VERSION=1.25.2
# 2023-10-21 10:42:48 0.00B
/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
# 2023-09-29 05:19:27 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2023-09-29 05:19:27 7.34MB
/bin/sh -c #(nop) ADD file:756183bba9c7f4593c2b216e98e4208b9163c4c962ea0837ef88bd917609d001 in /
镜像信息
{
"Id": "sha256:661daf9bcac824a4be78d50e09fdb7c5d3755e78295c71e1004385244c0c97b1",
"RepoTags": [
"nginx:1.25.2-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.25.2-alpine"
],
"RepoDigests": [
"nginx@sha256:7272a6e0f728e95c8641d219676605f3b9e4759abbdb6b39e5bbd194ce55ebaf",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:fc2d39a0d6565db4bd6c94aa7b5efc2da67734cc97388afb5c72369a24bcfaea"
],
"Parent": "",
"Comment": "",
"Created": "2023-10-21T02:43:17.788034104Z",
"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.25.2",
"PKG_RELEASE=1",
"NJS_VERSION=0.8.0"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"Image": "sha256:6666fd3941c7471fe6322d2bdec01b59cb7a6a735bb2d65ef6f5415429590d57",
"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": 42603312,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/c261ae3d1fbfc3177c8e140cc4fbcd06d1ac04aa992695f91c318aae2e6701a0/diff:/var/lib/docker/overlay2/192eab32c688ff5a2572aa438f647349ff2389284e0ee3aa7ed446ab8b0a30c4/diff:/var/lib/docker/overlay2/2373f5eb8ccd4d273bb7c3b4c3f608c3d68d1edf01ee4025eae8055db49bf6af/diff:/var/lib/docker/overlay2/cd794bbdd5cdcd19cfba2a3f5ccc4496305218dc25a08f1eec8b02a9442340f9/diff:/var/lib/docker/overlay2/2a50ea498fd16020911272c77e12a45cced828d9a280b1bc61c175708206a327/diff:/var/lib/docker/overlay2/e9b93dcd96da0af4c174a5fb87d0ccdea3285a01f049b2ab77d5b78b3683edf8/diff:/var/lib/docker/overlay2/842c7e7ab1eb0cb34018f5a3c59d6b696de4a4cb39a12df963a3ad48be5a24e7/diff",
"MergedDir": "/var/lib/docker/overlay2/cb68a31045faff5cf2f31082dd31fe057d69eb77d5b0d8e6cf1162941ade80c3/merged",
"UpperDir": "/var/lib/docker/overlay2/cb68a31045faff5cf2f31082dd31fe057d69eb77d5b0d8e6cf1162941ade80c3/diff",
"WorkDir": "/var/lib/docker/overlay2/cb68a31045faff5cf2f31082dd31fe057d69eb77d5b0d8e6cf1162941ade80c3/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:cc2447e1835a40530975ab80bb1f872fbab0f2a0faecf2ab16fbbb89b3589438",
"sha256:8fb91325d019fe445556e6a2bb79df82cb4d26411ca13d27114bc4c2e31c2ee4",
"sha256:feb2ab09a0024fab7bcfb62ccea9361fe8707a29f6d2a1b5d968a9ac533899f1",
"sha256:ea06dfa6cd92f0271c689bf393a2fe78f24dd27288d316055c03a468d548876f",
"sha256:f98384134eae48150a41170d03b32d873b43c8180e294af825bda4e4a93addc3",
"sha256:f1e97ae5229ef6a2a5fe399fab7041e8410baa399af4aa082ecb4fd927581a8c",
"sha256:6f4a8e682735f4196d028abfacc3b1aaba16594777e5bc292f6a7c464d761a5c",
"sha256:ae609780e57c5b3437c1325f27ab937fe774cef4e9e6dfe1d11b20bbfb9ff3f5"
]
},
"Metadata": {
"LastTagTime": "2024-08-12T08:26:55.929935666+08:00"
}
}