chore: upgrade golang to 1.18
parent
3ae9a767c6
commit
62fda6ec7f
|
@ -59,15 +59,7 @@ To add a dependency via Yarn, for example, run `yarn add <dependency>` from with
|
|||
|
||||
## Installing Go
|
||||
|
||||
Chronograf requires Go 1.16 or higher.
|
||||
|
||||
## Installing & Using Dep
|
||||
|
||||
You'll need to install Dep to manage the backend (Go) dependencies.
|
||||
|
||||
* [Install Dep](https://github.com/golang/dep)
|
||||
|
||||
To add a dependency via Dep, for example, run `dep ensure -add <dependency>` from within the `/chronograf` directory. _Note that as of this writing, `dep ensure` will modify many extraneous vendor files, so you'll need to run `dep prune` to clean this up before committing your changes. Apparently, the next version of `dep` will take care of this step for you._
|
||||
Chronograf requires Go 1.18 or higher.
|
||||
|
||||
## Revision Control Systems
|
||||
|
||||
|
|
|
@ -181,11 +181,11 @@ docker pull chronograf:latest
|
|||
|
||||
### From Source
|
||||
|
||||
* Chronograf works with go 1.16+, node 12 LTS, and yarn 1.7+.
|
||||
* Chronograf works with go 1.18+, node 12 LTS, and yarn 1.7+.
|
||||
* Chronograf requires [Kapacitor](https://github.com/influxdata/kapacitor)
|
||||
1.5.x+ to create and store alerts.
|
||||
|
||||
1. [Install Go 1.16](https://golang.org/doc/install)
|
||||
1. [Install Go 1.18](https://golang.org/doc/install)
|
||||
1. [Install Node (version 16 LTS)](https://nodejs.org/en/about/releases/)
|
||||
1. [Install yarn](https://yarnpkg.com/docs/install)
|
||||
1. [Setup your GOPATH](https://golang.org/doc/code.html#GOPATH)
|
||||
|
|
|
@ -33,7 +33,7 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
|||
|
||||
# Install go
|
||||
ENV GOPATH /root/go
|
||||
ENV GO_VERSION 1.16.4
|
||||
ENV GO_VERSION 1.18
|
||||
ENV GO_ARCH amd64
|
||||
ENV GO111MODULES ON
|
||||
RUN wget https://golang.org/dl/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
||||
|
|
Loading…
Reference in New Issue