Skip to content

Commit 84e81a5

Browse files
Merge pull request #387 from ARichman555/wrichman-docker-fix
Add defaults for Docker build-args
2 parents e858a59 + b248504 commit 84e81a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ENV CGO_ENABLED=0
1818
ENV GOOS=${TARGETOS:-linux}
1919
ENV GOARCH=${TARGETARCH:-amd64}
2020
ENV GO111MODULE=on
21-
ARG go_cache
22-
ARG go_mod_cache
21+
ARG go_cache=/pkg/go-cache
22+
ARG go_mod_cache=/pkg/go-mod
2323

2424
RUN go env -w GOCACHE=${go_cache}
2525
RUN go env -w GOMODCACHE=${go_mod_cache}

0 commit comments

Comments
 (0)