lua install

This commit is contained in:
2021-05-15 13:07:23 +00:00
parent 467cf12a52
commit b816bd89e2

View File

@@ -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;"];