diff options
-rw-r--r-- | docker/Dockerfile | 16 |
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 @@ | |||
1 | FROM ubuntu:18.04 | ||
2 | |||
3 | RUN apt-get update && apt-get install -y lua5.1 liblua5.1-0-dev cmake git unzip wget | ||
4 | |||
5 | RUN 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 | |||
12 | RUN luarocks install moonplus | ||
13 | |||
14 | RUN 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 | ||