From 2fd7545b6ca13f04e548672b2ece28f3b13a4b7a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 13 Oct 2020 18:33:18 -0700 Subject: [PATCH] fix: move to go1.15 (#10660) --- Dockerfile | 2 +- README.md | 2 +- mint/preinstall.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 159e7bd71..86f52a4b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14-alpine as builder +FROM golang:1.15-alpine as builder LABEL maintainer="MinIO Inc " diff --git a/README.md b/README.md index 459941aa5..47dc6c49c 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ service minio start ``` ## Install from Source -Source installation is only intended for developers and advanced users. If you do not have a working Golang environment, please follow [How to install Golang](https://golang.org/doc/install). Minimum version required is [go1.14](https://golang.org/dl/#stable) +Source installation is only intended for developers and advanced users. If you do not have a working Golang environment, please follow [How to install Golang](https://golang.org/doc/install). Minimum version required is [go1.15](https://golang.org/dl/#stable) ```sh GO111MODULE=on go get github.com/minio/minio diff --git a/mint/preinstall.sh b/mint/preinstall.sh index a4d7f096e..c2403c742 100755 --- a/mint/preinstall.sh +++ b/mint/preinstall.sh @@ -38,7 +38,7 @@ $APT update $APT install gnupg ca-certificates # download and install golang -GO_VERSION="1.14.7" +GO_VERSION="1.15.2" GO_INSTALL_PATH="/usr/local" 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