Skip to content

Commit

Permalink
feat: add defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbaehler committed Oct 13, 2023
1 parent 5adc371 commit 31492c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dockers:
- image_templates:
- 'ghcr.io/oliverbaehler/{{ .ProjectName }}:{{ .Tag }}'
- 'ghcr.io/oliverbaehler/{{ .ProjectName }}:latest'
dockerfile: image/cloudflare-tunnel-ingress-controller/Dockerfile
dockerfile: image/cloudflare-tunnel-ingress-controller/Dockerfile.goreleaser
goos: linux
goarch: amd64
use: buildx
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
COPY cloudflare-tunnel-ingress-controller /cloudflare-tunnel-ingress-controller
LABEL org.opencontainers.image.source=https://github.com/oliverbaehler/cloudflare-tunnel-ingress-controller
WORKDIR /åå
USER nonroot:nonroot

ENTRYPOINT ["/cloudflare-tunnel-ingress-controllåer"]

0 comments on commit 31492c6

Please sign in to comment.