diff --git a/.circleci/config.yml b/.circleci/config.yml index ef38b90..87580b4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,7 +55,7 @@ jobs: fi working_directory: ~/repo docker: - - image: cimg/go:1.21-node + - image: cimg/go:1.22-node workflows: build-and-release: diff --git a/Dockerfile b/Dockerfile index 317c2d9..4ec66eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN npm run build ###### # Build backend ###### -FROM --platform=${BUILDPLATFORM} golang:1.21-alpine as builder +FROM --platform=${BUILDPLATFORM} golang:1.22-alpine as builder # Set the working directory WORKDIR /build # Download dependencies diff --git a/README.md b/README.md index 6912c98..d1c24e8 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ Ensure that the new database does not contain any data! ## Building 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. ```shell diff --git a/docs/documentation/getting-started/building.md b/docs/documentation/getting-started/building.md index 6eead6a..0c372be 100644 --- a/docs/documentation/getting-started/building.md +++ b/docs/documentation/getting-started/building.md @@ -1,5 +1,5 @@ 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. ```shell diff --git a/go.mod b/go.mod index d7f7cc5..871b4e7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/h44z/wg-portal -go 1.21 +go 1.22.2 require ( github.com/coreos/go-oidc/v3 v3.10.0