Skip to content
This repository was archived by the owner on Dec 24, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM alpine:3.10
FROM alpine:3.17
MAINTAINER Cristian Chiru <cristian.chiru@revomatico.com>

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 \
Expand Down Expand Up @@ -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 - \
Expand All @@ -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 \
Expand Down