ingress-nginx-helm/images/echo/rootfs/Dockerfile
James Strong 26d83d1b20
update all container tags with date and sha, upgrade all containers (#9834)
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-04-06 10:25:48 -07:00

20 lines
511 B
Docker

ARG BASE_IMAGE
FROM ${BASE_IMAGE}
RUN apk update && apk upgrade && apk add -U --no-cache perl curl make unzip
ARG LUAROCKS_VERSION
ARG LUAROCKS_SHA
RUN wget -O /tmp/luarocks.tgz \
https://github.com/luarocks/luarocks/archive/v${LUAROCKS_VERSION}.tar.gz \
&& echo "${LUAROCKS_SHA} */tmp/luarocks.tgz" | sha256sum -c - \
&& tar -C /tmp -xzf /tmp/luarocks.tgz \
&& cd /tmp/luarocks* \
&& ./configure \
&& make install
RUN luarocks install lua-resty-template
COPY nginx.conf /etc/nginx/nginx.conf