Skip to content

Commit

Permalink
Add CA certificates to collector/query images
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <ys@uber.com>
  • Loading branch information
Yuri Shkuro committed Dec 16, 2017
1 parent 6cb46f5 commit 1441bed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/collector/Dockerfile
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"]
6 changes: 6 additions & 0 deletions cmd/query/Dockerfile
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 16686
COPY query-linux /go/bin/
ADD jaeger-ui-build /go/jaeger-ui/
Expand Down

0 comments on commit 1441bed

Please sign in to comment.