bunkerweb/dev/Dockerfile
Théophile Diot a3cd342f3e Squashed 'src/deps/src/lua-resty-session/' content from commit 8b5f8752f
git-subtree-dir: src/deps/src/lua-resty-session
git-subtree-split: 8b5f8752f3046396c414c5b97850e784c07e1641
2023-06-30 15:38:54 -04:00

20 lines
540 B
Docker

FROM openresty/openresty:1.21.4.1-focal
ENV DEBIAN_FRONTEND noninteractive
ENV TEST_NGINX_BINARY openresty
USER root
RUN apt-get update && apt-get install -y gcc git cpanminus
RUN git clone https://github.com/Olivine-Labs/busted
RUN cd busted && luarocks make
RUN luarocks install pgmoon
RUN luarocks install lua-resty-rsa
RUN luarocks install lua-resty-redis-connector
RUN luarocks install lua-resty-redis-cluster
RUN luarocks install inspect
RUN luarocks install lua_pack
RUN luarocks install LuaCov
RUN cpanm --notest Test::Nginx