change: Improved security and size of container
This commit is contained in:
parent
4a825d83c7
commit
cfc180cb32
@ -2,4 +2,7 @@ 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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user