Skip to content

Commit

Permalink
Add ca-certificates from a trusted source (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio authored Jan 11, 2025
1 parent 631320b commit b53dc49
Show file tree
Hide file tree
Showing 4 changed files with 3,625 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Version }}"
- '--label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}'
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
extra_files:
- extras/ca-certificates.crt
- image_templates:
- "ghcr.io/patrickdappollonio/wait-for:{{ .Tag }}-arm64"
goos: linux
Expand All @@ -61,6 +63,8 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Version }}"
- '--label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}'
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
extra_files:
- extras/ca-certificates.crt
docker_manifests:
- name_template: "ghcr.io/patrickdappollonio/wait-for:v{{ .RawVersion }}"
image_templates:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM scratch
COPY wait-for /wait-for
COPY extras/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENTRYPOINT ["/wait-for"]
Loading

0 comments on commit b53dc49

Please sign in to comment.