Skip to content

Commit

Permalink
Merge branch 'genofire-master-patch-22893' into 'master'
Browse files Browse the repository at this point in the history
fix tls/https connections: take CA certs from builder

See merge request silkeh/alertmanager_matrix!4

(cherry picked from commit 46ccb1c06dd49c7eadf0001db411a9d91229c12c)

191d419f fix tls/https connections: take CA certs from builder
  • Loading branch information
silkeh committed Aug 7, 2022
1 parent 01cca13 commit a6292f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ COPY [".", "/build"]
RUN cd /build && CGO_ENABLED=0 go build -ldflags="-s -w" ./cmd/alertmanager_matrix

FROM scratch
COPY --from=build ["/etc/ssl/cert.pem", "/etc/ssl/certs/ca-certificates.crt"]
COPY --from=build ["/build/alertmanager_matrix", "/usr/local/bin/"]
ENTRYPOINT ["/usr/local/bin/alertmanager_matrix"]

0 comments on commit a6292f1

Please sign in to comment.