From 1e73b09718a942e0fed8021184df4f1f50ec8c85 Mon Sep 17 00:00:00 2001 From: chandresh-pancholi Date: Mon, 20 May 2019 17:31:57 +0530 Subject: [PATCH] all-in-one image misses ca-certs - can not connect to cloud-based elasticsearch backend. (#1545) Signed-off-by: chandresh-pancholi --- cmd/all-in-one/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/all-in-one/Dockerfile b/cmd/all-in-one/Dockerfile index 1798cfb342d..77a54a2584f 100644 --- a/cmd/all-in-one/Dockerfile +++ b/cmd/all-in-one/Dockerfile @@ -1,3 +1,6 @@ +FROM alpine:latest as certs +RUN apk add --update --no-cache ca-certificates + FROM scratch # Agent zipkin.thrift compact @@ -21,6 +24,7 @@ EXPOSE 14250 # Web HTTP EXPOSE 16686 +COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY ./cmd/all-in-one/all-in-one-linux /go/bin/ COPY ./cmd/all-in-one/sampling_strategies.json /etc/jaeger/