refactor: organize lua dependencies

This commit is contained in:
Eugene Prodan
2021-06-12 00:55:15 +03:00
parent 55ad0713bb
commit ff669a9e64
4 changed files with 19 additions and 1563 deletions

View File

@@ -97,7 +97,7 @@ ADD haproxy/docker-entrypoint.sh /usr/local/bin/
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
# This is terrible mess but we need it for simple testing purposes of our POC
RUN apt-get update && apt-get install libssl-dev make nano wget gcc libreadline-dev unzip git socat -y
RUN apt-get update && apt-get install libssl-dev make nano wget gcc libreadline-dev unzip git socat cmake g++ -y
RUN wget http://www.lua.org/ftp/lua-5.3.5.tar.gz &&\
tar -zxf lua-5.3.5.tar.gz &&\
cd lua-5.3.5 &&\
@@ -114,7 +114,8 @@ RUN wget "https://luarocks.org/releases/luarocks-3.3.1.tar.gz" &&\
RUN /usr/local/bin/luarocks install luasocket &&\
/usr/local/bin/luarocks install luasec &&\
/usr/local/bin/luarocks install net-url &&\
/usr/local/bin/luarocks install md5
/usr/local/bin/luarocks install md5 &&\
/usr/local/bin/luarocks install rapidjson
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]