13 lines
310 B
Docker
13 lines
310 B
Docker
FROM akorn/luarocks:lua5.1-alpine
|
|
|
|
RUN apk add build-base openssl-dev
|
|
|
|
RUN luarocks install luasocket \
|
|
&& luarocks install luasec \
|
|
&& luarocks install lua-cjson \
|
|
&& luarocks install redis-lua \
|
|
&& luarocks install luaposix
|
|
|
|
WORKDIR /opt/updater
|
|
COPY updater.lua .
|
|
CMD ["lua", "updater.lua"]
|