镜像构建历史
# 2022-01-14 12:37:50 0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
# 2022-01-14 12:37:50 62.74MB 执行命令并创建新的镜像层
RUN /bin/sh -c addgroup -S nginx && adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && adduser -u 82 -D -S -G www-data www-data && apk add --no-cache --virtual .build-deps gcc geoip geoip-dev libxslt-dev libxml2-dev gd-dev libc-dev make openssl-dev pcre-dev zlib-dev linux-headers curl && curl "http://tengine.taobao.org/download/tengine-$TENGINE_VERSION.tar.gz" -o tengine.tar.gz && mkdir -p /usr/src && tar -zxC /usr/src -f tengine.tar.gz && rm tengine.tar.gz && cd ../../../ && cd /usr/src/tengine-$TENGINE_VERSION && curl -L "https://github.com/openresty/headers-more-nginx-module/archive/v0.33.tar.gz" -o more.tar.gz && tar -zxC /usr/src/tengine-$TENGINE_VERSION/modules -f more.tar.gz && rm more.tar.gz && ls -l /usr/src/tengine-$TENGINE_VERSION/modules && ./configure $CONFIG --with-debug && make -j$(getconf _NPROCESSORS_ONLN) && mv objs/nginx objs/nginx-debug && mv objs/ngx_http_xslt_filter_module.so objs/ngx_http_xslt_filter_module-debug.so && mv objs/ngx_http_image_filter_module.so objs/ngx_http_image_filter_module-debug.so && mv objs/ngx_http_geoip_module.so objs/ngx_http_geoip_module-debug.so && mv objs/ngx_stream_geoip_module.so objs/ngx_stream_geoip_module-debug.so && ./configure $CONFIG && make -j$(getconf _NPROCESSORS_ONLN) && make install && rm -rf /etc/nginx/html/ && mkdir /etc/nginx/conf.d/ && mkdir -p /usr/share/nginx/html/ && install -m644 html/index.html /usr/share/nginx/html/ && install -m644 html/50x.html /usr/share/nginx/html/ && install -m755 objs/nginx-debug /usr/sbin/nginx-debug && install -m755 objs/ngx_http_xslt_filter_module-debug.so /usr/lib/nginx/modules/ngx_http_xslt_filter_module-debug.so && install -m755 objs/ngx_http_image_filter_module-debug.so /usr/lib/nginx/modules/ngx_http_image_filter_module-debug.so && install -m755 objs/ngx_http_geoip_module-debug.so /usr/lib/nginx/modules/ngx_http_geoip_module-debug.so && install -m755 objs/ngx_stream_geoip_module-debug.so /usr/lib/nginx/modules/ngx_stream_geoip_module-debug.so && ln -s ../../usr/lib/nginx/modules /etc/nginx/modules && strip /usr/sbin/nginx* && strip /usr/lib/nginx/modules/*.so && rm -rf /usr/src/tengine-$NGINX_VERSION && apk add --no-cache --virtual .gettext gettext && mv /usr/bin/envsubst /tmp/ && runDeps="$( scanelf --needed --nobanner --format '%n#p' /usr/sbin/nginx /usr/lib/nginx/modules/*.so /tmp/envsubst | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && apk add --no-cache --virtual .nginx-rundeps $runDeps && apk del .build-deps && apk del .gettext && mv /tmp/envsubst /usr/local/bin/ && rm -rf /usr/src/nginx-$NGINX_VERSION && apk add --no-cache tzdata && echo "${TZ}" > /etc/timezone && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log # buildkit
# 2022-01-14 12:37:50 0.00B 设置环境变量 TZ
ENV TZ=Asia/Shanghai
# 2022-01-14 12:37:50 0.00B 设置环境变量 CONFIG --user --group --prefix --sbin-path --modules-path --conf-path --lock-path --pid-path --error-log-path --http-log-path --http-client-body-temp-path --http-proxy-temp-path --http-fastcgi-temp-path --http-uwsgi-temp-path --http-scgi-temp-path --with-http_xslt_module --with-stream_geoip_module --with-http_image_filter_module --with-http_geoip_module --add-module --add-module --add-module --add-module
ENV CONFIG= --user=nginx --group=nginx --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-http_ssl_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_addition_module --with-http_dav_module --with-http_realip_module --with-http_v2_module --with-http_stub_status_module --with-http_sub_module --with-http_xslt_module=dynamic --with-http_flv_module --with-http_mp4_module --with-http_degradation_module --with-http_random_index_module --with-http_secure_link_module --with-http_auth_request_module --with-file-aio --with-mail --with-mail_ssl_module --with-compat --with-pcre --with-pcre-jit --with-threads --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --add-module=modules/ngx_http_upstream_check_module --add-module=modules/ngx_http_upstream_session_sticky_module --add-module=modules/ngx_http_upstream_consistent_hash_module --add-module=modules/headers-more-nginx-module-0.33
# 2022-01-14 12:37:50 0.00B 设置环境变量 TENGINE_VERSION
ENV TENGINE_VERSION=2.3.3
# 2022-01-14 12:37:50 0.00B 添加元数据标签
LABEL maintainer=wangkun_king@live.com
# 2021-11-13 00:39:58 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2021-11-13 00:39:58 5.35MB
/bin/sh -c #(nop) ADD file:400c0466b29ccad54e0f6c0acef22542992828678c96693ef1f9f4d0551935d8 in /
镜像信息
{
"Id": "sha256:6ce65e2a95c431564ba7bd7232e384b6c011ab2c38fe8bba8e1477ee25969f75",
"RepoTags": [
"initobject/tengine:alphine-3.14",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/initobject/tengine:alphine-3.14-linuxarm64"
],
"RepoDigests": [
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/initobject/tengine@sha256:6f1d1f3b6ffbe02420ba85bf17132d5530cf8162b9d37a1db906b1aabf3f1c7a"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2022-01-14T04:37:50.29118834Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TENGINE_VERSION=2.3.3",
"CONFIG= --user=nginx --group=nginx --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-http_ssl_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_addition_module --with-http_dav_module --with-http_realip_module --with-http_v2_module --with-http_stub_status_module --with-http_sub_module --with-http_xslt_module=dynamic --with-http_flv_module --with-http_mp4_module --with-http_degradation_module --with-http_random_index_module --with-http_secure_link_module --with-http_auth_request_module --with-file-aio --with-mail --with-mail_ssl_module --with-compat --with-pcre --with-pcre-jit --with-threads --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --add-module=modules/ngx_http_upstream_check_module --add-module=modules/ngx_http_upstream_session_sticky_module --add-module=modules/ngx_http_upstream_consistent_hash_module --add-module=modules/headers-more-nginx-module-0.33 ",
"TZ=Asia/Shanghai"
],
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"maintainer": "wangkun_king@live.com"
}
},
"Architecture": "arm64",
"Os": "linux",
"Size": 68091938,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/8442002fb9a461e712dbb4b07451a1b36ef792d4f3c852e996f4885c1606e5fb/diff",
"MergedDir": "/var/lib/docker/overlay2/d033e92eb05aa354dd7e1ef61a9c46c0b78bfe7564a1ebd07fe9e8045c50bf2f/merged",
"UpperDir": "/var/lib/docker/overlay2/d033e92eb05aa354dd7e1ef61a9c46c0b78bfe7564a1ebd07fe9e8045c50bf2f/diff",
"WorkDir": "/var/lib/docker/overlay2/d033e92eb05aa354dd7e1ef61a9c46c0b78bfe7564a1ebd07fe9e8045c50bf2f/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:62170e181a92ced0deb88df006382d43977c9fc1ee8463603224492435f72735",
"sha256:cf193d4339123e8bde4b4107dcbdc29ed9d48f1dfbe7a25de458528da6ad8287"
]
},
"Metadata": {
"LastTagTime": "2026-01-09T11:35:43.537289911+08:00"
}
}