Add mostly not working luaw dockerfile

This commit is contained in:
Christine Dodrill 2015-03-23 18:20:52 -07:00
parent 950a213f55
commit 06ae22e688
1 changed files with 27 additions and 0 deletions

27
net/luaw/Dockerfile Normal file
View File

@ -0,0 +1,27 @@
FROM flitter/init
RUN apt-get update && apt-get install -y build-essential make gcc g++ curl autotools-dev libtool autoconf libreadline-dev
# install lua 5.2
RUN mkdir /opt/install/lua-5.2 -p && cd /opt/install/lua-5.2 &&\
curl -R -O http://www.lua.org/ftp/lua-5.2.3.tar.gz &&\
tar zxf lua-5.2.3.tar.gz &&\
cd lua-5.2.3 &&\
make linux &&\
make linux install
# libuv
RUN mkdir /opt/install/libuv-1.0 && cd /opt/install/libuv-1.0 &&\
curl -R -o libuv-1.0.tgz https://codeload.github.com/libuv/libuv/tar.gz/v1.0.0 &&\
tar zxf libuv-1.0.tgz &&\
cd libuv-1.0.0 &&\
sh autogen.sh &&\
./configure &&\
make && make install
RUN mkdir /opt/install/luaw -p && cd /opt/install/luaw &&\
curl -R -o luaw-master.tgz https://codeload.github.com/raksoras/luaw/tar.gz/master &&\
tar zxf luaw-master.tgz &&\
cd luaw-master &&\
make linux &&\
make INSTALL_ROOT=/app install