mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
update to go 1.22
This commit is contained in:
parent
a6d985c2fe
commit
85381121ee
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user