Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
fix: swap to static-debian12:nonroot
Browse files Browse the repository at this point in the history
  • Loading branch information
s0up4200 committed Apr 8, 2024
1 parent fab6ae9 commit 2ae5e28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist/
bin/
redactedhook/
.vscode

__debug_bin
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY . ./
RUN go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISION} -X main.date=${BUILDTIME}" -o bin/redactedhook cmd/redactedhook/main.go

# build runner
FROM gcr.io/distroless/static-debian12
FROM gcr.io/distroless/static-debian12:nonroot

ENV HOME="/redactedhook" \
XDG_CONFIG_HOME="/redactedhook" \
Expand Down

0 comments on commit 2ae5e28

Please sign in to comment.