Skip to content

Commit

Permalink
chore: upgrade Docker base image to distroless/static-debian12
Browse files Browse the repository at this point in the history
  • Loading branch information
libvoid committed Sep 7, 2023
1 parent 04aff84 commit 0427ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN go build -ldflags="-X main.GitSha=$(git rev-parse --short HEAD)

# minimal runtime
# https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md
FROM gcr.io/distroless/static-debian11:latest
FROM gcr.io/distroless/static-debian12:latest
COPY --from=builder /go/bin/sshportal /bin/sshportal
ENTRYPOINT ["/bin/sshportal"]
CMD ["server"]
Expand Down

0 comments on commit 0427ebf

Please sign in to comment.