mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
git-subtree-dir: src/deps/src/lua-resty-session git-subtree-split: 8b5f8752f3046396c414c5b97850e784c07e1641
20 lines
540 B
Docker
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
|