We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744c38c commit b79bfe8Copy full SHA for b79bfe8
Dockerfile
@@ -2,15 +2,15 @@ FROM golang:1.16.6-alpine3.13 AS builder
2
3
WORKDIR /usr/local/src/dex
4
5
+RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
6
RUN apk add --no-cache --update alpine-sdk
7
8
ARG TARGETOS
9
ARG TARGETARCH
10
ARG TARGETVARIANT=""
11
12
ENV GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOARM=${TARGETVARIANT}
-
13
-ARG GOPROXY
+ENV GOPROXY=https://goproxy.cn,direct
14
15
COPY go.mod go.sum ./
16
COPY api/v2/go.mod api/v2/go.sum ./api/v2/
0 commit comments