Skip to content

Commit

Permalink
Dockerfile: add go mod verify
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
  • Loading branch information
drakkan committed Sep 6, 2024
1 parent 1b928ef commit 1f46df0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /workspace
ARG GOPROXY

COPY go.mod go.sum ./
RUN go mod download
RUN go mod download && go mod verify

ARG COMMIT_SHA

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /workspace
ARG GOPROXY

COPY go.mod go.sum ./
RUN go mod download
RUN go mod download && go mod verify

ARG COMMIT_SHA

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.distroless
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /workspace
ARG GOPROXY

COPY go.mod go.sum ./
RUN go mod download
RUN go mod download && go mod verify

ARG COMMIT_SHA

Expand Down

0 comments on commit 1f46df0

Please sign in to comment.