chore: Update to Go v1.21

- go mod tidy (all modules)
- go work sync
- Fixed plugin generation for Go 1.21
- Updated linting for Go 1.21
- Fixed minecraft example for Helm v3 pull download path
- Update dev docs to mention Go 1.21
- Regenerate plugins with Go 1.21
This commit is contained in:
Karl Isenberg
2024-03-05 13:58:02 -08:00
parent e9fc57abd6
commit 4dbc0d22e1
119 changed files with 347 additions and 87 deletions

View File

@@ -3,7 +3,7 @@
# This Dockerfile is based on:
# (https://github.com/kubernetes/website/blob/main/Dockerfile)
FROM docker.io/library/golang:1.20-alpine
FROM docker.io/library/golang:1.21-alpine
RUN apk add --no-cache \
curl \
@@ -21,7 +21,7 @@ RUN mkdir $HOME/src && \
cd "hugo-${HUGO_VERSION}" && \
go install --tags extended
FROM docker.io/library/golang:1.20-alpine
FROM docker.io/library/golang:1.21-alpine
RUN apk add --no-cache \
runuser \

View File

@@ -9,7 +9,7 @@ description: >
First install the tools to build and run tests
### Install go 1.20
### Install go 1.21
[Instructions](https://golang.org/doc/install)