from archlinux:latest
RUN pacman -Syuu --noconfirm && \
pacman -Sy --noconfirm --needed \
git \
base-devel \
lua \
luarocks \
&& pacman -Scc --noconfirm && \
curl --location --output /usr/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64" && \
chmod +x /usr/bin/release-cli
RUN luarocks install argparse &&\
luarocks install luafilesystem && \
luarocks install busted && \
luarocks install inspect && \
luarocks install luacov && \
luarocks install luacov-coveralls
WORKDIR /app