aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-01-05 10:07:31 +0800
committerLi Jin <dragon-fly@qq.com>2021-01-05 10:07:31 +0800
commitb6a2d1cda870946f63b41e32b623ec024df0e72d (patch)
tree87b6f0d399dcc0287dd910a12fa454881277723e
parent900e4d6548c15461653583c4e70c3658d0b60d17 (diff)
parent004ebbd138857f43e3d44030e96edaeba88b9315 (diff)
downloadyuescript-b6a2d1cda870946f63b41e32b623ec024df0e72d.tar.gz
yuescript-b6a2d1cda870946f63b41e32b623ec024df0e72d.tar.bz2
yuescript-b6a2d1cda870946f63b41e32b623ec024df0e72d.zip
Merge branch 'master' of https://github.com/pigpigyyy/MoonPlus
* 'master' of https://github.com/pigpigyyy/MoonPlus: Setting moonp as CMD. Now you can run: docker run -it moonplus/moonplus:0.4.19 (#28)
-rw-r--r--README.md13
-rw-r--r--docker/Dockerfile2
2 files changed, 12 insertions, 3 deletions
diff --git a/README.md b/README.md
index a45a852..5d699cd 100644
--- a/README.md
+++ b/README.md
@@ -109,9 +109,16 @@ Usage: moonp [options|files|directories] ...
109 109
110 110
111* **Docker Hub** 111* **Docker Hub**
112 Try moonp in another easy way: https://hub.docker.com/r/moonplus/moonplus 112 Try moonp in another easy way: https://hub.docker.com/r/moonplus/moonplus.
113 113 ```bash
114 114 docker run -it moonplus/moonplus:0.4.19
115 ```
116
117 The REPL console should be ready,
118 ```bash
119 Moonscript+ 0.4.19
120 >
121 ```
115 122
116## Editor Support 123## Editor Support
117 124
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 895aba3..c4ccab9 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -16,3 +16,5 @@ RUN luarocks install moonplus
16RUN cd /tmp && git clone https://github.com/pigpigyyy/MoonPlus \ 16RUN cd /tmp && git clone https://github.com/pigpigyyy/MoonPlus \
17 && cd MoonPlus && make install \ 17 && cd MoonPlus && make install \
18 && cd /tmp ; rm -rf MoonPlus/ 18 && cd /tmp ; rm -rf MoonPlus/
19
20CMD ["moonp"]