From de5d2b1055a8ef34296edcee6171d1d0be57fdb3 Mon Sep 17 00:00:00 2001 From: Volker Simonis Date: Tue, 12 Jul 2022 19:12:40 +0200 Subject: [PATCH] Building firectl requires at least Go 1.14 Signed-off-by: Volker Simonis --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 85e16bc..bb4db5c 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ else endif build-in-docker: - docker run --rm -v $(CURDIR):/firectl --workdir /firectl golang:1.12 make + docker run --rm -v $(CURDIR):/firectl --workdir /firectl golang:1.14 make test: go test -v ./... diff --git a/README.md b/README.md index 4e9e323..a0097b8 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Building The default Makefile rule executes `go build` and relies on the Go toolchain installed on your computer. -_We use [go modules](https://github.com/golang/go/wiki/Modules), so you need to -build with Go 1.11 or newer._ +_We use [go modules](https://github.com/golang/go/wiki/Modules), and building +requires Go 1.14 or newer._ If you do not have a new-enough Go toolchain installed, you can use `make build-in-docker`. This rule creates a temporary Docker container which builds