镜像构建历史
# 2026-11-19 09:15:42 0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
# 2026-11-19 09:15:42 0.00B 设置默认要执行的命令
CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]
# 2026-11-19 09:15:42 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-11-19 09:15:42 28.05KB 复制新文件或目录到容器中
COPY /tmp/luafilesystem-1_8_0/src/lfs.so /usr/local/openresty/luajit/lib/lua/5.1/lfs.so # buildkit
# 2026-11-19 09:15:42 62.22KB 复制新文件或目录到容器中
COPY /tmp/lsqlite3/lsqlite3.so /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so # buildkit
# 2026-11-19 09:15:42 522.42KB 复制新文件或目录到容器中
COPY /tmp/libinjection.so /usr/local/openresty/1pwaf/libraries/libinjection.so # buildkit
# 2026-11-19 09:15:42 84.33KB 复制新文件或目录到容器中
COPY /usr/local/lib/libmaxminddb.so.0.0.7 /usr/local/openresty/1pwaf/libraries/libmaxminddb.so # buildkit
# 2026-11-19 09:15:42 524.00B 复制新文件或目录到容器中
COPY /tmp/1pwaf/data/default/index.html /usr/local/openresty/nginx/html/index.html # buildkit
# 2026-11-19 09:15:42 21.06MB 复制新文件或目录到容器中
COPY /tmp/1pwaf /usr/local/openresty/1pwaf # buildkit
# 2026-11-19 09:15:34 0.00B 设置环境变量 WAF_PATH
ENV WAF_PATH=/usr/local/openresty/1pwaf
# 2026-11-19 09:15:34 1.32KB 复制新文件或目录到容器中
COPY docker/COPYRIGHT.docker-openresty /usr/local/openresty/COPYRIGHT.docker-openresty # buildkit
# 2026-11-19 09:15:34 281.00B 复制新文件或目录到容器中
COPY docker/default.conf /etc/nginx/conf.d/default.conf # buildkit
# 2026-11-19 09:15:34 584.00B 复制新文件或目录到容器中
COPY docker/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit
# 2026-11-19 09:15:34 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-11-19 09:15:34 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-11-19 09:15:34 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-11-19 09:15:34 35.76MB 执行命令并创建新的镜像层
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}"; patch_file=/usr/local/openresty/patches/nginx-1.31.8-security-20261118.patch; echo "740316cc5e82b42ec85537dcbb158cd75a440ac2860e5ed7f73d864d0074c160 $patch_file" | sha256sum -c -; git -C bundle/nginx-1.31.8 apply "$patch_file"; if [ -n "${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}" ]; then eval "${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}"; fi; eval ./configure --build=1Panel-security-20261118 -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-11-19 09:13:58 28.46KB 复制新文件或目录到容器中
COPY docker/patches/nginx-1.31.8-security-20261118.patch /usr/local/openresty/patches/ # buildkit
# 2026-11-19 09:13:58 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-11-19 09:13:58 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-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_EVAL_POST_MAKE=
# 2026-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_EVAL_PRE_MAKE=
# 2026-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE=
# 2026-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_EVAL_PRE_CONFIGURE=
# 2026-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_PCRE_OPTIONS=--with-pcre-jit
# 2026-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
# 2026-11-19 09:13:58 0.00B 定义构建参数
ARG RESTY_CONFIG_OPTIONS_MORE=
# 2026-11-19 09:13:58 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-11-19 09:13:58 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-11-19 09:13:46 0.00B 定义构建参数
ARG BROTLI_SHA256=113b9685dfc14dd2f3360d077283266eec2fbdfb0fe3e5600f11be151da0d68e
# 2026-11-19 09:13:46 0.00B 定义构建参数
ARG BROTLI_REV=db24a98aed38a16de78cc05ca15cdd8dc2a0d92d
# 2026-11-19 09:13:46 0.00B 定义构建参数
ARG NGX_BROTLI_SHA256=27a4352dae4ba4922f9f013f3f0d02359aceeef2701872efa42849c3ba05457a
# 2026-11-19 09:13:46 0.00B 定义构建参数
ARG NGX_BROTLI_REV=53e0fb55f250f48fe80c0ddbf6c0f7103cdbaae1
# 2026-11-19 09:13:46 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-11-19 09:07:19 0.00B 复制新文件或目录到容器中
COPY tmp/ /tmp/ # buildkit
# 2026-11-19 09:07:19 627.05MB 执行命令并创建新的镜像层
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-11-19 09:07:19 0.00B 定义构建参数
ARG CONTAINER_PACKAGE_URL=
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_RUNDEPS=
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_BUILDDEPS=
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_J=4
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_LUAROCKS_SHA256=245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_LUAROCKS_VERSION=3.13.0
# 2026-11-19 09:07:19 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-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_PCRE_SHA256=929f0b20e62879252a15886b06c89f1edef61a363cbd5826fb041080a5e557ae
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_PCRE_VERSION=10.49
# 2026-11-19 09:07:19 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-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.9
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_OPENSSL_PATCH_VERSION=3.5.5
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_OPENSSL_SHA256=603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_OPENSSL_VERSION=3.5.9
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_SHA256=b569c63b420f80a4ac8466f2deffe73ed93ab760026532e039c3658409a997f4
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_VERSION=1.31.8.1
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_IMAGE_TAG=noble
# 2026-11-19 09:07:19 0.00B 定义构建参数
ARG RESTY_IMAGE_BASE=ubuntu
# 2026-11-19 09:07:19 0.00B
SHELL [/bin/bash -o pipefail -c]
# 2026-11-10 16:36:35 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2026-11-10 16:36:34 78.20MB
/bin/sh -c #(nop) ADD file:3c41cdb0a333e30d2a3c4a90a152da473ef44ae84245fd34a49167a6b8f26cc6 in /
# 2026-11-10 16:36:30 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
# 2026-11-10 16:36:30 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2026-11-10 16:36:30 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:0b9df65108dda8ae0c3d146a89aa3e5de53935c935dc84173d25a29b485ddb1a",
"RepoTags": [
"1panel/openresty:1.31.8.1-2-2-noble",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/1panel/openresty:1.31.8.1-2-2-noble"
],
"RepoDigests": [
"1panel/openresty@sha256:7739a748b565d94a0c4328ba8d81150e3bad7ac262a03726ad57f0b9025a144f",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/1panel/openresty@sha256:b5bbd94bad7c6f9e9eb54b0b032e405ece74d946c0251842ea1eadc1dd9d3a72"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-11-19T01:15:42.177633471Z",
"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-2-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": 874411156,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/7ccf48647878cbd3a8f4eb88fec979156e5a87053275434cf250aa5dbed90326/diff:/var/lib/docker/overlay2/a2c6677fb6eeedfe6c16fe26ccefe17cb35c1c636bd0eb487c80b981cd1208d3/diff:/var/lib/docker/overlay2/21e726a6184b2b91e9a031db539dd615c2c9579278cfe3e11a7cd14bbaf5f4db/diff:/var/lib/docker/overlay2/aea7b8817da281157ad12b4d95bff2ef8f04a770b432d86cdcd05f3b9393d1ff/diff:/var/lib/docker/overlay2/834d8e2b902d6ca0896720780ce8c05c2676b512083f90c39862298504e6b86f/diff:/var/lib/docker/overlay2/7270273f9ac812737527b70dc0153f328604eec5a8806f658c5f8732792618f6/diff:/var/lib/docker/overlay2/a40c91d17a11f7f7047974aac160a861676b1595bf14862dfe1553852f0d3080/diff:/var/lib/docker/overlay2/83c46404122b0fcbc0e57cf7fb166f8bc98eb67220942259549c27c1ff3f5c77/diff:/var/lib/docker/overlay2/ce52c44bbd780f38ef705cb8c5b17bf03f9e23dc0c43bb82ee927cbb4290b871/diff:/var/lib/docker/overlay2/aacfb2a1d09b5fb0fb7af4473e425cec91b73e866cefb83e5e639f6799175e08/diff:/var/lib/docker/overlay2/f517f7cffd415e3a94f02b69f7d75e87c01a0bc14355fcbaae2dba6891f144ee/diff:/var/lib/docker/overlay2/be7c310d72450ab5f20cdc8a0fed4a58819c2798aa61599acbabbf1157075566/diff:/var/lib/docker/overlay2/1b149d695faa3e476ce159e8de3b2b54e9940fd3106b836a23a4fbe5fa74c44e/diff:/var/lib/docker/overlay2/412d05847df881923981ee347b56a3e3593b1bc85f0822858695a0833838035d/diff:/var/lib/docker/overlay2/51bf155e3513dab40d94fc43de7f3d259e03fc5b092b328f120d036e08912c1d/diff:/var/lib/docker/overlay2/6eb4e3506b595ac762ca4c22145aa75a9d6a53366fc54ed7aba64d98747b6994/diff",
"MergedDir": "/var/lib/docker/overlay2/1d98b72047313178023dcae36d919fa3f70d25b3e4afdaf0617d42af1a428e15/merged",
"UpperDir": "/var/lib/docker/overlay2/1d98b72047313178023dcae36d919fa3f70d25b3e4afdaf0617d42af1a428e15/diff",
"WorkDir": "/var/lib/docker/overlay2/1d98b72047313178023dcae36d919fa3f70d25b3e4afdaf0617d42af1a428e15/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:21210938f5a37a9887b2d0a20428917b923a636ca6efe038c3c7d9cd9f1f9b61",
"sha256:433cae98b43aceff1e002b86ad0423ae3a411b12fd55e0cfe142107163fadb4b",
"sha256:b6dd67c3bbba32665404367544c09d60e6e6da08c3dcb8a3eaad5ae068287776",
"sha256:5ef4adc2a72b776bc18f50c9ed82dd8cfc62583ab87644d1448e72f736de503f",
"sha256:4f905746fb1e6f464f020b747c85de8b89761ba35a042011ae75c2f74e297745",
"sha256:24791483e57f1c08f950fcdcda8ab1ae15452e9bcc061fe34e55d9d1e58743f4",
"sha256:dcd7e82e4f580bf355262b15abb27c2585b6fb3434c37fa86979984abc02d6a1",
"sha256:c62fb4cc9ce45b8f0e180f6aa89a362bfb5b32eecb4679c77f68a7889118ffae",
"sha256:e01138712f93cce2720f183a8a63f0107bc4cafef85a3a087a6300d1ae1128eb",
"sha256:518e7f94e4d550782b7b87b5b6763e92c14a77c77718943338cb0b35332d93e8",
"sha256:16715fc0a5f4272de9363fa9a3253efd4469bb096425d4435f8a645249f29e34",
"sha256:2cac629da003bfab154da1abfdf35d1d9e80754fd62594e2fa35b481ecbb236f",
"sha256:2c84d2181e59af43e8d1363bdb020910203333d1bbaa9b0a9c7dd224a8be32e6",
"sha256:239e28c73b88df7c6e9e64133656172c8b7a4db654cb6a1eb73bb7e3c70d8afc",
"sha256:9c84c36234560ab549a5c871d2ce0e06a61a3255edaae8d52f75f06bec962d43",
"sha256:c833c2b3187ac0ae0daf689479597347a7af481689d5382065862958b8d5aa32",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "2026-11-19T11:03:54.783540925+08:00"
}
}