Skip to content

Commit 260b5ae

Browse files
committed
chore: use GOPROXY in docker builds
1 parent 417dbb8 commit 260b5ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ RUN go mod download
88
COPY . /workdir
99
WORKDIR /workdir
1010

11-
RUN cd casket && go mod init casket && GOPRIVATE=github.com/tmpim/casket go get "github.com/tmpim/casket@master" \
11+
RUN cd casket && go mod init casket \
12+
&& GOPROXY=https://proxy.golang.org,direct GOPRIVATE=github.com/tmpim/casket go get "github.com/tmpim/casket@master" \
1213
&& go mod tidy && go build -o casket
1314

1415
FROM alpine:3

0 commit comments

Comments
 (0)