Switch Dockerfile-openresty base to openresty:latest and replace Alpine with Debian dependencies.

This commit is contained in:
2025-06-09 11:05:51 +02:00
parent 8adcef6925
commit d699adb63b

View File

@@ -1,6 +1,11 @@
FROM openresty/openresty
FROM openresty/openresty:latest
RUN apk add --no-cache git curl luarocks \
&& luarocks install lua-resty-openidc \
&& luarocks install lua-resty-session \
&& luarocks install lua-cjson
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
curl \
luarocks && \
luarocks install lua-resty-openidc && \
luarocks install lua-resty-session && \
luarocks install lua-cjson && \
rm -rf /var/lib/apt/lists/*