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

15 lines
424 B
Docker
Raw Normal View History

2020-05-31 03:25:56 +00:00
FROM quay.io/kubernetes-ingress-controller/nginx:e3c49c52f4b74fe47ad65d6f3266a02e8b6b622f
2020-05-31 03:25:56 +00:00
RUN apk add -U perl curl make unzip
2020-05-31 03:25:56 +00:00
RUN wget -O /tmp/luarocks.tgz https://github.com/luarocks/luarocks/archive/v3.3.1.tar.gz \
&& tar -C /tmp -xzf /tmp/luarocks.tgz \
&& cd /tmp/luarocks* \
&& ./configure \
&& make install \
&& rm -rf /tmp/*
RUN luarocks install lua-resty-template
COPY nginx.conf /etc/nginx/nginx.conf