Created
October 23, 2019 19:38
-
-
Save spk/8b69f84853e8db4d315846cd23766248 to your computer and use it in GitHub Desktop.
docker lua pretty build
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
FROM alpine | |
RUN apk add --no-cache \ | |
bash \ | |
build-base \ | |
ca-certificates \ | |
cmake \ | |
curl \ | |
gcc \ | |
git \ | |
libc-dev \ | |
lua \ | |
openssl-dev \ | |
tzdata | |
WORKDIR /opt | |
RUN curl -L "https://tinyurl.com/luadist" > install.sh | |
RUN sh install.sh | |
ENV PATH="/opt/LuaDist/bin:${PATH}" | |
RUN luadist /opt/lua-5.1 install lua-5.1.5 "lpeg<0.11" luapretty | |
# cd /opt/lua-5.1 | |
# ./bin/lua ./share/luapretty/etc/lua-highlighter.lua ./share/luapretty/etc/lua-highlighter.lua |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment