镜像构建历史
# 2019-05-11 08:38:01 0.00B
/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
# 2019-05-11 08:38:01 0.00B
/bin/sh -c #(nop) STOPSIGNAL SIGTERM
# 2019-05-11 08:38:01 0.00B
/bin/sh -c #(nop) EXPOSE 80
# 2019-05-11 08:37:59 14.89MB
/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} " && case "$apkArch" in x86_64) set -x && KEY_SHA512="e7fa8303923d9b95db37a77ad46c68fd4755ff935d0a534d26eba83de193c76166c68bfe7f65471bf8881004ef4aa6df3e34689c305662750c0172fca5d8552a *stdin" && apk add --no-cache --virtual .cert-deps openssl curl ca-certificates && curl -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 && printf "%s%s%s\n" "http://nginx.org/packages/alpine/v" `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` "/main" | tee -a /etc/apk/repositories && apk del .cert-deps ;; *) 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 " && echo "${tempDir}/packages/alpine/" >> /etc/apk/repositories && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/ && apk del .build-deps ;; esac && apk add --no-cache $nginxPackages && 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 && sed -i '$ d' /etc/apk/repositories && 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
# 2019-05-11 08:37:48 0.00B
/bin/sh -c #(nop) ENV PKG_RELEASE=1
# 2019-05-11 08:37:48 0.00B
/bin/sh -c #(nop) ENV NJS_VERSION=0.3.1
# 2019-05-11 08:37:48 0.00B
/bin/sh -c #(nop) ENV NGINX_VERSION=1.16.0
# 2019-05-11 08:34:31 0.00B
/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
# 2019-05-11 08:07:03 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2019-05-11 08:07:03 5.53MB
/bin/sh -c #(nop) ADD file:a86aea1f3a7d68f6ae03397b99ea77f2e9ee901c5c59e59f76f93adbb4035913 in /
镜像信息
{
"Id": "sha256:ef04b00b089d1dc0f8afe7d9baea21609ff3edf91893687aed0eec1351429ff6",
"RepoTags": [
"nginx:1.16.0-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.16.0-alpine"
],
"RepoDigests": [
"nginx@sha256:270bea203d2fc3743fb9ce0193325e188b7e6233043487e3d3cf117ea4d3f337",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:64c4bd7933d924242fb94f3bf055e56fc7470b3b6bc44a081b583eb83f9adb21"
],
"Parent": "",
"Comment": "",
"Created": "2019-05-11T00:38:01.512259511Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "18.06.1-ce",
"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.16.0",
"NJS_VERSION=0.3.1",
"PKG_RELEASE=1"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"ArgsEscaped": true,
"Image": "sha256:061a08248c2befa179254fd2bdffee85eb6fca9726fca49874a9ee5e29179c1d",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
},
"StopSignal": "SIGTERM"
},
"Architecture": "amd64",
"Os": "linux",
"Size": 20421143,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/ce40c9508b88cc2e3114ef5a3049e249f3bbd932526af1895ce070262dd96e12/diff",
"MergedDir": "/var/lib/docker/overlay2/1450656dbd5acdaff10f88cda6f8d9a187070db09ec03f395679058b24b0cf1b/merged",
"UpperDir": "/var/lib/docker/overlay2/1450656dbd5acdaff10f88cda6f8d9a187070db09ec03f395679058b24b0cf1b/diff",
"WorkDir": "/var/lib/docker/overlay2/1450656dbd5acdaff10f88cda6f8d9a187070db09ec03f395679058b24b0cf1b/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f1b5933fe4b5f49bbe8258745cf396afe07e625bdab3168e364daf7c956b6b81",
"sha256:2bdf88b2699da3549a9cbc76f9b6ee058cc1f9d232fba48dda107478abfc694b"
]
},
"Metadata": {
"LastTagTime": "2024-09-06T13:54:32.26476628+08:00"
}
}