We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7101f8 commit 18ce074Copy full SHA for 18ce074
Dockerfile
@@ -10,10 +10,7 @@ RUN apk add --no-cache \
10
11
WORKDIR /build
12
COPY go.sum go.mod .
13
-
14
-# Fetch dependencies in a separate layer to speed up rebuilds.
15
-ARG FORMAT='{{ if not .Main }}{{ .Path }}/...@{{ .Version }}{{ end }}'
16
-RUN for PACKAGE in $(go list -m -f "$FORMAT" all); do go get $PACKAGE; done
+RUN go mod download
17
18
# Build.
19
COPY . .
0 commit comments