-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yan Minari <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM alpine:3.6 | ||
|
||
ENTRYPOINT ["lua"] | ||
|
||
ARG LUA_VERSION=5.2 | ||
|
||
RUN apk add --no-cache lua${LUA_VERSION} lua${LUA_VERSION}-dev build-base git bash unzip curl openssl-dev && \ | ||
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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM alpine:3.6 | ||
|
||
ENTRYPOINT ["lua"] | ||
|
||
ARG LUA_VERSION=5.3 | ||
|
||
RUN apk add --no-cache lua${LUA_VERSION} lua${LUA_VERSION}-dev build-base git bash unzip curl openssl-dev && \ | ||
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/* |