This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch fix/dockerfile
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git

commit 581146508dd7cacfe00df31f8d68ebeacc0cf352
Author: Albumen Kevin <[email protected]>
AuthorDate: Sun Feb 26 21:39:35 2023 +0800

    Remove proxy in Dockerfile
---
 Dockerfile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 9915d269..4586173d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,15 +19,13 @@
 
 ### builder
 FROM golang:alpine as builder
-LABEL MAINTAINER="[email protected]"
+LABEL MAINTAINER="[email protected]"
 
-ENV GOPROXY="https://goproxy.cn,direct"; \
-    GO111MODULE=on \
+ENV GO111MODULE=on \
     CGO_ENABLED=0 \
     GOOS=linux \
     GOARCH=amd64
 
-RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' 
/etc/apk/repositories
 WORKDIR /app/
 COPY . .
 RUN go mod download

Reply via email to