Namespace
1panel
Image / Tag
openresty:1.27.1.2-0-1-focal
Content Digest
sha256:c6ae4bc3392115d0778697047e05b3a87eff73c5d12895d3786f17ba21515bf4
Details
Created

2025-06-06 07:10:10 UTC

Size

348 MB

Content Digest
Labels
  • maintainer
    Evan Wies <evan@neomantra.net>
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04
  • 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_image_base
    ubuntu
  • resty_image_tag
    focal
  • resty_luajit_options
    --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
  • resty_luarocks_version
    3.11.1
  • 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.4.1
  • resty_openssl_url_base
    https://github.com/openssl/openssl/releases/download/openssl-3.4.1
  • resty_openssl_version
    3.4.1
  • 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
    86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b
  • resty_pcre_version
    10.44
  • resty_version
    1.27.1.2

Environment
LUA_CPATH

/usr/local/openresty/site/lualib/?.so;/usr/local/openresty/lualib/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so

LUA_PATH

/usr/local/openresty/site/lualib/?.ljbc;/usr/local/openresty/site/lualib/?/init.ljbc;/usr/local/openresty/lualib/?.ljbc;/usr/local/openresty/lualib/?/init.ljbc;/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;/usr/local/openresty/luajit/share/luajit-2.1/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/openresty/luajit/share/lua/5.1/?.lua;/usr/local/openresty/luajit/share/lua/5.1/?/init.lua

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

WAF_PATH

/usr/local/openresty/1pwaf


Layers

[#000] sha256:d9802f032d6798e2086607424bfe88cb8ec1d6f116e11cd99592dcaf261e9cd2 - 7.53% (26.2 MB)

[#001] sha256:25defb16ae6e62125a4d23a7d05bc9128ab289dfe661a6d2fb27274a241ae5a9 - 60.43% (211 MB)

[#002] sha256:e5b0f3eb3e165bb0897ac769ac42dbdbf872a843608c74d8baadf7f427dbcb74 - 0.0% (1.35 KB)

[#003] sha256:e79a686cd1be9db046e096040d64267ed5308ba09f529c684dbecf6d2d25bb44 - 0.0% (834 Bytes)

[#004] sha256:db1c5d2210b26f3097f8f8d0e2fcbf39edf9c8c071dacc8262c51a60f5b3343b - 29.46% (103 MB)

[#005] sha256:df991a36f66d0e3857c5c093bcf264a523e48713a44469479f8a1910c2f6e2de - 0.01% (42.1 KB)

[#006] sha256:a0ff281ddbf4f9fa7cc6223581b7fdb9b436a2ca30f9f2abb8f94bbf62c2491d - 0.03% (108 KB)

[#007] sha256:57462a64fc11067a5284a8b232c87ea7002f5cfc3797503eba30bebc4ea0853e - 0.01% (19.2 KB)

[#008] sha256:6f6c228b026928cc922f7997ef98072a831620b2d69f6c1047b0b897dab4f064 - 0.0% (8.67 KB)

[#009] sha256:86201f8a366001e39ec27a3e16a19c67d8696f1e4393f01a640c0cfacfcbf344 - 0.0% (548 Bytes)

[#010] sha256:3ce6057e763dcb6fc96d01abd796be14b109d787f8d6d928c4233895364a157f - 0.0% (427 Bytes)

[#011] sha256:5beb1b66329a2ac3674622a2607e2e292e4550bc01e2c231a6bb2180aa7b0be9 - 2.51% (8.76 MB)

[#012] sha256:f336f0e8f4d817090b93d3975c4bbef306a80b051db53e17a132b9e70a8fdcb0 - 0.02% (61.5 KB)


History
2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2024-10-11 03:38:27 UTC

/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /

2024-10-11 03:38:27 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Evan Wies <evan@neomantra.net>

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_IMAGE_BASE=ubuntu

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_IMAGE_TAG=focal

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_VERSION=1.27.1.2

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_LUAROCKS_VERSION=3.11.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_OPENSSL_VERSION=3.4.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_OPENSSL_PATCH_VERSION=3.4.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.4.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_PCRE_VERSION=10.44

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_PCRE_SHA256=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_J=1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_CONFIG_OPTIONS_MORE=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_PCRE_OPTIONS=--with-pcre-jit

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_ADD_PACKAGE_BUILDDEPS=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_ADD_PACKAGE_RUNDEPS=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_EVAL_PRE_CONFIGURE=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ARG RESTY_EVAL_POST_MAKE=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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'

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_image_base=ubuntu

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_image_tag=focal

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_version=1.27.1.2

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_luarocks_version=3.11.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_openssl_version=3.4.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_openssl_patch_version=3.4.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_openssl_url_base=https://github.com/openssl/openssl/releases/download/openssl-3.4.1

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_pcre_version=10.44

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_pcre_sha256=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_config_options_more=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

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'

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_add_package_builddeps=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_add_package_rundeps=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_eval_pre_configure=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_eval_post_download_pre_configure=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_eval_post_make=

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_luajit_options=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

LABEL resty_pcre_options=--with-pcre-jit

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

RUN |22 RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=focal RESTY_VERSION=1.27.1.2 RESTY_LUAROCKS_VERSION=3.11.1 RESTY_OPENSSL_VERSION=3.4.1 RESTY_OPENSSL_PATCH_VERSION=3.4.1 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.4.1 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.44 RESTY_PCRE_SHA256=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b 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_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/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates curl gettext-base libgd-dev libgeoip-dev libncurses5-dev libperl-dev libreadline-dev libxslt1-dev make perl unzip wget zlib1g-dev ${RESTY_ADD_PACKAGE_BUILDDEPS} ${RESTY_ADD_PACKAGE_RUNDEPS} && cd /tmp && if [ -n "${RESTY_EVAL_PRE_CONFIGURE}" ]; then eval $(echo ${RESTY_EVAL_PRE_CONFIGURE}); fi && 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/ed328977028c3ec3033bc25873ee360056e247cd/patches/openssl-1.1.0j-parallel_build_fix.patch | patch -p1 && curl -s https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch | patch -p1 ; fi && ./config 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} && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp && 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} && curl -fSL https://luarocks.github.io/luarocks/releases/luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz -o luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && 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 $(echo ${RESTY_EVAL_POST_MAKE}); fi && rm -rf luarocks-${RESTY_LUAROCKS_VERSION} luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && if [ -n "${RESTY_ADD_PACKAGE_BUILDDEPS}" ]; then DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge ${RESTY_ADD_PACKAGE_BUILDDEPS} ; fi && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log # buildkit

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ENV LUA_PATH=/usr/local/openresty/site/lualib/?.ljbc;/usr/local/openresty/site/lualib/?/init.ljbc;/usr/local/openresty/lualib/?.ljbc;/usr/local/openresty/lualib/?/init.ljbc;/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;/usr/local/openresty/luajit/share/luajit-2.1/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/openresty/luajit/share/lua/5.1/?.lua;/usr/local/openresty/luajit/share/lua/5.1/?/init.lua

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

ENV LUA_CPATH=/usr/local/openresty/site/lualib/?.so;/usr/local/openresty/lualib/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf # buildkit

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]

2025-04-04 21:11:14 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-06-06 07:10:02 UTC (buildkit.dockerfile.v0)

ENV WAF_PATH=/usr/local/openresty/1pwaf

2025-06-06 07:10:02 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex && apt-get update && apt-get install -y --no-install-recommends libsqlite3-dev git cmake && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p ${WAF_PATH}/libraries && mkdir -p /usr/local/openresty/modules && git clone --recursive https://github.com/google/ngx_brotli.git /usr/local/openresty/modules/ngx_brotli && mkdir -p /usr/local/openresty/modules/ngx_brotli/deps/brotli/out && cd /usr/local/openresty/modules/ngx_brotli/deps/brotli/out && cmake .. && make -j$(nproc) # buildkit

2025-06-06 07:10:09 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/libmaxminddb.so.0.0.7 /usr/local/openresty/1pwaf/libraries/libmaxminddb.so # buildkit

2025-06-06 07:10:09 UTC (buildkit.dockerfile.v0)

COPY /tmp/libinjection-main/src/.libs/libinjection.so.1.2.9 /usr/local/openresty/1pwaf/libraries/libinjection.so # buildkit

2025-06-06 07:10:09 UTC (buildkit.dockerfile.v0)

COPY /tmp/lsqlite3/lsqlite3.so /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so # buildkit

2025-06-06 07:10:09 UTC (buildkit.dockerfile.v0)

COPY /tmp/luafilesystem-1_8_0/src/lfs.so /usr/local/openresty/luajit/lib/lua/5.1/lfs.so # buildkit

2025-06-06 07:10:10 UTC (buildkit.dockerfile.v0)

COPY 1pwaf/data/default/index.html /usr/local/openresty/nginx/html/index.html # buildkit

2025-06-06 07:10:10 UTC (buildkit.dockerfile.v0)

COPY compile.sh /tmp/compile.sh # buildkit

2025-06-06 07:10:10 UTC (buildkit.dockerfile.v0)

COPY ./1pwaf /usr/local/openresty/1pwaf # buildkit

2025-06-06 07:10:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /tmp/compile.sh && /tmp/compile.sh ${WAF_PATH} && rm -rf /tmp/* # buildkit

2025-06-06 07:10:10 UTC (buildkit.dockerfile.v0)

CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]

2025-06-06 07:10:10 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

Details
Created

2025-06-06 07:18:44 UTC

Size

327 MB

Content Digest
Labels
  • maintainer
    Evan Wies <evan@neomantra.net>
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04
  • 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_image_base
    ubuntu
  • resty_image_tag
    focal
  • resty_luajit_options
    --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'
  • resty_luarocks_version
    3.11.1
  • 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.4.1
  • resty_openssl_url_base
    https://github.com/openssl/openssl/releases/download/openssl-3.4.1
  • resty_openssl_version
    3.4.1
  • 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
    86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b
  • resty_pcre_version
    10.44
  • resty_version
    1.27.1.2

Environment
LUA_CPATH

/usr/local/openresty/site/lualib/?.so;/usr/local/openresty/lualib/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so

LUA_PATH

/usr/local/openresty/site/lualib/?.ljbc;/usr/local/openresty/site/lualib/?/init.ljbc;/usr/local/openresty/lualib/?.ljbc;/usr/local/openresty/lualib/?/init.ljbc;/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;/usr/local/openresty/luajit/share/luajit-2.1/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/openresty/luajit/share/lua/5.1/?.lua;/usr/local/openresty/luajit/share/lua/5.1/?/init.lua

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

WAF_PATH

/usr/local/openresty/1pwaf


Layers

[#000] sha256:1b9f3c55f9d4aa5c52eb67a4cb7d0f4726ab85a413b50e3e3fe788befce3d297 - 7.58% (24.8 MB)

[#001] sha256:df49cceb9c9a4ddc265831cdf9c170bdfa0267fcdbd132ed07a93da2de422d6c - 58.39% (191 MB)

[#002] sha256:cf96f91cf78a6ef5729aa3c9fd0f8b5f19d7115993e568c47a58b3a8ff7f347f - 0.0% (1.34 KB)

[#003] sha256:767eaca4d7bf522fe232a323d05b03e230c2ab4c215fa9b270a58fdf870085a2 - 0.0% (834 Bytes)

[#004] sha256:927e304633bb969444fb9d72aa72e097366761b72f67c76c5db8d8d69a134224 - 31.29% (102 MB)

[#005] sha256:06894f97ab19cb7f408fd764242187a6c95effc52f3169e9d95974fe5a2045fa - 0.01% (42.2 KB)

[#006] sha256:b41a60b6f959ca0d2509c2013989f0b6d7b041a2c032b85549d8bd15835cb67a - 0.03% (102 KB)

[#007] sha256:ed8b31f43ab7847fa99e1c6f4e910bfba4fd9162ddda359d599b52e613437b3a - 0.01% (18.4 KB)

[#008] sha256:67a8a2d297b1da63069901e3300ce353134750491edfaaba3a17cd23b1970cd6 - 0.0% (8.64 KB)

[#009] sha256:43ea7d9425a333e269e4c1a9cb1409b22d60b3f441724b56ef2704d94a499b19 - 0.0% (545 Bytes)

[#010] sha256:74832ef5cbad8030c00e2838c50fb5c941b9904434612df8a5622e46c5cf973e - 0.0% (427 Bytes)

[#011] sha256:d8a2aaa1567af0513bdfc5f32eb63f5d8f09930c3b57caaebe2d24d34069fe15 - 2.68% (8.76 MB)

[#012] sha256:00b381704163df8ba72f1f1a3a0d0a3e43c08d3c9be0d81a02a3c695c4dfba19 - 0.02% (61.5 KB)


History
2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2024-10-11 03:39:47 UTC

/bin/sh -c #(nop) ADD file:8537b4db344382b39d669af27cd94ec0f870ceafe58c67ee54e3f9b38fb8d671 in /

2024-10-11 03:39:47 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) LABEL maintainer=Evan Wies <evan@neomantra.net>

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_IMAGE_BASE=ubuntu

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_IMAGE_TAG=focal

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_VERSION=1.27.1.2

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_LUAROCKS_VERSION=3.11.1

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_OPENSSL_VERSION=3.4.1

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_OPENSSL_PATCH_VERSION=3.4.1

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.4.1

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) 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

2025-04-04 20:56:12 UTC

/bin/sh -c #(nop) ARG RESTY_PCRE_VERSION=10.44

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_PCRE_SHA256=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) 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

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_J=1

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) 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

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_CONFIG_OPTIONS_MORE=

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_PCRE_OPTIONS=--with-pcre-jit

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_ADD_PACKAGE_BUILDDEPS=

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_ADD_PACKAGE_RUNDEPS=

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_EVAL_PRE_CONFIGURE=

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE=

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) ARG RESTY_EVAL_POST_MAKE=

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) 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'

2025-04-04 20:56:13 UTC

/bin/sh -c #(nop) LABEL resty_image_base=ubuntu

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_image_tag=focal

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_version=1.27.1.2

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_luarocks_version=3.11.1

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_openssl_version=3.4.1

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_openssl_patch_version=3.4.1

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_openssl_url_base=https://github.com/openssl/openssl/releases/download/openssl-3.4.1

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) 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

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) LABEL resty_pcre_version=10.44

2025-04-04 20:56:14 UTC

/bin/sh -c #(nop) 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

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_pcre_sha256=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) 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

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_config_options_more=

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) 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'

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_add_package_builddeps=

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_add_package_rundeps=

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_eval_pre_configure=

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_eval_post_download_pre_configure=

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_eval_post_make=

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_luajit_options=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'

2025-04-04 20:56:15 UTC

/bin/sh -c #(nop) LABEL resty_pcre_options=--with-pcre-jit

2025-04-04 21:13:15 UTC

|22 RESTY_ADD_PACKAGE_BUILDDEPS= RESTY_ADD_PACKAGE_RUNDEPS= 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_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=focal RESTY_J=1 RESTY_LUAJIT_OPTIONS=--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' RESTY_LUAROCKS_VERSION=3.11.1 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.4.1 RESTY_OPENSSL_URL_BASE=https://github.com/openssl/openssl/releases/download/openssl-3.4.1 RESTY_OPENSSL_VERSION=3.4.1 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=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b RESTY_PCRE_VERSION=10.44 RESTY_VERSION=1.27.1.2 _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 DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates curl gettext-base libgd-dev libgeoip-dev libncurses5-dev libperl-dev libreadline-dev libxslt1-dev make perl unzip wget zlib1g-dev ${RESTY_ADD_PACKAGE_BUILDDEPS} ${RESTY_ADD_PACKAGE_RUNDEPS} && cd /tmp && if [ -n "${RESTY_EVAL_PRE_CONFIGURE}" ]; then eval $(echo ${RESTY_EVAL_PRE_CONFIGURE}); fi && 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/ed328977028c3ec3033bc25873ee360056e247cd/patches/openssl-1.1.0j-parallel_build_fix.patch | patch -p1 && curl -s https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch | patch -p1 ; fi && ./config 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} && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp && 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} && curl -fSL https://luarocks.github.io/luarocks/releases/luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz -o luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && 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 $(echo ${RESTY_EVAL_POST_MAKE}); fi && rm -rf luarocks-${RESTY_LUAROCKS_VERSION} luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && if [ -n "${RESTY_ADD_PACKAGE_BUILDDEPS}" ]; then DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge ${RESTY_ADD_PACKAGE_BUILDDEPS} ; fi && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && 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

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) ENV LUA_PATH=/usr/local/openresty/site/lualib/?.ljbc;/usr/local/openresty/site/lualib/?/init.ljbc;/usr/local/openresty/lualib/?.ljbc;/usr/local/openresty/lualib/?/init.ljbc;/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;/usr/local/openresty/luajit/share/luajit-2.1/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/openresty/luajit/share/lua/5.1/?.lua;/usr/local/openresty/luajit/share/lua/5.1/?/init.lua

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) ENV LUA_CPATH=/usr/local/openresty/site/lualib/?.so;/usr/local/openresty/lualib/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;/usr/local/openresty/luajit/lib/lua/5.1/?.so

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) COPY file:d54c89567f62f3999137e993e57ed5f3342a35799004bacc0eae57cfb03d5c97 in /usr/local/openresty/nginx/conf/nginx.conf

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) COPY file:d7611963847fd66f9f2cfe1298464e00834c53c8200eba86edbb6c9f0630e638 in /etc/nginx/conf.d/default.conf

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]

2025-04-04 21:13:16 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGQUIT

2025-06-06 07:16:18 UTC (buildkit.dockerfile.v0)

ENV WAF_PATH=/usr/local/openresty/1pwaf

2025-06-06 07:16:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex && apt-get update && apt-get install -y --no-install-recommends libsqlite3-dev git cmake && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p ${WAF_PATH}/libraries && mkdir -p /usr/local/openresty/modules && git clone --recursive https://github.com/google/ngx_brotli.git /usr/local/openresty/modules/ngx_brotli && mkdir -p /usr/local/openresty/modules/ngx_brotli/deps/brotli/out && cd /usr/local/openresty/modules/ngx_brotli/deps/brotli/out && cmake .. && make -j$(nproc) # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/libmaxminddb.so.0.0.7 /usr/local/openresty/1pwaf/libraries/libmaxminddb.so # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY /tmp/libinjection-main/src/.libs/libinjection.so.1.2.9 /usr/local/openresty/1pwaf/libraries/libinjection.so # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY /tmp/lsqlite3/lsqlite3.so /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY /tmp/luafilesystem-1_8_0/src/lfs.so /usr/local/openresty/luajit/lib/lua/5.1/lfs.so # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY 1pwaf/data/default/index.html /usr/local/openresty/nginx/html/index.html # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY compile.sh /tmp/compile.sh # buildkit

2025-06-06 07:18:42 UTC (buildkit.dockerfile.v0)

COPY ./1pwaf /usr/local/openresty/1pwaf # buildkit

2025-06-06 07:18:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /tmp/compile.sh && /tmp/compile.sh ${WAF_PATH} && rm -rf /tmp/* # buildkit

2025-06-06 07:18:44 UTC (buildkit.dockerfile.v0)

CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"]

2025-06-06 07:18:44 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT