shippingservice: add ca-certificates to image
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
53da3583e4
commit
a3740aa7b5
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue