batstat/Dockerfile

9 lines
171 B
Docker

FROM archlinux:latest
RUN pacman --noconfirm -Sy gcc make
COPY . .
RUN make
RUN pacman --noconfirm -Rnsu gcc make
RUN useradd batstat
USER batstat
CMD [ "build/batstat" ]