build: add Dockerfile

This commit is contained in:
2024-03-22 11:46:26 +01:00
parent 08d32522b0
commit a3fd324479
3 changed files with 93 additions and 7 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM alpine:latest
RUN apk add --no-cache gcompat libstdc++
COPY --chmod=755 ./linux-x64-release/iw4-validator /usr/local/bin/
RUN addgroup -S iw4 && adduser -S iw4 -G iw4
USER iw4
ENTRYPOINT ["/usr/local/bin/iw4-validator"]