Skip to content

Commit

Permalink
Experimental image
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Minari <[email protected]>
  • Loading branch information
yangm97 committed Jul 27, 2017
1 parent a1895fc commit b0af57b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/*

0 comments on commit b0af57b

Please sign in to comment.