Use go1.14.2 to build Blockbook

pull/419/head
Martin Boehm 2020-05-10 00:26:47 +02:00
parent ee3217aba8
commit a7d95a49df
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ RUN apt-get update && \
liblz4-dev graphviz && \
apt-get clean
ENV GOLANG_VERSION=go1.13.8.linux-amd64
ENV GOLANG_VERSION=go1.14.2.linux-amd64
ENV ROCKSDB_VERSION=v5.18.3
ENV GOPATH=/go
ENV PATH=$PATH:$GOPATH/bin
@ -19,7 +19,7 @@ ENV CGO_LDFLAGS="-L/opt/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4"
RUN mkdir /build
# install and configure go
RUN cd /opt && wget https://storage.googleapis.com/golang/$GOLANG_VERSION.tar.gz && \
RUN cd /opt && wget https://dl.google.com/go/$GOLANG_VERSION.tar.gz && \
tar xf $GOLANG_VERSION.tar.gz
RUN ln -s /opt/go/bin/go /usr/bin/go
RUN mkdir -p $GOPATH

View File

@ -194,7 +194,7 @@ like macOS or Windows, please read instructions specific for each project.
Setup go environment:
```
wget https://storage.googleapis.com/golang/go1.13.8.linux-amd64.tar.tz && tar xf go1.13.8.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.14.2.linux-amd64.tar.tz && tar xf go1.14.2.linux-amd64.tar.gz
sudo mv go /opt/go
sudo ln -s /opt/go/bin/go /usr/bin/go
# see `go help gopath` for details