-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CA certificates to collector/query images
Signed-off-by: Yuri Shkuro <ys@uber.com>
- Loading branch information
Yuri Shkuro
committed
Dec 16, 2017
1 parent
6cb46f5
commit 1441bed
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
FROM alpine as certs | ||
RUN apk add --update --no-cache ca-certificates | ||
|
||
FROM scratch | ||
|
||
COPY --from=certs /usr/share/ca-certificates/ /usr/share/ca-certificates/ | ||
COPY --from=certs /etc/ssl/ /etc/ssl/ | ||
|
||
EXPOSE 14267 | ||
COPY collector-linux /go/bin/ | ||
CMD ["/go/bin/collector-linux"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters