ingress-nginx-helm/images/e2e-test-echo/rootfs/Dockerfile

20 lines
510 B
Docker
Raw Normal View History

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 - \
2020-05-31 03:25:56 +00:00
&& tar -C /tmp -xzf /tmp/luarocks.tgz \
&& cd /tmp/luarocks* \
&& ./configure \
&& make install
2020-05-31 03:25:56 +00:00
RUN luarocks install lua-resty-template
COPY nginx.conf /etc/nginx/nginx.conf