镜像构建历史
# 2026-10-27 18:20:51 0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
# 2026-10-27 18:20:51 0.00B 设置默认要执行的命令
CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]
# 2026-10-27 18:20:51 0.00B 执行命令并创建新的镜像层
RUN |31 RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=noble RESTY_VERSION=1.31.8.1 RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4 RESTY_OPENSSL_VERSION=3.5.9 RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a RESTY_OPENSSL_PATCH_VERSION=3.5.5 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9 RESTY_OPENSSL_BUILD_OPTIONS=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips RESTY_PCRE_VERSION=10.49 RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae RESTY_PCRE_BUILD_OPTIONS=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind RESTY_LUAROCKS_VERSION=3.13.0 RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37 RESTY_J=4 RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= CONTAINER_PACKAGE_URL= NGX_BROTLI_REV=53e0fb55f250f48fe80c0ddbf6c0f7103cdbaae1 NGX_BROTLI_SHA256=27a4352dae4ba4922f9f013f3f0d02359aceeef2701872efa42849c3ba05457a BROTLI_REV=db24a98aed38a16de78cc05ca15cdd8dc2a0d92d BROTLI_SHA256=113b9685dfc14dd2f3360d077283266eec2fbdfb0fe3e5600f11be151da0d68e RESTY_CONFIG_OPTIONS= --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --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-stream_ssl_preread_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_EVAL_PRE_CONFIGURE= RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE= RESTY_EVAL_PRE_MAKE= RESTY_EVAL_POST_MAKE= _RESTY_CONFIG_DEPS=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib' /bin/bash -o pipefail -c if [ -f /tmp/default.sh ]; then cd /tmp && bash -e /tmp/default.sh; fi # buildkit
# 2026-10-27 18:20:51 28.05KB 复制新文件或目录到容器中
COPY /tmp/luafilesystem-1_8_0/src/lfs.so /usr/local/openresty/luajit/lib/lua/5.1/lfs.so # buildkit
# 2026-10-27 18:20:51 62.22KB 复制新文件或目录到容器中
COPY /tmp/lsqlite3/lsqlite3.so /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so # buildkit
# 2026-10-27 18:20:51 522.42KB 复制新文件或目录到容器中
COPY /tmp/libinjection.so /usr/local/openresty/1pwaf/libraries/libinjection.so # buildkit
# 2026-10-27 18:20:51 84.33KB 复制新文件或目录到容器中
COPY /usr/local/lib/libmaxminddb.so.0.0.7 /usr/local/openresty/1pwaf/libraries/libmaxminddb.so # buildkit
# 2026-10-27 18:20:51 524.00B 复制新文件或目录到容器中
COPY /tmp/1pwaf/data/default/index.html /usr/local/openresty/nginx/html/index.html # buildkit
# 2026-10-27 18:20:51 21.06MB 复制新文件或目录到容器中
COPY /tmp/1pwaf /usr/local/openresty/1pwaf # buildkit
# 2026-10-27 16:36:28 0.00B 设置环境变量 WAF_PATH
ENV WAF_PATH=/usr/local/openresty/1pwaf
# 2026-10-27 16:36:28 1.32KB 复制新文件或目录到容器中
COPY docker/COPYRIGHT.docker-openresty /usr/local/openresty/COPYRIGHT.docker-openresty # buildkit
# 2026-10-27 16:36:28 281.00B 复制新文件或目录到容器中
COPY docker/default.conf /etc/nginx/conf.d/default.conf # buildkit
# 2026-10-27 16:36:28 584.00B 复制新文件或目录到容器中
COPY docker/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit
# 2026-10-27 16:36:28 0.00B 设置环境变量 LUA_CPATH
ENV LUA_CPATH=/usr/local/openresty/site/lualib/?.so;/usr/local/openresty/lualib/?.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so;;
# 2026-10-27 16:36:28 0.00B 设置环境变量 LUA_PATH
ENV LUA_PATH=/usr/local/openresty/site/lualib/?.lua;/usr/local/openresty/site/lualib/?/init.lua;/usr/local/openresty/lualib/?.lua;/usr/local/openresty/lualib/?/init.lua;;
# 2026-10-27 16:36:28 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2026-10-27 16:36:28 35.75MB 执行命令并创建新的镜像层
RUN |31 RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=noble RESTY_VERSION=1.31.8.1 RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4 RESTY_OPENSSL_VERSION=3.5.9 RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a RESTY_OPENSSL_PATCH_VERSION=3.5.5 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9 RESTY_OPENSSL_BUILD_OPTIONS=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips RESTY_PCRE_VERSION=10.49 RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae RESTY_PCRE_BUILD_OPTIONS=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind RESTY_LUAROCKS_VERSION=3.13.0 RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37 RESTY_J=4 RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= CONTAINER_PACKAGE_URL= NGX_BROTLI_REV=53e0fb55f250f48fe80c0ddbf6c0f7103cdbaae1 NGX_BROTLI_SHA256=27a4352dae4ba4922f9f013f3f0d02359aceeef2701872efa42849c3ba05457a BROTLI_REV=db24a98aed38a16de78cc05ca15cdd8dc2a0d92d BROTLI_SHA256=113b9685dfc14dd2f3360d077283266eec2fbdfb0fe3e5600f11be151da0d68e RESTY_CONFIG_OPTIONS= --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --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-stream_ssl_preread_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_EVAL_PRE_CONFIGURE= RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE= RESTY_EVAL_PRE_MAKE= RESTY_EVAL_POST_MAKE= _RESTY_CONFIG_DEPS=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib' /bin/bash -o pipefail -c set -eu; cd /tmp; if [ -f /tmp/pre.sh ]; then apt-get update; bash -e /tmp/pre.sh; rm -rf /var/lib/apt/lists/*; fi; if [ -n "${RESTY_EVAL_PRE_CONFIGURE}" ]; then eval "${RESTY_EVAL_PRE_CONFIGURE}"; fi; cd /tmp; tar xzf "openresty-${RESTY_VERSION}.tar.gz"; cd "openresty-${RESTY_VERSION}"; if [ -n "${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}" ]; then eval "${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}; if [ -n "${RESTY_EVAL_PRE_MAKE}" ]; then eval "${RESTY_EVAL_PRE_MAKE}"; fi; make -j${RESTY_J}; make install; cd /tmp; tar xzf "luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz"; cd "luarocks-${RESTY_LUAROCKS_VERSION}"; ./configure --prefix=/usr/local/openresty/luajit --with-lua=/usr/local/openresty/luajit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1; make build; make install; cd /tmp; if [ -n "${RESTY_EVAL_POST_MAKE}" ]; then eval "${RESTY_EVAL_POST_MAKE}"; fi; rm -rf "openresty-${RESTY_VERSION}" "openresty-${RESTY_VERSION}.tar.gz" "luarocks-${RESTY_LUAROCKS_VERSION}" "luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz"; mkdir -p /var/run/openresty /etc/nginx/conf.d; ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log; ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log # buildkit
# 2026-10-27 16:34:27 0.00B 添加元数据标签
LABEL resty_image_base=ubuntu resty_image_tag=noble resty_version=1.31.8.1 resty_openssl_version=3.5.9 resty_openssl_patch_version=3.5.5 resty_openssl_build_options=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips resty_pcre_version=10.49 resty_pcre_build_options=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind resty_pcre_sha256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae resty_luarocks_version=3.13.0 resty_config_options= --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --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-stream_ssl_preread_module --with-threads resty_config_options_more= resty_config_deps=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib' resty_luajit_options=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' resty_pcre_options=--with-pcre-jit
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG _RESTY_CONFIG_DEPS=--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib'
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_EVAL_POST_MAKE=
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_EVAL_PRE_MAKE=
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE=
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_EVAL_PRE_CONFIGURE=
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_PCRE_OPTIONS=--with-pcre-jit
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_CONFIG_OPTIONS_MORE=
# 2026-10-27 16:34:27 0.00B 定义构建参数
ARG RESTY_CONFIG_OPTIONS= --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --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-stream_ssl_preread_module --with-threads
# 2026-10-27 16:34:27 6.55MB 执行命令并创建新的镜像层
RUN |22 RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=noble RESTY_VERSION=1.31.8.1 RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4 RESTY_OPENSSL_VERSION=3.5.9 RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a RESTY_OPENSSL_PATCH_VERSION=3.5.5 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9 RESTY_OPENSSL_BUILD_OPTIONS=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips RESTY_PCRE_VERSION=10.49 RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae RESTY_PCRE_BUILD_OPTIONS=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind RESTY_LUAROCKS_VERSION=3.13.0 RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37 RESTY_J=4 RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= CONTAINER_PACKAGE_URL= NGX_BROTLI_REV=53e0fb55f250f48fe80c0ddbf6c0f7103cdbaae1 NGX_BROTLI_SHA256=27a4352dae4ba4922f9f013f3f0d02359aceeef2701872efa42849c3ba05457a BROTLI_REV=db24a98aed38a16de78cc05ca15cdd8dc2a0d92d BROTLI_SHA256=113b9685dfc14dd2f3360d077283266eec2fbdfb0fe3e5600f11be151da0d68e /bin/bash -o pipefail -c set -eu; cd /tmp; for component in ngx_brotli brotli; do if [ "$component" = ngx_brotli ]; then rev=$NGX_BROTLI_REV; sha=$NGX_BROTLI_SHA256; else rev=$BROTLI_REV; sha=$BROTLI_SHA256; fi; archive="$component-$rev.tar.gz"; if [ ! -f "$archive" ]; then curl -fSL --retry 3 "https://codeload.github.com/google/$component/tar.gz/$rev" -o "$archive"; fi; printf '%s %s\n' "$sha" "$archive" | sha256sum --check -; tar xzf "$archive"; rm "$archive"; done; mkdir -p /usr/local/openresty/modules; mv "ngx_brotli-$NGX_BROTLI_REV" /usr/local/openresty/modules/ngx_brotli; rmdir /usr/local/openresty/modules/ngx_brotli/deps/brotli; mv "brotli-$BROTLI_REV" /usr/local/openresty/modules/ngx_brotli/deps/brotli; cd /usr/local/openresty/modules/ngx_brotli; cmake -S deps/brotli -B deps/brotli/out -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON; cmake --build deps/brotli/out -j${RESTY_J} # buildkit
# 2026-10-27 16:34:12 0.00B 定义构建参数
ARG BROTLI_SHA256=113b9685dfc14dd2f3360d077283266eec2fbdfb0fe3e5600f11be151da0d68e
# 2026-10-27 16:34:12 0.00B 定义构建参数
ARG BROTLI_REV=db24a98aed38a16de78cc05ca15cdd8dc2a0d92d
# 2026-10-27 16:34:12 0.00B 定义构建参数
ARG NGX_BROTLI_SHA256=27a4352dae4ba4922f9f013f3f0d02359aceeef2701872efa42849c3ba05457a
# 2026-10-27 16:34:12 0.00B 定义构建参数
ARG NGX_BROTLI_REV=53e0fb55f250f48fe80c0ddbf6c0f7103cdbaae1
# 2026-10-27 16:34:12 105.06MB 执行命令并创建新的镜像层
RUN |18 RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=noble RESTY_VERSION=1.31.8.1 RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4 RESTY_OPENSSL_VERSION=3.5.9 RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a RESTY_OPENSSL_PATCH_VERSION=3.5.5 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9 RESTY_OPENSSL_BUILD_OPTIONS=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips RESTY_PCRE_VERSION=10.49 RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae RESTY_PCRE_BUILD_OPTIONS=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind RESTY_LUAROCKS_VERSION=3.13.0 RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37 RESTY_J=4 RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= CONTAINER_PACKAGE_URL= /bin/bash -o pipefail -c set -eu; cd /tmp; fetch() { if [ ! -f "$1" ]; then curl -fSL --retry 3 "$2" -o "$1"; fi; printf '%s %s\n' "$3" "$1" | sha256sum --check -; }; fetch "openresty-${RESTY_VERSION}.tar.gz" "https://openresty.org/download/openresty-${RESTY_VERSION}.tar.gz" "${RESTY_SHA256}"; fetch "openssl-${RESTY_OPENSSL_VERSION}.tar.gz" "${RESTY_OPENSSL_URL_BASE}/openssl-${RESTY_OPENSSL_VERSION}.tar.gz" "${RESTY_OPENSSL_SHA256}"; fetch "pcre2-${RESTY_PCRE_VERSION}.tar.gz" "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${RESTY_PCRE_VERSION}/pcre2-${RESTY_PCRE_VERSION}.tar.gz" "${RESTY_PCRE_SHA256}"; fetch "luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz" "https://luarocks.github.io/luarocks/releases/luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz" "${RESTY_LUAROCKS_SHA256}"; tar xzf "openssl-${RESTY_OPENSSL_VERSION}.tar.gz"; cd "openssl-${RESTY_OPENSSL_VERSION}"; tar -xOf "../openresty-${RESTY_VERSION}.tar.gz" "openresty-${RESTY_VERSION}/patches/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch" | patch -p1; ./config shared zlib -g --prefix=/usr/local/openresty/openssl3 --libdir=lib -Wl,-rpath,/usr/local/openresty/openssl3/lib ${RESTY_OPENSSL_BUILD_OPTIONS}; make -j${RESTY_J}; make install_sw; cd /tmp; tar xzf "pcre2-${RESTY_PCRE_VERSION}.tar.gz"; cd "pcre2-${RESTY_PCRE_VERSION}"; CFLAGS="-g -O3" ./configure --prefix=/usr/local/openresty/pcre2 --libdir=/usr/local/openresty/pcre2/lib ${RESTY_PCRE_BUILD_OPTIONS}; make -j${RESTY_J}; make install; cd /tmp; rm -rf "openssl-${RESTY_OPENSSL_VERSION}" "openssl-${RESTY_OPENSSL_VERSION}.tar.gz" "pcre2-${RESTY_PCRE_VERSION}" "pcre2-${RESTY_PCRE_VERSION}.tar.gz" # buildkit
# 2026-10-27 16:26:01 0.00B 复制新文件或目录到容器中
COPY tmp/ /tmp/ # buildkit
# 2026-10-27 16:26:01 603.79MB 执行命令并创建新的镜像层
RUN |18 RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=noble RESTY_VERSION=1.31.8.1 RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4 RESTY_OPENSSL_VERSION=3.5.9 RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a RESTY_OPENSSL_PATCH_VERSION=3.5.5 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9 RESTY_OPENSSL_BUILD_OPTIONS=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips RESTY_PCRE_VERSION=10.49 RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae RESTY_PCRE_BUILD_OPTIONS=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind RESTY_LUAROCKS_VERSION=3.13.0 RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37 RESTY_J=4 RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= CONTAINER_PACKAGE_URL= /bin/bash -o pipefail -c set -eu; if [ -n "${CONTAINER_PACKAGE_URL}" ]; then for source in /etc/apt/sources.list /etc/apt/sources.list.d/ubuntu.sources; do if [ -f "$source" ]; then sed -i -e "s|http://archive.ubuntu.com/ubuntu/|${CONTAINER_PACKAGE_URL%/}/|g" -e "s|http://security.ubuntu.com/ubuntu/|${CONTAINER_PACKAGE_URL%/}/|g" -e "s|http://ports.ubuntu.com/ubuntu-ports/|${CONTAINER_PACKAGE_URL%/}/|g" "$source"; fi; done; fi; apt-get update; apt-get install -y --no-install-recommends build-essential ca-certificates cmake curl gettext-base git libgd-dev libgeoip-dev libncurses-dev libperl-dev libreadline-dev libsqlite3-dev libxslt1-dev patch perl python3 unzip wget zlib1g-dev ${RESTY_ADD_PACKAGE_BUILDDEPS} ${RESTY_ADD_PACKAGE_RUNDEPS}; rm -rf /var/lib/apt/lists/* # buildkit
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG CONTAINER_PACKAGE_URL=
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_RUNDEPS=
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_BUILDDEPS=
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_J=4
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_LUAROCKS_VERSION=3.13.0
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_PCRE_BUILD_OPTIONS=--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_PCRE_VERSION=10.49
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_OPENSSL_BUILD_OPTIONS=enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_OPENSSL_PATCH_VERSION=3.5.5
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_OPENSSL_VERSION=3.5.9
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_VERSION=1.31.8.1
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_IMAGE_TAG=noble
# 2026-10-27 16:26:01 0.00B 定义构建参数
ARG RESTY_IMAGE_BASE=ubuntu
# 2026-10-27 16:26:01 0.00B
SHELL [/bin/bash -o pipefail -c]
# 2026-10-25 22:17:47 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2026-10-25 22:17:47 78.18MB
/bin/sh -c #(nop) ADD file:eed88e94d6aa7c9da62836e137f889e03988c1a6b237b0cedb6ca666dfaa98ea in /
# 2026-10-25 22:17:45 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
# 2026-10-25 22:17:45 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2026-10-25 22:17:45 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:02deea585e2032ea16d2cc3caa6c7023bdfe79bc48618751d51b01c625d066b6",
"RepoTags": [
"1panel/openresty:1.31.8.1-2-1-noble",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/1panel/openresty:1.31.8.1-2-1-noble"
],
"RepoDigests": [
"1panel/openresty@sha256:41e0e0a1922ada143b29c0a9643ac5309567f9d48b9b1e676953adfc96dd0345",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/1panel/openresty@sha256:3ae2dec56c494872fe9d29f844741e15106bcc3bde8597cde81df7c887528e08"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-10-27T10:20:51.49490632Z",
"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/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LUA_PATH=/usr/local/openresty/site/lualib/?.lua;/usr/local/openresty/site/lualib/?/init.lua;/usr/local/openresty/lualib/?.lua;/usr/local/openresty/lualib/?/init.lua;;",
"LUA_CPATH=/usr/local/openresty/site/lualib/?.so;/usr/local/openresty/lualib/?.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so;;",
"WAF_PATH=/usr/local/openresty/1pwaf"
],
"Cmd": [
"/usr/local/openresty/bin/openresty",
"-g",
"daemon off;"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.opencontainers.image.version": "1.31.8.1-2-1-noble",
"resty_config_deps": "--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib'",
"resty_config_options": " --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --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-stream_ssl_preread_module --with-threads",
"resty_config_options_more": "",
"resty_image_base": "ubuntu",
"resty_image_tag": "noble",
"resty_luajit_options": "--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'",
"resty_luarocks_version": "3.13.0",
"resty_openssl_build_options": "enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-ktls enable-fips",
"resty_openssl_patch_version": "3.5.5",
"resty_openssl_version": "3.5.9",
"resty_pcre_build_options": "--enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind",
"resty_pcre_options": "--with-pcre-jit",
"resty_pcre_sha256": "929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae",
"resty_pcre_version": "10.49",
"resty_version": "1.31.8.1"
},
"StopSignal": "SIGQUIT",
"Shell": [
"/bin/bash",
"-o",
"pipefail",
"-c"
]
},
"Architecture": "amd64",
"Os": "linux",
"Size": 851090156,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/39646920d6e4dd0d2ea82d78d04a822dc742edb34f88137ce8765d9f29cccee3/diff:/var/lib/docker/overlay2/ffd9b049156b79ecd10990b62485713473277b50d316ff5ca0ca283952fac175/diff:/var/lib/docker/overlay2/6fdec3123b5c5b729686a235843ed2d20a622c842582569fa9ad8204d1bf4505/diff:/var/lib/docker/overlay2/abf9c2381860103d4d4fa1177c33a3313f44f71c931a196e5824aba06cbc8085/diff:/var/lib/docker/overlay2/6abd4c3d7f334c233dfc4e0581d711b71e695aae058770b50f746ffe53d75675/diff:/var/lib/docker/overlay2/eb7f009ddcf9c1646b7c3e2aae727461d33c0843b0e71e6668b3fcfba5da6bfa/diff:/var/lib/docker/overlay2/1fc69a0774bb18c33ed4c0ffd245ea2747ac23a88df66e0c3bba8117472b60d6/diff:/var/lib/docker/overlay2/69f76730c193b7af98c6e516b69f7507fe08e02cd69f5ce852501a964c678675/diff:/var/lib/docker/overlay2/68f116dcf5479673389e8b6d2a8b0ab3c580b490cc9207a3bab762ac478746c9/diff:/var/lib/docker/overlay2/4ceed32e7cfd6f08da9367a670c6c149a8a77393962ea1ab3f016878948993dc/diff:/var/lib/docker/overlay2/4c7eba878e895708d1794b1eeab9f0c5459d974e40614589286e21dac4a983ea/diff:/var/lib/docker/overlay2/74fa84e42936458e0002becdd5426f63560af3272926cbfc913042dacc3b17ac/diff:/var/lib/docker/overlay2/215fbe06e7186c7f401df4738b06352f8037ed0d11cda21bb1aa9a36570a0d76/diff:/var/lib/docker/overlay2/f69a4a9a2014b316520757983a46f3a3a358a315db4604b29035f5bcb715d242/diff:/var/lib/docker/overlay2/ce99c8630b9b9d3831cccc7886dc43938bc83aa720e346a9f482ab9b2aaa746a/diff",
"MergedDir": "/var/lib/docker/overlay2/1f959d4b34d94549cb49f33c9fd5462596ae46dc4f0017377135c2de1795fb90/merged",
"UpperDir": "/var/lib/docker/overlay2/1f959d4b34d94549cb49f33c9fd5462596ae46dc4f0017377135c2de1795fb90/diff",
"WorkDir": "/var/lib/docker/overlay2/1f959d4b34d94549cb49f33c9fd5462596ae46dc4f0017377135c2de1795fb90/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:bec87777bc2fb2edcdf9af11df1531469e7df911309c1413082b18fcb8610278",
"sha256:97fe05cf2fa2ae3be73a75a925a79e66ed725405c9596011c7d15b527b7c2717",
"sha256:f3f3b99700ff41c55c2c7772fe607fb0b3552d09ff495f985e0bb0df098a8014",
"sha256:b0d44e12ac02b729490049fd16c71b2e5e9d928e3a2ed495c9e24507744fb9d0",
"sha256:fe84dda39b9f262dec1c042b74a4f5b832f6a4b20554d572d5b5e6e79e3696dc",
"sha256:d3e2749a7e1a9f7cb6fdc4908ab9fdb3ab3e5a712543e9bd2eb8c3bcf60ab0c4",
"sha256:df7671874aa85e4a1c1bfb2a5dd9f6c91f290e11964601770df3bf2501d60abf",
"sha256:e1724dc9e1b6dfaea0045922047779755991bc384f0eeb55224c2a852219884f",
"sha256:6127d1ff68b9582223afcb0399e12e9b56e69480f6f76ad2dcaa0c66da65fd5e",
"sha256:87380104b625a4aef3f07b575dce3dc1c3a4b19f81c025cd56ce316beb03aaf1",
"sha256:517dfe7bd87ffdd2025c294c17050ac6ff5b438646c819c99ee0cffd115e7285",
"sha256:c6a10b074266925da42fe3dac878cf6df96490a01465ea22b9846473e832369b",
"sha256:e0fc2bb98a454fdcaf896d5364556dd0271ef9e2e980388b36680cde4e769be0",
"sha256:b575bc2d66e579ce56746be2a46bf72105c25bf89258ee321a82e0f29cc3ba9f",
"sha256:2ece3aa4f84cdad0bbc4b143bb0e27598a025656feb2cfa412797c0c3a12d5f8",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "2026-10-30T11:23:24.01847713+08:00"
}
}