mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-19 19:17:01 -07:00
Updated Dockerfile
This commit is contained in:
parent
113dee2194
commit
56adb85f4d
1 changed files with 6 additions and 0 deletions
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue