Skip to content

Instantly share code, notes, and snippets.

@henriquechehad
Created May 29, 2017 15:01
Show Gist options
  • Save henriquechehad/110d97623356bf4d8765c2a580b76330 to your computer and use it in GitHub Desktop.
Save henriquechehad/110d97623356bf4d8765c2a580b76330 to your computer and use it in GitHub Desktop.
FROM ubuntu:trusty
RUN apt-get update && apt-get install -y lua5.1 liblua5.1 lua-sec luajit curl make \
libpcre3-dev unzip git libssl-dev libreadline-dev \
libncurses5-dev libpcre3-dev libssl-dev perl wget
RUN curl -fSL http://luarocks.org/releases/luarocks-2.3.0.tar.gz -o ../luarocks-2.3.0.tar.gz
RUN tar xzf ../luarocks-2.3.0.tar.gz -C ../
RUN cd ../luarocks-2.3.0 && ./configure --lua-suffix=jit --with-lua=/usr && make build && make install
RUN luarocks install busted 2.0.rc12
RUN luarocks install luacov 0.12.0
RUN luarocks install struct 1.4
RUN luarocks install lua-resty-http 0.10
RUN luarocks install lua-resty-consul 0.1
RUN luarocks install lua-cjson 2.1.0
RUN luarocks install inspect 3.1.0
RUN luarocks install lrexlib-pcre 2.8.0
RUN luarocks install protobuf 1.1.1
RUN luarocks install lua-resty-jit-uuid 0.0.6
RUN luarocks install lua-resty-sse 0.1.1
RUN luarocks install lua-api-gateway-aws 1.7.1-0
RUN luarocks install luacrypto 0.3.2-2
RUN luarocks install lua-resty-hmac
RUN luarocks install lua-resty-string 0.09-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment