We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257d22a commit e073b85Copy full SHA for e073b85
1 file changed
Dockerfile
@@ -12,18 +12,15 @@ RUN apk add --no-cache git ca-certificates tzdata
12
# Set working directory
13
WORKDIR /build
14
15
-# Copy go mod files
16
-COPY go.mod go.sum ./
17
-
18
# Set GOPRIVATE to bypass checksum database for telemetryflow SDK
19
ENV GOPRIVATE=github.com/telemetryflow/*
20
21
-# Download dependencies
22
-RUN go mod download
23
24
# Copy source code
25
COPY . .
26
+# Download dependencies
+RUN go mod download
+
27
# Build arguments
28
ARG VERSION=1.1.2
29
ARG COMMIT=unknown
0 commit comments