Skip to content
Permalink
Browse files
all: update to Go 1.15
  • Loading branch information
mpl committed Nov 2, 2020
1 parent f2e7add commit cb96bb8bd32ce5f1a882b6d06a869a1a1925c57d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
@@ -5,7 +5,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.x, 1.13.x]
go-version: [1.x, 1.15.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}

@@ -5,7 +5,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x]
go-version: [1.15.x]
platform: [windows-latest]
runs-on: ${{ matrix.platform }}

@@ -22,11 +22,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libsqlite3-dev

ENV GOLANG_VERSION 1.13.5
ENV GOLANG_VERSION 1.15.3

WORKDIR /usr/local
RUN wget -O go.tgz https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
RUN echo "512103d7ad296467814a6e3f635631bd35574cab3369a97a323c9a585ccaa569 go.tgz" | sha256sum -c -
RUN echo "010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d go.tgz" | sha256sum -c -
RUN tar -zxvf go.tgz

ENV GOROOT /usr/local/go
@@ -1,3 +1,8 @@
** How to build the perkeep/go image: **

# TODO(mpl): make the tools build it.
docker build -t perkeep/go ./misc/docker/go

** How to build the Perkeep server docker image (for the GCE launcher): **

$ go run ./misc/docker/dock.go -rev=$GIT_REVISION -upload=true
@@ -898,7 +898,7 @@ func validateDirInGOPATH(dir string) error {
}

const (
goVersionMinor = 13
goVersionMinor = 15
gopherJSGoMinor = 12
)

@@ -7,8 +7,8 @@ RUN apt-get -y --no-install-recommends install ca-certificates libc6-dev
RUN apt-get -y --no-install-recommends install git

# Get Go stable release
ENV GOLANG_VERSION 1.13.5
ENV GOLANG_VERSION 1.15.3
WORKDIR /tmp
RUN curl -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz
RUN echo '512103d7ad296467814a6e3f635631bd35574cab3369a97a323c9a585ccaa569 go'${GOLANG_VERSION}'.linux-amd64.tar.gz' | sha256sum -c
RUN echo '010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d go'${GOLANG_VERSION}'.linux-amd64.tar.gz' | sha256sum -c
RUN tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz

0 comments on commit cb96bb8

Please sign in to comment.