diff options
author | Cristian Haunsen <cristianhaunsen@gmail.com> | 2021-01-04 22:50:26 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 09:50:26 +0800 |
commit | 004ebbd138857f43e3d44030e96edaeba88b9315 (patch) | |
tree | f635449bd4eec881deae4000ed7961188e855026 | |
parent | 6a48f108666126893dcf7ff54b12172795858d3a (diff) | |
download | yuescript-004ebbd138857f43e3d44030e96edaeba88b9315.tar.gz yuescript-004ebbd138857f43e3d44030e96edaeba88b9315.tar.bz2 yuescript-004ebbd138857f43e3d44030e96edaeba88b9315.zip |
Setting moonp as CMD. Now you can run: docker run -it moonplus/moonplus:0.4.19 (#28)
* Added Dockerfile for Moonplus, Lua5.1 and luarocks 3
* Added example for tup. Tup is a file-based build system for Linux, OSX, and Windows.
* Update dockerfile
* Setting moonp as CMD. Now you can run: docker run -it moonplus/moonplus:0.4.19
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | docker/Dockerfile | 2 |
2 files changed, 12 insertions, 3 deletions
@@ -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 | |||
16 | RUN cd /tmp && git clone https://github.com/pigpigyyy/MoonPlus \ | 16 | RUN 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 | |||
20 | CMD ["moonp"] | ||