Skip to content

Commit 4beb5e0

Browse files
committed
feat: add support for image building with a custom GOPROXY
Signed-off-by: Ivan Kolodiazhnyi <[email protected]>
1 parent ba92b86 commit 4beb5e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
# Build the image
1818
FROM golang:1.24 as builder
1919

20+
ARG GOPROXY
21+
ENV GOPROXY=$GOPROXY
22+
2023
WORKDIR /workspace
2124
# Copy the Go Modules manifests
2225
COPY go.mod go.mod

0 commit comments

Comments
 (0)