Skip to content

Commit

Permalink
fix dockerfile for assetCollectionService.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Jul 1, 2024
1 parent 4bd1fc0 commit 19de3d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/Dockerfile-assetCollectionService
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM us.icr.io/dia-registry/devops/build-120:latest as build
WORKDIR $GOPATH/src/

COPY ./cmd/assetCollectionService ./
RUN go mod tidy -go=1.20 && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go install
ARG CGO_ENABLED=0
RUN go mod tidy && go install -ldflags="-s -w"

FROM gcr.io/distroless/base

Expand Down

0 comments on commit 19de3d1

Please sign in to comment.