shippingservice: add ca-certificates to image

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-13 16:17:47 -07:00
parent 53da3583e4
commit a3740aa7b5
2 changed files with 2 additions and 2 deletions

View file

@ -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"]

View file

@ -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