misc: go 1.15 -> 1.16 (closes #1398)

This commit is contained in:
aviau 2021-07-29 17:31:24 -04:00
parent 5e0a3e5997
commit 8204dc0dd3
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
To build Perkeep:
1) Install Go 1.15 or later.
1) Install Go 1.16 or later.
2) cd to the root of the Perkeep source (where this file is)

View File

@ -22,11 +22,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libsqlite3-dev
ENV GOLANG_VERSION 1.15.7
ENV GOLANG_VERSION 1.16.6
WORKDIR /usr/local
RUN wget -O go.tgz https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
RUN echo "0d142143794721bb63ce6c8a6180c4062bcf8ef4715e7d6d6609f3a8282629b3 go.tgz" | sha256sum -c -
RUN echo "be333ef18b3016e9d7cb7b1ff1fdb0cac800ca0be4cf2290fe613b3d069dfe0d go.tgz" | sha256sum -c -
RUN tar -zxvf go.tgz
ENV GOROOT /usr/local/go

View File

@ -7,7 +7,7 @@ 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.15.3
ENV GOLANG_VERSION 1.16.6
WORKDIR /tmp
RUN curl -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz
RUN echo '010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d go'${GOLANG_VERSION}'.linux-amd64.tar.gz' | sha256sum -c

View File

@ -14,7 +14,7 @@ Windows), skip this section.
[Download and install Go](http://golang.org/doc/install) if you don't
have that installed already. As of revision
[cb96bb8bd3](https://github.com/perkeep/perkeep/commit/cb96bb8bd32ce5f1a882b6d06a869a1a1925c57d),
Perkeep requires [Go 1.15 or newer](https://golang.org/dl/).
Perkeep requires [Go 1.16 or newer](https://golang.org/dl/).
$ cd perkeep.org
$ go run make.go