update to go 1.22

This commit is contained in:
Christoph Haas 2024-04-29 23:28:32 +02:00
parent a6d985c2fe
commit 85381121ee
5 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ jobs:
fi fi
working_directory: ~/repo working_directory: ~/repo
docker: docker:
- image: cimg/go:1.21-node - image: cimg/go:1.22-node
workflows: workflows:
build-and-release: build-and-release:

View File

@ -20,7 +20,7 @@ RUN npm run build
###### ######
# Build backend # Build backend
###### ######
FROM --platform=${BUILDPLATFORM} golang:1.21-alpine as builder FROM --platform=${BUILDPLATFORM} golang:1.22-alpine as builder
# Set the working directory # Set the working directory
WORKDIR /build WORKDIR /build
# Download dependencies # Download dependencies

View File

@ -179,7 +179,7 @@ Ensure that the new database does not contain any data!
## Building ## Building
To build a standalone application, use the Makefile provided in the repository. To build a standalone application, use the Makefile provided in the repository.
Go version 1.20 or higher has to be installed to build WireGuard Portal. Go version 1.22 or higher has to be installed to build WireGuard Portal.
If you want to re-compile the frontend, NodeJS 18 and NPM >= 9 is required. If you want to re-compile the frontend, NodeJS 18 and NPM >= 9 is required.
```shell ```shell

View File

@ -1,5 +1,5 @@
To build a standalone application, use the Makefile provided in the repository. To build a standalone application, use the Makefile provided in the repository.
Go version **1.21** or higher has to be installed to build WireGuard Portal. Go version **1.22** or higher has to be installed to build WireGuard Portal.
If you want to re-compile the frontend, NodeJS **18** and NPM >= **9** is required. If you want to re-compile the frontend, NodeJS **18** and NPM >= **9** is required.
```shell ```shell

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/h44z/wg-portal module github.com/h44z/wg-portal
go 1.21 go 1.22.2
require ( require (
github.com/coreos/go-oidc/v3 v3.10.0 github.com/coreos/go-oidc/v3 v3.10.0