Merge pull request #7021 from travisn/golang-1-5
ci: Build with golang 1.15.7
This commit is contained in:
2 files changed
+15
-15
No files matched your search
@@ -1,6 +1,6 @@
|
||||
module github.com/rook/rook
|
||||
|
||||
go 1.13
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/aws/aws-sdk-go v1.35.24
|
||||
|
||||
+14
-14
@@ -17,18 +17,18 @@ FROM ubuntu:16.04
|
||||
# install build tools, compilers and cross compilers for all supported platforms
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -yy -q --no-install-recommends \
|
||||
awscli \
|
||||
ca-certificates \
|
||||
curl \
|
||||
docker.io \
|
||||
git \
|
||||
jq \
|
||||
lsb-release \
|
||||
make \
|
||||
rsync \
|
||||
runit \
|
||||
sudo \
|
||||
zip && \
|
||||
awscli \
|
||||
ca-certificates \
|
||||
curl \
|
||||
docker.io \
|
||||
git \
|
||||
jq \
|
||||
lsb-release \
|
||||
make \
|
||||
rsync \
|
||||
runit \
|
||||
sudo \
|
||||
zip && \
|
||||
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -yy -q --no-install-recommends nodejs && \
|
||||
@@ -37,8 +37,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# install golang from the official repo
|
||||
RUN GO_VERSION=1.13.8 && \
|
||||
GO_HASH=0567734d558aef19112f2b2873caa0c600f1b4a5827930eb5a7f35235219e9d8 && \
|
||||
RUN GO_VERSION=1.15.7 && \
|
||||
GO_HASH=0d142143794721bb63ce6c8a6180c4062bcf8ef4715e7d6d6609f3a8282629b3 && \
|
||||
curl -fsSL https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o golang.tar.gz && \
|
||||
echo "${GO_HASH} golang.tar.gz" | sha256sum -c - && \
|
||||
tar -C /usr/local -xzf golang.tar.gz && \
|
||||
|
||||
Reference in new issue
Block a user