Skip to content

Commit

Permalink
chore: use debian-bookworm and custom user to zeenk
Browse files Browse the repository at this point in the history
  • Loading branch information
logotip4ik committed Oct 31, 2024
1 parent e7d5c9f commit 374cd6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/zeenk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ COPY . .

RUN CGO_ENABLED=0 go build -o /go/bin/zeenk-server

FROM gcr.io/distroless/static-debian12:latest
FROM debian:bookworm

RUN groupadd --gid 1000 nonroot \
&& useradd --uid 1000 --gid nonroot --shell /bin/bash --create-home nonroot

USER nonroot

Expand Down

0 comments on commit 374cd6c

Please sign in to comment.