Update Dockerfile

This commit is contained in:
James Baker 2021-02-21 10:14:54 +11:00 committed by GitHub
parent 117766562b
commit e3fc4afd41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
ARG TARGET_GOOS ARG TARGET_GOOS
ARG TARGET_GOARCH ARG TARGET_GOARCH
FROM golang:1.15.7 as builder FROM golang:1.15.7 as builder
ENV GO111MODULE=on \ ENV GO111MODULE=auto \
CGO_ENABLED=0 \ CGO_ENABLED=0 \
TARGET_GOOS=${TARGET_GOOS} \ TARGET_GOOS=${TARGET_GOOS} \
TARGET_GOARCH=${TARGET_GOARCH} TARGET_GOARCH=${TARGET_GOARCH}