logo
docker.io/openresty/openresty:1.31-alpine-slim
linux/amd64 docker.io 已验证 · Openresty
🚀 根据 Docker Hub 的信息,这个镜像的描述是: .openresty/openresty: OpenResty 是一个基于 Nginx、Lua 和 MySQL 等技术的全栈 web 服务器解决方案,提供了 HTTP/1.1、WebSockets、gRPC 等协议支持。
12
浏览次数
56.23MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim
源镜像
docker.io/openresty/openresty:1.31-alpine-slim
镜像ID
sha256:770048bc9797e7912944fc377a1d0c90ebf199cf1bb7adb194d73695d2388478
镜像 TAG
1.31-alpine-slim
镜像大小
56.23MB
平台架构
linux/amd64
镜像源
docker.io
CMD
/usr/local/openresty/bin/openresty -g daemon off;
启动入口
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-07-09T23:46:21.482229695Z
同步时间
2026-07-15 15:19
浏览量
12 次
贡献者
⚙️ 环境变量 1
KeyValue
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 0
🏷️ 镜像标签 31
KeyValue
Evan Wies <evan@neomantra.net> maintainer
2026-07-09T23:26:14.202Z org.opencontainers.image.created
Docker tooling for OpenResty org.opencontainers.image.description
BSD-2-Clause org.opencontainers.image.licenses
517e3aee4e2601bc5bb6ca79b7caefaf01af64e5 org.opencontainers.image.revision
https://github.com/openresty/docker-openresty org.opencontainers.image.source
docker-openresty org.opencontainers.image.title
https://github.com/openresty/docker-openresty org.opencontainers.image.url
1.31.1.1-alpine-slim-amd64 org.opencontainers.image.version
resty_add_package_builddeps
resty_add_package_rundeps
--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_deps
--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
resty_config_options_more
resty_eval_post_download_pre_configure
resty_eval_post_make
resty_eval_pre_configure
resty_eval_pre_make
alpine resty_image_base
3.23.5 resty_image_tag
--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' resty_luajit_options
enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-md2 enable-ktls enable-fips resty_openssl_build_options
3.5.5 resty_openssl_patch_version
https://github.com/openssl/openssl/releases/download/openssl-3.5.7 resty_openssl_url_base
3.5.7 resty_openssl_version
--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_build_options
--with-pcre-jit resty_pcre_options
c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16 resty_pcre_sha256
10.47 resty_pcre_version
1 resty_strip_binaries
1.31.1.1 resty_version
🛡️ 镜像安全扫描
alpine 3.23.5 Trivy 2026-07-15 15:19 查看完整报告
0
低危 LOW
0
中危 MEDIUM
0
高危 HIGH
0
严重 CRITICAL
受影响目标 (2)
docker.io/openresty/openresty:1.31-alpine-slim (alpine 3.23.5) alpine /usr/local/openresty/pod/lua-resty-rsa-1.1.1/lua-resty-rsa-1.1.1.pod

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim  docker.io/openresty/openresty:1.31-alpine-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim  docker.io/openresty/openresty:1.31-alpine-slim

Shell快速替换命令

sed -i 's#openresty/openresty:1.31-alpine-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim  docker.io/openresty/openresty:1.31-alpine-slim'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim  docker.io/openresty/openresty:1.31-alpine-slim'

镜像构建历史


# 2026-07-10 07:46:21  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2026-07-10 07:46:21  0.00B 设置默认要执行的命令
CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]
                        
# 2026-07-10 07:46:21  1.59KB 复制新文件或目录到容器中
COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf # buildkit
                        
# 2026-07-10 07:46:21  3.02KB 复制新文件或目录到容器中
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit
                        
# 2026-07-10 07:46:21  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
                        
# 2026-07-10 07:46:21  47.81MB 执行命令并创建新的镜像层
RUN |23 RESTY_IMAGE_BASE=alpine RESTY_IMAGE_TAG=3.23.5 RESTY_VERSION=1.31.1.1 RESTY_OPENSSL_VERSION=3.5.7 RESTY_OPENSSL_PATCH_VERSION=3.5.5 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.7 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-md2 enable-ktls enable-fips          RESTY_PCRE_VERSION=10.47 RESTY_PCRE_SHA256=c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16 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_J=1 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_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= RESTY_EVAL_PRE_CONFIGURE= RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE= RESTY_EVAL_PRE_MAKE= RESTY_EVAL_POST_MAKE= RESTY_STRIP_BINARIES=1 _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/sh -c apk add --no-cache --virtual .build-deps         build-base         binutils         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-2) = "3." ] ; then         echo 'patching OpenSSL 3.x 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.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/master/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       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 -j${RESTY_J} install_sw     && cd /tmp     && curl -fSL "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${RESTY_PCRE_VERSION}/pcre2-${RESTY_PCRE_VERSION}.tar.gz" -o pcre2-${RESTY_PCRE_VERSION}.tar.gz     && echo "${RESTY_PCRE_SHA256}  pcre2-${RESTY_PCRE_VERSION}.tar.gz" | shasum -a 256 --check     && tar xzf pcre2-${RESTY_PCRE_VERSION}.tar.gz     && cd /tmp/pcre2-${RESTY_PCRE_VERSION}     && CFLAGS="-g -O3" ./configure         --prefix=/usr/local/openresty/pcre2         --libdir=/usr/local/openresty/pcre2/lib         ${RESTY_PCRE_BUILD_OPTIONS}     && CFLAGS="-g -O3" make -j${RESTY_J}     && CFLAGS="-g -O3" 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}     && if [ -n "${RESTY_EVAL_PRE_MAKE}" ]; then eval $(echo ${RESTY_EVAL_PRE_MAKE}); fi     && 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}         pcre2-${RESTY_PCRE_VERSION}.tar.gz pcre2-${RESTY_PCRE_VERSION}         openresty-${RESTY_VERSION}.tar.gz openresty-${RESTY_VERSION}     && if [ -n "${RESTY_STRIP_BINARIES}" ]; then         echo 'stripping OpenResty binaries'         && rm -Rf /usr/local/openresty/openssl3/bin/c_rehash /usr/local/openresty/openssl3/lib/*.a /usr/local/openresty/openssl3/include         && find /usr/local/openresty/openssl3 -type f -perm -u+x -exec strip --strip-unneeded '{}' \;         && rm -Rf /usr/local/openresty/pcre2/bin /usr/local/openresty/pcre2/share         && find /usr/local/openresty/pcre2 -type f -perm -u+x -exec strip --strip-unneeded '{}' \;         && rm -Rf /usr/local/openresty/luajit/lib/*.a /usr/local/openresty/luajit/share/man         && find /usr/local/openresty/luajit -type f -perm -u+x -exec strip --strip-unneeded '{}' \;         && find /usr/local/openresty/nginx -type f -perm -u+x -exec strip --strip-unneeded '{}' \; ;     fi     && 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
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_pcre_options=--with-pcre-jit
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_luajit_options=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_strip_binaries=1
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_eval_post_make=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_eval_pre_make=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_eval_post_download_pre_configure=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_eval_pre_configure=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_add_package_rundeps=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_add_package_builddeps=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL 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-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_config_options_more=
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL 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-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_pcre_sha256=c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL 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-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_pcre_version=10.47
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL 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-md2 enable-ktls enable-fips         
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_openssl_url_base=https://github.com/openssl/openssl/releases/download/openssl-3.5.7
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_openssl_patch_version=3.5.5
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_openssl_version=3.5.7
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_version=1.31.1.1
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_image_tag=3.23.5
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL resty_image_base=alpine
                        
# 2026-07-10 07:46:21  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-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_STRIP_BINARIES=1
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_EVAL_POST_MAKE=
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_EVAL_PRE_MAKE=
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE=
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_EVAL_PRE_CONFIGURE=
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_RUNDEPS=
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_ADD_PACKAGE_BUILDDEPS=
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_PCRE_OPTIONS=--with-pcre-jit
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_CONFIG_OPTIONS_MORE=
                        
# 2026-07-10 07:46:21  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-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_J=1
                        
# 2026-07-10 07:46:21  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-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_PCRE_SHA256=c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_PCRE_VERSION=10.47
                        
# 2026-07-10 07:46:21  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-md2 enable-ktls enable-fips         
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.5.7
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_OPENSSL_PATCH_VERSION=3.5.5
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_OPENSSL_VERSION=3.5.7
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_VERSION=1.31.1.1
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_IMAGE_TAG=3.23.5
                        
# 2026-07-10 07:46:21  0.00B 定义构建参数
ARG RESTY_IMAGE_BASE=alpine
                        
# 2026-07-10 07:46:21  0.00B 添加元数据标签
LABEL maintainer=Evan Wies <evan@neomantra.net>
                        
# 2026-06-23 03:20:09  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2026-06-23 03:20:09  8.41MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.23.5-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:770048bc9797e7912944fc377a1d0c90ebf199cf1bb7adb194d73695d2388478",
    "RepoTags": [
        "openresty/openresty:1.31-alpine-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty:1.31-alpine-slim"
    ],
    "RepoDigests": [
        "openresty/openresty@sha256:f05c593f0afbb916361496a2d21aa22edc5d5e54e15160f88d12b62f3918bf22",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openresty/openresty@sha256:3bd2cfd23eaa9a7fdd2f47784e5855455b21969aac0585b2d2333848a8f171d3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-09T23:46:21.482229695Z",
    "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",
            "org.opencontainers.image.created": "2026-07-09T23:26:14.202Z",
            "org.opencontainers.image.description": "Docker tooling for OpenResty",
            "org.opencontainers.image.licenses": "BSD-2-Clause",
            "org.opencontainers.image.revision": "517e3aee4e2601bc5bb6ca79b7caefaf01af64e5",
            "org.opencontainers.image.source": "https://github.com/openresty/docker-openresty",
            "org.opencontainers.image.title": "docker-openresty",
            "org.opencontainers.image.url": "https://github.com/openresty/docker-openresty",
            "org.opencontainers.image.version": "1.31.1.1-alpine-slim-amd64",
            "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/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_eval_post_download_pre_configure": "",
            "resty_eval_post_make": "",
            "resty_eval_pre_configure": "",
            "resty_eval_pre_make": "",
            "resty_image_base": "alpine",
            "resty_image_tag": "3.23.5",
            "resty_luajit_options": "--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'",
            "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-md2 enable-ktls enable-fips         ",
            "resty_openssl_patch_version": "3.5.5",
            "resty_openssl_url_base": "https://github.com/openssl/openssl/releases/download/openssl-3.5.7",
            "resty_openssl_version": "3.5.7",
            "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": "c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16",
            "resty_pcre_version": "10.47",
            "resty_strip_binaries": "1",
            "resty_version": "1.31.1.1"
        },
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 56230594,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/933eaf60171a992976999d74a7ecd1b8de744e534956d4bc993c2c2ff2ca6090/diff:/var/lib/docker/overlay2/6be477db13c569b031c29f9cc90f8cf7454d0b678f3a7b06a516841bf27882b1/diff:/var/lib/docker/overlay2/1ff11efb04a9f6583c9a503650d24e6b439bfe5a25761d571862dbbb36c11316/diff",
            "MergedDir": "/var/lib/docker/overlay2/358b3699590e4e1cb2c73f4c6fc8c558b3fe1d0efdfc3725c7a98771673effb4/merged",
            "UpperDir": "/var/lib/docker/overlay2/358b3699590e4e1cb2c73f4c6fc8c558b3fe1d0efdfc3725c7a98771673effb4/diff",
            "WorkDir": "/var/lib/docker/overlay2/358b3699590e4e1cb2c73f4c6fc8c558b3fe1d0efdfc3725c7a98771673effb4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:31ad4a471c6852bfec14d757cc75a566c82a9769f12c3918cf6bf52cc0eeb3d0",
            "sha256:d04371a322c6bbf030f0a4913b158747d0c6399f4af628c66026032e1a736306",
            "sha256:e2dbab65e84d8ddf4a39efa6a0736b59c685a0cce04483b5a2ecd147b74207ce",
            "sha256:081b174b5cc7fd144e212ddd89d9c8bb454cd6b8aee74624222c6dfd6f05cb9b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-15T15:19:52.054744238+08:00"
    }
}

更多版本

docker.io/openresty/openresty:1.25.3.1-5-alpine-fat

linux/amd64 docker.io378.21MB2024-06-29 18:29
843

docker.io/openresty/openresty:1.25.3.1-5-alpine-fat

linux/arm64 docker.io378.90MB2024-06-29 18:35
1999

docker.io/openresty/openresty:1.25.3.2-centos7

linux/amd64 docker.io283.37MB2024-10-22 10:39
1125

docker.io/openresty/openresty:latest

linux/amd64 docker.io96.95MB2024-11-14 17:03
1913

docker.io/openresty/openresty:bullseye-fat

linux/amd64 docker.io154.61MB2024-11-22 17:11
518

docker.io/openresty/openresty:1.21.4.2-1-jammy

linux/amd64 docker.io612.55MB2024-12-18 15:07
575

docker.io/openresty/openresty:1.27.1.1-bookworm

linux/amd64 docker.io97.09MB2025-02-11 11:01
649

docker.io/openresty/openresty:1.27.1.1-rocky

linux/amd64 docker.io370.72MB2025-02-11 11:03
557

docker.io/openresty/openresty:1.21.4.1-0-alpine

linux/amd64 docker.io101.90MB2025-02-21 17:08
651

docker.io/openresty/openresty:1.27.1.2-alpine

linux/amd64 docker.io142.31MB2025-04-30 14:23
1147

docker.io/openresty/openresty:1.25.3.1-3-buster-fat

linux/amd64 docker.io136.70MB2025-06-24 16:01
318

docker.io/openresty/openresty:1.25.3.2-5-bookworm-fat

linux/amd64 docker.io147.51MB2025-07-04 10:28
405

docker.io/openresty/openresty:1.25.3.2-5-alpine-fat

linux/amd64 docker.io378.69MB2025-07-13 12:52
314

docker.io/openresty/openresty:1.25.3.2-5-alpine-fat

linux/arm64 docker.io379.48MB2025-07-13 12:53
407

docker.io/openresty/openresty:1.25.3.2-5-alpine

linux/amd64 docker.io106.20MB2025-07-27 12:07
377

docker.io/openresty/openresty:1.21.4.4-1-jammy

linux/amd64 docker.io627.72MB2025-08-07 11:48
337

docker.io/openresty/openresty:1.27.1.2-3-rocky

linux/amd64 docker.io373.47MB2025-08-07 11:56
323

docker.io/openresty/openresty:1.27.1.2-3-alpine

linux/amd64 docker.io142.31MB2025-08-18 11:55
332

docker.io/openresty/openresty:1.27.1.2-3-jammy

linux/amd64 docker.io670.92MB2025-08-18 13:10
364

docker.io/openresty/openresty:1.27.1.2-alpine-fat

linux/arm64 docker.io444.81MB2025-08-28 18:38
351

docker.io/openresty/openresty:1.27.1.2-bookworm-fat

linux/arm64 docker.io177.89MB2025-08-28 22:47
396

docker.io/openresty/openresty:1.25.3.2-5-alpine

linux/arm64 docker.io115.69MB2025-09-13 10:47
480

docker.io/openresty/openresty:1.17.8.2-5-alpine

linux/amd64 docker.io103.90MB2025-11-28 13:33
229

docker.io/openresty/openresty:alpine

linux/amd64 docker.io146.44MB2025-12-12 00:58
502

docker.io/openresty/openresty:alpine-apk-aarch64

linux/arm64 docker.io24.86MB2025-12-12 01:03
293

docker.io/openresty/openresty:1.27.1.2-0-alpine

linux/amd64 docker.io142.31MB2025-12-19 09:14
341

docker.io/openresty/openresty:1.27.1.2-0-alpine

linux/arm64 docker.io155.64MB2025-12-19 09:16
244

docker.io/openresty/openresty:1.19.9.1-14-centos7

linux/amd64 docker.io282.65MB2025-12-22 17:39
367

docker.io/openresty/openresty:1.27.1.2-3-jammy

linux/arm64 docker.io641.49MB2026-03-24 14:59
171

docker.io/openresty/openresty:1.27.1.2-11-jammy

linux/amd64 docker.io689.38MB2026-04-09 22:32
186

docker.io/openresty/openresty:alpine

linux/arm64 docker.io167.40MB2026-04-27 15:06
149

docker.io/openresty/openresty:1.29.2.3-bullseye-fat

linux/amd64 docker.io355.36MB2026-04-28 18:19
229

docker.io/openresty/openresty:restyrepo-amd64

linux/amd64 docker.io767.20MB2026-05-18 14:30
134

docker.io/openresty/openresty:1.29.2.5-1-noble-amd64

linux/amd64 docker.io772.19MB2026-05-29 01:45
196

docker.io/openresty/openresty:1.29.2.4-bullseye-fat

linux/amd64 docker.io355.77MB2026-05-29 14:12
104

docker.io/openresty/openresty:1.27.1.1-alpine

linux/arm64 docker.io142.13MB2026-06-04 00:52
96

docker.io/openresty/openresty:1.27.1.2-alpine

linux/arm64 docker.io164.74MB2026-06-10 09:43
57

docker.io/openresty/openresty:1.31-bookworm-fat

linux/arm64 docker.io402.86MB2026-06-15 15:30
74

docker.io/openresty/openresty:1.31.1.1-1-restyrepo-amd64

linux/amd64 docker.io744.35MB2026-06-25 16:49
103

docker.io/openresty/openresty:1.31-bullseye-fat

linux/amd64 docker.io355.85MB2026-07-03 22:19
50

docker.io/openresty/openresty:1.31-alpine-slim

linux/amd64 docker.io56.23MB2026-07-15 15:19
11
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×