Updated Dockerfile

This commit is contained in:
David Allen 2024-07-14 20:11:37 -06:00
parent 113dee2194
commit 56adb85f4d
No known key found for this signature in database
GPG key ID: 1D2A29322FBB6FCB

View file

@ -2,8 +2,14 @@ FROM cgr.dev/chainguard/wolfi-base
RUN apk add --no-cache tini RUN apk add --no-cache tini
# run as nobody
USER 65534:65534 USER 65534:65534
# build the binary then copy into container
RUN bin/compile.sh --link
RUN bin/compile.sh --all
COPY build/gdpm.static /gdpm COPY build/gdpm.static /gdpm
CMD ["/gdpm"] CMD ["/gdpm"]