Switch Dockerfile-openresty base to openresty:latest and replace Alpine with Debian dependencies.
This commit is contained in:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user