14 lines
310 B
Text
14 lines
310 B
Text
|
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"]
|