From b816bd89e2e7263bbbbda552906026a371239946 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sat, 15 May 2021 13:07:23 +0000 Subject: [PATCH] lua install --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d118b22..b0930a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,13 +77,14 @@ RUN apt-get update && \ && rm -rf /var/lib/apt/lists/* COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf #RUN apt-get install liblua5.3-dev +WORKDIR /usr/local/openresty RUN luarocks install --tree lua_modules luaposix && \ luarocks install --tree lua_modules etlua && \ - luarocks install --tree lua_modules luafilesystem && \\ - luarocks install lua-resty-auto-ssl + luarocks install --tree lua_modules luafilesystem && \ + luarocks install --tree lua_modules lua-resty-auto-ssl -RUN mkdir /etc/resty-auto-ssl \\ - && chown www-data /etc/resty-auto-ssl +RUN mkdir /etc/resty-auto-ssl #\ + #&& chown www-data /etc/resty-auto-ssl CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"]; \ No newline at end of file