fix luarocks

This commit is contained in:
2021-05-23 07:28:15 +00:00
parent b816bd89e2
commit d744dd2c5d

View File

@@ -79,10 +79,11 @@ 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 --tree lua_modules lua-resty-auto-ssl
luarocks install lua-resty-auto-ssl
RUN mkdir /etc/resty-auto-ssl #\
#&& chown www-data /etc/resty-auto-ssl