Browse Source

change builder back to golang buster

Signed-off-by: allan716 <[email protected]>
allan716 4 years ago
parent
commit
7aa1c2460e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -1,9 +1,9 @@
-FROM superng6/go:latest AS builder
+FROM golang:1.15-buster AS builder
 
 LABEL stage=gobuilder
 
 # 开始编译
-ENV CGO_ENABLED 1
+ENV CGO_ENABLED 0
 ENV GO111MODULE=on
 ENV GOOS linux
 ENV GOPROXY https://goproxy.cn,direct