build edge containers with go1.14 (#10279)

This commit is contained in:
Harshavardhana 2020-08-18 23:38:11 -07:00 committed by GitHub
parent 74116204ce
commit ab801ad3d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.13-alpine as builder FROM golang:1.14-alpine as builder
LABEL maintainer="MinIO Inc <dev@min.io>" LABEL maintainer="MinIO Inc <dev@min.io>"

View File

@ -38,7 +38,7 @@ $APT update
$APT install gnupg ca-certificates $APT install gnupg ca-certificates
# download and install golang # download and install golang
GO_VERSION="1.13.12" GO_VERSION="1.14.7"
GO_INSTALL_PATH="/usr/local" GO_INSTALL_PATH="/usr/local"
download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz"
if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then