aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCriztian Haunsen <cristianhaunsen@gmail.com>2020-08-05 22:16:23 -0300
committerLi Jin <dragon-fly@qq.com>2020-08-10 11:06:55 +0800
commit933b1ebf0eae30756b65393adec03773f28a8a07 (patch)
treee2534f491bf1ef4efc623448738384b40af194ae
parent7b281220d309643cb5dfab9c209920cdea525002 (diff)
downloadyuescript-933b1ebf0eae30756b65393adec03773f28a8a07.tar.gz
yuescript-933b1ebf0eae30756b65393adec03773f28a8a07.tar.bz2
yuescript-933b1ebf0eae30756b65393adec03773f28a8a07.zip
Added Dockerfile for Moonplus, Lua5.1 and luarocks 3
-rw-r--r--docker/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 0000000..a74a7bf
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,16 @@
1FROM ubuntu:18.04
2
3RUN apt-get update && apt-get install -y lua5.1 liblua5.1-0-dev cmake git unzip wget
4
5RUN cd /tmp && wget https://luarocks.org/releases/luarocks-3.3.1.tar.gz \
6 && tar zxpf luarocks-3.3.1.tar.gz \
7 && cd luarocks-3.3.1 \
8 && ./configure \
9 && make && make install \
10 && cd /tmp ; rm -rf luarocks-3.3.1 luarocks-3.3.1.tar.gz
11
12RUN luarocks install moonplus
13
14RUN cd /tmp && git clone https://github.com/pigpigyyy/MoonPlus \
15 && cd MoonPlus && make install \
16 && cd /tmp ; rm -rf MoonPlus/ \ No newline at end of file