Merge pull request #2540 from eest/golang-remove-verify

Remove unnecessary "go mod verify"
This commit is contained in:
yosifkit 2025-02-10 09:44:07 -08:00 committed by GitHub
commit 7f0ca04705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ WORKDIR /usr/src/app
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
COPY go.mod go.sum ./
RUN go mod download && go mod verify
RUN go mod download
COPY . .
RUN go build -v -o /usr/local/bin/app ./...