From b0af57b6e30bb768947d2f4e8ecb507497a37dc9 Mon Sep 17 00:00:00 2001 From: Yan Minari Date: Thu, 27 Jul 2017 16:45:46 -0300 Subject: [PATCH] Experimental image Signed-off-by: Yan Minari --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e9a1b54 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM alpine:3.6 + +ENTRYPOINT ["lua"] + +ARG LUA_VERSION=5.1 + +RUN apk add --no-cache lua${LUA_VERSION} lua${LUA_VERSION}-dev build-base git bash unzip && \ + ln -s /usr/bin/lua${LUA_VERSION} /usr/local/bin/lua && \ + cd /tmp && \ + git clone https://github.com/keplerproject/luarocks.git && \ + cd luarocks && \ + sh ./configure --lua-version=${LUA_VERSION} && \ + make build install && \ + rm -rf /tmp/*