FROM xena/lua:5.3 WORKDIR /ketracel COPY . . ENV PATH $PATH:/root/.luarocks/bin RUN apk --no-cache add ngircd \ && luarocks-5.3 install --local moonscript \ && luarocks-5.3 install --local busted \ && luarocks-5.3 install --local --only-deps ./ketracel*.rockspec \ && ./scripts/test.sh \ && ./scripts/build_docker.sh \ && apk del ngircd