From 56adb85f4deb278c54f1d6a172fdf9ebe6c4a34e Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Sun, 14 Jul 2024 20:11:37 -0600 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 75ad5c7..a263968 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,14 @@ FROM cgr.dev/chainguard/wolfi-base RUN apk add --no-cache tini +# run as nobody 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 CMD ["/gdpm"]