From 004ebbd138857f43e3d44030e96edaeba88b9315 Mon Sep 17 00:00:00 2001 From: Cristian Haunsen Date: Mon, 4 Jan 2021 22:50:26 -0300 Subject: 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 --- README.md | 13 ++++++++++--- docker/Dockerfile | 2 ++ 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] ... * **Docker Hub** - Try moonp in another easy way: https://hub.docker.com/r/moonplus/moonplus - - + Try moonp in another easy way: https://hub.docker.com/r/moonplus/moonplus. + ```bash + docker run -it moonplus/moonplus:0.4.19 + ``` + + The REPL console should be ready, + ```bash + Moonscript+ 0.4.19 + > + ``` ## Editor Support 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 RUN cd /tmp && git clone https://github.com/pigpigyyy/MoonPlus \ && cd MoonPlus && make install \ && cd /tmp ; rm -rf MoonPlus/ + +CMD ["moonp"] -- cgit v1.2.3-55-g6feb