From a3740aa7b54f7ca90482b08b672eabb84bd5b0ab Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Fri, 13 Jul 2018 16:17:47 -0700 Subject: [PATCH] shippingservice: add ca-certificates to image Signed-off-by: Ahmet Alp Balkan --- src/productcatalogservice/Dockerfile | 3 +-- src/shippingservice/Dockerfile | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/productcatalogservice/Dockerfile b/src/productcatalogservice/Dockerfile index cbcfa65..67d7069 100644 --- a/src/productcatalogservice/Dockerfile +++ b/src/productcatalogservice/Dockerfile @@ -17,8 +17,7 @@ RUN go get -d ./... RUN go build -o /productcatalogservice . FROM alpine as release -RUN apk add --no-cache \ - ca-certificates +RUN apk add --no-cache ca-certificates COPY --from=builder /productcatalogservice /productcatalogservice EXPOSE 3550 ENTRYPOINT ["/productcatalogservice"] diff --git a/src/shippingservice/Dockerfile b/src/shippingservice/Dockerfile index b04855d..7713871 100644 --- a/src/shippingservice/Dockerfile +++ b/src/shippingservice/Dockerfile @@ -17,6 +17,7 @@ RUN go get -d ./... RUN go build -o /shippingservice . FROM alpine as release +RUN apk add --no-cache ca-certificates COPY --from=builder /shippingservice /shippingservice ENV APP_PORT=50051 EXPOSE 50051