From 933b1ebf0eae30756b65393adec03773f28a8a07 Mon Sep 17 00:00:00 2001 From: Criztian Haunsen Date: Wed, 5 Aug 2020 22:16:23 -0300 Subject: Added Dockerfile for Moonplus, Lua5.1 and luarocks 3 --- docker/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docker/Dockerfile (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..a74a7bf --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,16 @@ +FROM ubuntu:18.04 + +RUN apt-get update && apt-get install -y lua5.1 liblua5.1-0-dev cmake git unzip wget + +RUN cd /tmp && wget https://luarocks.org/releases/luarocks-3.3.1.tar.gz \ + && tar zxpf luarocks-3.3.1.tar.gz \ + && cd luarocks-3.3.1 \ + && ./configure \ + && make && make install \ + && cd /tmp ; rm -rf luarocks-3.3.1 luarocks-3.3.1.tar.gz + +RUN luarocks install moonplus + +RUN cd /tmp && git clone https://github.com/pigpigyyy/MoonPlus \ + && cd MoonPlus && make install \ + && cd /tmp ; rm -rf MoonPlus/ \ No newline at end of file -- cgit v1.2.3-55-g6feb