镜像构建历史
# 2025-06-07 02:36:44 0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
# 2025-06-07 02:36:44 0.00B 设置默认要执行的命令
CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]
# 2025-06-07 02:36:44 1.59KB 复制新文件或目录到容器中
COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf # buildkit
# 2025-06-07 02:36:44 3.02KB 复制新文件或目录到容器中
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit
# 2025-06-07 02:36:44 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
# 2025-06-07 02:36:44 98.39MB 执行命令并创建新的镜像层
RUN |20 RESTY_IMAGE_BASE=alpine RESTY_IMAGE_TAG=3.20.6 RESTY_VERSION=1.25.3.2 RESTY_OPENSSL_VERSION=1.1.1w RESTY_OPENSSL_PATCH_VERSION=1.1.1f RESTY_OPENSSL_URL_BASE=https://www.openssl.org/source/old/1.1.1 RESTY_PCRE_VERSION=8.45 RESTY_PCRE_BUILD_OPTIONS=--enable-jit RESTY_PCRE_SHA256=4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09 RESTY_J=1 RESTY_CONFIG_OPTIONS= --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads RESTY_CONFIG_OPTIONS_MORE= RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' RESTY_PCRE_OPTIONS=--with-pcre-jit RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= RESTY_EVAL_PRE_CONFIGURE= RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE= RESTY_EVAL_POST_MAKE= _RESTY_CONFIG_DEPS=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --with-ld-opt='-L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' /bin/sh -c apk add --no-cache --virtual .build-deps build-base coreutils curl gd-dev geoip-dev libxslt-dev linux-headers make perl-dev readline-dev zlib-dev ${RESTY_ADD_PACKAGE_BUILDDEPS} && apk add --no-cache gd geoip libgcc libxslt tzdata zlib ${RESTY_ADD_PACKAGE_RUNDEPS} && cd /tmp && if [ -n "${RESTY_EVAL_PRE_CONFIGURE}" ]; then eval $(echo ${RESTY_EVAL_PRE_CONFIGURE}); fi && cd /tmp && curl -fSL "${RESTY_OPENSSL_URL_BASE}/openssl-${RESTY_OPENSSL_VERSION}.tar.gz" -o openssl-${RESTY_OPENSSL_VERSION}.tar.gz && tar xzf openssl-${RESTY_OPENSSL_VERSION}.tar.gz && cd openssl-${RESTY_OPENSSL_VERSION} && if [ $(echo ${RESTY_OPENSSL_VERSION} | cut -c 1-5) = "1.1.1" ] ; then echo 'patching OpenSSL 1.1.1 for OpenResty' && curl -s https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch | patch -p1 ; fi && if [ $(echo ${RESTY_OPENSSL_VERSION} | cut -c 1-5) = "1.1.0" ] ; then echo 'patching OpenSSL 1.1.0 for OpenResty' && curl -s https://raw.githubusercontent.com/openresty/openresty/ed328977028c3ec3033bc25873ee360056e247cd/patches/openssl-1.1.0j-parallel_build_fix.patch | patch -p1 && curl -s https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch | patch -p1 ; fi && ./config no-threads shared zlib -g enable-ssl3 enable-ssl3-method --prefix=/usr/local/openresty/openssl --libdir=lib -Wl,-rpath,/usr/local/openresty/openssl/lib && make -j${RESTY_J} && make -j${RESTY_J} install_sw && cd /tmp && curl -fSL https://downloads.sourceforge.net/project/pcre/pcre/${RESTY_PCRE_VERSION}/pcre-${RESTY_PCRE_VERSION}.tar.gz -o pcre-${RESTY_PCRE_VERSION}.tar.gz && echo "${RESTY_PCRE_SHA256} pcre-${RESTY_PCRE_VERSION}.tar.gz" | shasum -a 256 --check && tar xzf pcre-${RESTY_PCRE_VERSION}.tar.gz && cd /tmp/pcre-${RESTY_PCRE_VERSION} && ./configure --prefix=/usr/local/openresty/pcre --disable-cpp --enable-utf --enable-unicode-properties ${RESTY_PCRE_BUILD_OPTIONS} && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp && curl -fSL https://openresty.org/download/openresty-${RESTY_VERSION}.tar.gz -o openresty-${RESTY_VERSION}.tar.gz && tar xzf openresty-${RESTY_VERSION}.tar.gz && cd /tmp/openresty-${RESTY_VERSION} && if [ -n "${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}" ]; then eval $(echo ${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}); fi && eval ./configure -j${RESTY_J} ${_RESTY_CONFIG_DEPS} ${RESTY_CONFIG_OPTIONS} ${RESTY_CONFIG_OPTIONS_MORE} ${RESTY_LUAJIT_OPTIONS} ${RESTY_PCRE_OPTIONS} && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp && if [ -n "${RESTY_EVAL_POST_MAKE}" ]; then eval $(echo ${RESTY_EVAL_POST_MAKE}); fi && rm -rf openssl-${RESTY_OPENSSL_VERSION}.tar.gz openssl-${RESTY_OPENSSL_VERSION} pcre-${RESTY_PCRE_VERSION}.tar.gz pcre-${RESTY_PCRE_VERSION} openresty-${RESTY_VERSION}.tar.gz openresty-${RESTY_VERSION} && apk del .build-deps && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log # buildkit
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_pcre_options=--with-pcre-jit
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_luajit_options=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_eval_post_make=
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_eval_post_download_pre_configure=
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_eval_pre_configure=
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_add_package_rundeps=
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_add_package_builddeps=
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_config_deps=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --with-ld-opt='-L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib'
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_config_options_more=
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_config_options= --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_pcre_sha256=4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_pcre_build_options=--enable-jit
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_pcre_version=8.45
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_openssl_url_base=https://www.openssl.org/source/old/1.1.1
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_openssl_patch_version=1.1.1f
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_openssl_version=1.1.1w
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_version=1.25.3.2
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_image_tag=3.20.6
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL resty_image_base=alpine
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG _RESTY_CONFIG_DEPS=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --with-ld-opt='-L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib'
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_EVAL_POST_MAKE=
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE=
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_EVAL_PRE_CONFIGURE=
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_RUNDEPS=
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_BUILDDEPS=
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_PCRE_OPTIONS=--with-pcre-jit
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_CONFIG_OPTIONS_MORE=
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_CONFIG_OPTIONS= --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_J=1
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_PCRE_SHA256=4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_PCRE_BUILD_OPTIONS=--enable-jit
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_PCRE_VERSION=8.45
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_OPENSSL_URL_BASE=https://www.openssl.org/source/old/1.1.1
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_OPENSSL_PATCH_VERSION=1.1.1f
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_OPENSSL_VERSION=1.1.1w
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_VERSION=1.25.3.2
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_IMAGE_TAG=3.20.6
# 2025-06-07 02:36:44 0.00B 定义构建参数
ARG RESTY_IMAGE_BASE=alpine
# 2025-06-07 02:36:44 0.00B 添加元数据标签
LABEL maintainer=Evan Wies <evan@neomantra.net>
# 2025-02-14 11:00:07 0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
# 2025-02-14 11:00:07 7.80MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit
镜像信息
{
"Id": "sha256:b085d6d40c8a232491cf9ca68ec1d625c053175db9a09df24b8d14ac7072eb11",
"RepoTags": [
"openresty/openresty:1.25.3.2-5-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.25.3.2-5-alpine"
],
"RepoDigests": [
"openresty/openresty@sha256:1373cf686cc27371476c3879e2e1fa089f2171887ed0e9d4bf3dc72e3d18bb93",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty@sha256:6368653467f5435123a4e5e36a5a735f0311509eabc84d7f2232792eb17bf8cc"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-06-06T18:36:44.109160835Z",
"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:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin"
],
"Cmd": [
"/usr/local/openresty/bin/openresty",
"-g",
"daemon off;"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"maintainer": "Evan Wies \u003cevan@neomantra.net\u003e",
"resty_add_package_builddeps": "",
"resty_add_package_rundeps": "",
"resty_config_deps": "--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --with-ld-opt='-L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' ",
"resty_config_options": " --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads ",
"resty_config_options_more": "",
"resty_eval_post_download_pre_configure": "",
"resty_eval_post_make": "",
"resty_eval_pre_configure": "",
"resty_image_base": "alpine",
"resty_image_tag": "3.20.6",
"resty_luajit_options": "--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'",
"resty_openssl_patch_version": "1.1.1f",
"resty_openssl_url_base": "https://www.openssl.org/source/old/1.1.1",
"resty_openssl_version": "1.1.1w",
"resty_pcre_build_options": "--enable-jit",
"resty_pcre_options": "--with-pcre-jit",
"resty_pcre_sha256": "4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09",
"resty_pcre_version": "8.45",
"resty_version": "1.25.3.2"
},
"StopSignal": "SIGQUIT"
},
"Architecture": "amd64",
"Os": "linux",
"Size": 106196196,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/e0235b4e1721b448f107d9bcae7b8ed3db3e6a79cd69aa06c8d77cd0338cfec7/diff:/var/lib/docker/overlay2/66d46843759432e426b9ae2e9a59e43d8c5023802af37e8334f5f269b895eb1f/diff:/var/lib/docker/overlay2/7f03e70b38f8e47bcd2d2fa75d1877b370635951af939c24e1cbcf699904ff4a/diff",
"MergedDir": "/var/lib/docker/overlay2/52dd66ffd42b25c47ccb671dd71e68da605301f45010e24fb8016086a656df3d/merged",
"UpperDir": "/var/lib/docker/overlay2/52dd66ffd42b25c47ccb671dd71e68da605301f45010e24fb8016086a656df3d/diff",
"WorkDir": "/var/lib/docker/overlay2/52dd66ffd42b25c47ccb671dd71e68da605301f45010e24fb8016086a656df3d/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:994456c4fd7b2b87346a81961efb4ce945a39592d32e0762b38768bca7c7d085",
"sha256:2075bed7a90124df79fbb443b971677f515ad48a6a9a7962137d311521e659e0",
"sha256:0ff37eccb9cf1e3334f11171003dbc302a38c8f472c0aad79618e737fcebf0da",
"sha256:c5f544aa3ab1062f691c31726492e72d31a9abd418c5aa75675bbf95e72164dc"
]
},
"Metadata": {
"LastTagTime": "2025-07-27T12:07:12.280794689+08:00"
}
}