From eec056e591ad0af3bc813c971021097c1400788d Mon Sep 17 00:00:00 2001 From: ykpasupulati <35906048+ykpasupulati@users.noreply.github.com> Date: Mon, 8 May 2023 23:23:09 +0100 Subject: [PATCH 1/4] Changed the base alpine image to 3.17 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6d85acc..d4e481d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.10 +FROM alpine:3.17 MAINTAINER Cristian Chiru ENV LUA_SUFFIX=jit-2.1.0-beta3 \ From 48461ce871278ed2e6a9705d99bd8b3296444376 Mon Sep 17 00:00:00 2001 From: ykpasupulati <35906048+ykpasupulati@users.noreply.github.com> Date: Mon, 8 May 2023 23:33:06 +0100 Subject: [PATCH 2/4] Changed the base openresty version to the latest 1.21.4.1 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d4e481d..5cdedd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ ENV LUA_SUFFIX=jit-2.1.0-beta3 \ LUAJIT_VERSION=2.1 \ NGINX_PREFIX=/opt/openresty/nginx \ OPENRESTY_PREFIX=/opt/openresty \ - OPENRESTY_SRC_SHA256=bf92af41d3ad22880047a8b283fc213d59c7c1b83f8dae82e50d14b64d73ac38 \ - OPENRESTY_VERSION=1.15.8.2 \ + OPENRESTY_SRC_SHA256=0c5093b64f7821e85065c99e5d4e6cc31820cfd7f37b9a0dec84209d87a2af99 \ + OPENRESTY_VERSION=1.21.4.1 \ LUAROCKS_VERSION=3.1.3 \ LUAROCKS_SRC_SHA256=c573435f495aac159e34eaa0a3847172a2298eb6295fcdc35d565f9f9b990513 \ LUA_RESTY_OPENIDC_VERSION=1.7.2-1 \ From 90b1ebaa2ae891642cfce871d6c29e6390e2c4d1 Mon Sep 17 00:00:00 2001 From: ykpasupulati <35906048+ykpasupulati@users.noreply.github.com> Date: Mon, 8 May 2023 23:35:08 +0100 Subject: [PATCH 3/4] Changed the base openresty url to download as it has changed --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5cdedd2..74f306c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN set -ex \ libc-dev \ \ ## OpenResty - && curl -fsSL https://github.com/openresty/openresty/releases/download/v${OPENRESTY_VERSION}/openresty-${OPENRESTY_VERSION}.tar.gz -o /tmp/openresty.tar.gz \ + && curl -fsSL https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz -o /tmp/openresty.tar.gz \ \ && cd /tmp \ && echo "${OPENRESTY_SRC_SHA256} *openresty.tar.gz" | sha256sum -c - \ From e0ec163d92d3241504736abf419e3f115dfa4c09 Mon Sep 17 00:00:00 2001 From: ykpasupulati <35906048+ykpasupulati@users.noreply.github.com> Date: Mon, 8 May 2023 23:47:23 +0100 Subject: [PATCH 4/4] Enabling http stub status module --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 74f306c..e8a475b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,7 @@ RUN set -ex \ --with-luajit \ --with-pcre-jit \ --with-ipv6 \ + --with-http_stub_status_module \ --with-http_ssl_module \ --without-http_ssi_module \ --with-http_realip_module \