镜像构建历史
# 2022-12-23 04:49:18 4.50MB 复制新文件或目录到容器中
COPY /app/site /usr/share/nginx/html # buildkit
# 2022-12-23 04:49:17 1.75MB 复制新文件或目录到容器中
COPY /app.zip /usr/share/nginx/html/assets/app.zip # buildkit
# 2022-12-14 09:20:51 29.20MB
/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=\"52a80f6c3b3914462f8a0b2fbadea950bcd79c1bd528386aff4c28d5a80c6920d783575a061a47b60fea800eef66bf5a0178a137ea51c37277fe9c2779715990 *${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 .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 curl ca-certificates
# 2022-12-14 09:20:45 0.00B
/bin/sh -c #(nop) ENV NJS_VERSION=0.7.9
# 2022-12-14 09:20:34 0.00B
/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
# 2022-12-14 09:20:34 0.00B
/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
# 2022-12-14 09:20:34 0.00B
/bin/sh -c #(nop) EXPOSE 80
# 2022-12-14 09:20:34 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
# 2022-12-14 09:20:34 4.62KB
/bin/sh -c #(nop) COPY file:e57eef017a414ca793499729d80a7b9075790c9a804f930f1417e56d506970cf in /docker-entrypoint.d
# 2022-12-14 09:20:34 1.27KB
/bin/sh -c #(nop) COPY file:abbcbf84dc17ee4454b6b2e3cf914be88e02cf84d344ec45a5b31235379d722a in /docker-entrypoint.d
# 2022-12-14 09:20:33 2.12KB
/bin/sh -c #(nop) COPY file:5c18272734349488bd0c94ec8d382c872c1a0a435cca13bd4671353d6021d2cb in /docker-entrypoint.d
# 2022-12-14 09:20:33 1.62KB
/bin/sh -c #(nop) COPY file:7b307b62e82255f040c9812421a30090bf9abf3685f27b02d77fcca99f997911 in /
# 2022-12-14 09:20:33 4.45MB
/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=\"52a80f6c3b3914462f8a0b2fbadea950bcd79c1bd528386aff4c28d5a80c6920d783575a061a47b60fea800eef66bf5a0178a137ea51c37277fe9c2779715990 *${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 .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
# 2022-12-14 09:20:28 0.00B
/bin/sh -c #(nop) ENV PKG_RELEASE=1
# 2022-12-14 09:20:28 0.00B
/bin/sh -c #(nop) ENV NGINX_VERSION=1.23.3
# 2022-12-14 09:20:28 0.00B
/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
# 2022-11-23 06:19:29 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2022-11-23 06:19:28 7.05MB
/bin/sh -c #(nop) ADD file:587cae71969871d3c6456d844a8795df9b64b12c710c275295a1182b46f630e7 in /
镜像信息
{
"Id": "sha256:3e4394f6b72fccefa2217067a7f7ff84d5d828afa9623867d68fce4f9d862b6c",
"RepoTags": [
"docker/getting-started:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/docker/getting-started:latest"
],
"RepoDigests": [
"docker/getting-started@sha256:d79336f4812b6547a53e735480dde67f8f8f7071b414fbd9297609ffb989abc1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/docker/getting-started@sha256:91a5104fb44df9af32367f09b08ed1ac128679ec5c31115c610206340656e183"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2022-12-22T20:49:18.670865836Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"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.23.3",
"PKG_RELEASE=1",
"NJS_VERSION=0.7.9"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"Image": "",
"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": 46956114,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/95d5dcc6d50e7d7b2c4278463a83b661366d8c0135e899f05cc91c04e4af7cfb/diff:/var/lib/docker/overlay2/a9c740a701c026e65284d30f0fb3a7bd45462d7efb14569a77429d62de729944/diff:/var/lib/docker/overlay2/556a7a9d7369b0a78c411ea48dd010bb7644fc00ee3c948a62c227ddad532724/diff:/var/lib/docker/overlay2/4ccf614bda8781ff861670a602cbde5836ace3508676a447924b19e11128edce/diff:/var/lib/docker/overlay2/bfb084e7886b7bd1ce4922c80f8ff1deb5ddcabbbb4c5cac02233ca978594c65/diff:/var/lib/docker/overlay2/db3786ff1420721f8f74552a944a316d5f2ade4a6beef2d855e808f0ad43cc33/diff:/var/lib/docker/overlay2/1e13e3b0b846cd013d0298562071e99058cbc19fc1628c0da7a687613387190a/diff:/var/lib/docker/overlay2/05b6330640d16e0a718bd53736711eebcf1b5125139613292d18be61e607c941/diff",
"MergedDir": "/var/lib/docker/overlay2/0bf5bb1c59b039b1cad8d044a4d20a417096c159b8e61df5fea94eacc950acff/merged",
"UpperDir": "/var/lib/docker/overlay2/0bf5bb1c59b039b1cad8d044a4d20a417096c159b8e61df5fea94eacc950acff/diff",
"WorkDir": "/var/lib/docker/overlay2/0bf5bb1c59b039b1cad8d044a4d20a417096c159b8e61df5fea94eacc950acff/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:ded7a220bb058e28ee3254fbba04ca90b679070424424761a53a043b93b612bf",
"sha256:1fee4bd55a8558ea7d3c6853234c5cfd8e0604bce76d06338817535f22858098",
"sha256:ec7e4a91c33b5d0d8ef5a4a79113648caab03a6176a43407bdc4f548bbdb0c68",
"sha256:0511ab7e6edc3eadfc6ce2a8a0691c5da36300336453807ca9b4ad87d6a1a6d0",
"sha256:c23f26e962bd25628cd27d47c812b759beb564299927b7f23cf1679eac91b534",
"sha256:f2d47996fdfa7691b228d6c50a33c8526e15e2ac958d58c9d47f454885c7d780",
"sha256:9e173cdce044cd94cc216182cf69274f233491d6582122d31d820e7679553a76",
"sha256:6dd65fb1af16bd460c3b472b6467fbf49c4edda179989af5cc02258ae8785660",
"sha256:f04c024ad0253ca63ee3b24a1f0a839ef2aa84972d29a3c1b2d86ed7c4f73465"
]
},
"Metadata": {
"LastTagTime": "2025-01-16T16:35:59.22709132+08:00"
}
}