diff --git a/Dockerfile b/Dockerfile index 6d85acc..e8a475b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM alpine:3.10 +FROM alpine:3.17 MAINTAINER Cristian Chiru 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 \ @@ -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 - \ @@ -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 \