diff --git a/Dockerfile b/Dockerfile index 7f8bf430..163970b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM golang:1.22 as builder # set goproxy=direct ENV GOPROXY direct +ENV GOINSECURE go.opencensus.io WORKDIR /workspace # Copy the Go Modules manifests @@ -10,8 +11,6 @@ COPY go.mod go.mod COPY go.sum go.sum # cache deps before building and copying source so that we don't need to re-download as much # and so that source changes don't invalidate our downloaded layer -RUN go get -v -d -t -insecure go.opencensus.io # temporary - RUN go mod download # Copy the go source