lua install
This commit is contained in:
@@ -77,13 +77,14 @@ RUN apt-get update && \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
|
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
|
||||||
#RUN apt-get install liblua5.3-dev
|
#RUN apt-get install liblua5.3-dev
|
||||||
|
WORKDIR /usr/local/openresty
|
||||||
|
|
||||||
RUN luarocks install --tree lua_modules luaposix && \
|
RUN luarocks install --tree lua_modules luaposix && \
|
||||||
luarocks install --tree lua_modules etlua && \
|
luarocks install --tree lua_modules etlua && \
|
||||||
luarocks install --tree lua_modules luafilesystem && \\
|
luarocks install --tree lua_modules luafilesystem && \
|
||||||
luarocks install lua-resty-auto-ssl
|
luarocks install --tree lua_modules lua-resty-auto-ssl
|
||||||
|
|
||||||
RUN mkdir /etc/resty-auto-ssl \\
|
RUN mkdir /etc/resty-auto-ssl #\
|
||||||
&& chown www-data /etc/resty-auto-ssl
|
#&& chown www-data /etc/resty-auto-ssl
|
||||||
|
|
||||||
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];
|
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];
|
||||||
Reference in New Issue
Block a user