remove -v from go-build dockerfiles
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
f06818db0c
commit
4ade7ddb29
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ RUN apk add --no-cache ca-certificates git
|
||||||
WORKDIR /src/microservices-demo/catalogservice
|
WORKDIR /src/microservices-demo/catalogservice
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go get -d ./...
|
RUN go get -d ./...
|
||||||
RUN go build -v -o /catalogservice .
|
RUN go build -o /catalogservice .
|
||||||
|
|
||||||
FROM alpine as release
|
FROM alpine as release
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
|
|
|
@ -5,7 +5,7 @@ RUN apk add --no-cache \
|
||||||
WORKDIR /src/microservices-demo/productcatalogservice
|
WORKDIR /src/microservices-demo/productcatalogservice
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go get -d ./...
|
RUN go get -d ./...
|
||||||
RUN go build -v -o /productcatalogservice .
|
RUN go build -o /productcatalogservice .
|
||||||
|
|
||||||
FROM alpine as release
|
FROM alpine as release
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
|
|
|
@ -5,7 +5,7 @@ RUN apk add --no-cache \
|
||||||
WORKDIR /src/microservices-demo/shippingservice
|
WORKDIR /src/microservices-demo/shippingservice
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go get -d ./...
|
RUN go get -d ./...
|
||||||
RUN go build -v -o /shippingservice .
|
RUN go build -o /shippingservice .
|
||||||
|
|
||||||
FROM alpine as release
|
FROM alpine as release
|
||||||
COPY --from=builder /shippingservice /shippingservice
|
COPY --from=builder /shippingservice /shippingservice
|
||||||
|
|
Loading…
Reference in a new issue