Merge branch 'master' of github.com:caprover/caprover

This commit is contained in:
Kasra Bigdeli
2026-08-05 21:02:36 -07:00
14 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
- run: |
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
- run: npm ci && npm run formatter
+2 -2
View File
@@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
- run: |
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
+2 -2
View File
@@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
- run: |
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
+2 -2
View File
@@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
- run: |
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
+1 -1
View File
@@ -31,7 +31,7 @@ The frontend is maintained in `caprover/caprover-frontend`. User-facing document
## Validation
Use Node.js 22.
Use Node.js 24.
```bash
npm ci
+1 -1
View File
@@ -2,7 +2,7 @@
Available as `edge`
- TBD
- Improved: Updated Node.js to version 24 and removed unsupported ARMv7 images [PR-2448](https://github.com/caprover/caprover/pull/2448)
## [1.15.0] - 2026-08-04
+1 -1
View File
@@ -64,7 +64,7 @@ Link this folder to the root folder (Apple does not allow to create folder on th
#####
use node 22 then
use node 24 then
```bash
$ npm install
+1 -1
View File
@@ -58,7 +58,7 @@ docker buildx create --name mybuilder
docker buildx use mybuilder
# docker buildx build --platform linux/arm -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.edge --push .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.edge --push .
docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.edge --push .
# docker build -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.edge .
# docker push $IMAGE_NAME:latest
+1 -1
View File
@@ -71,4 +71,4 @@ docker buildx rm mybuilder || echo "mybuilder not found"
docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx build --platform linux/amd64,linux/arm64,linux/arm -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.release --push .
docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.release --push .
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22
FROM node:24
RUN apt-get update && apt-get full-upgrade -yqq && apt-get install build-essential cmake -yqq
RUN apt-get -y install netcat-traditional socat
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22-alpine
FROM node:24-alpine
RUN apk update && apk upgrade --no-cache && apk add --update --no-cache make gcc g++ git curl openssl openssh
RUN mkdir -p /usr/src/app
+3 -3
View File
@@ -1,5 +1,5 @@
# Build stage runs on the host platform to avoid QEMU SIGILL issues with Node.js 22 on arm64
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
# Build stage runs on the host platform to avoid QEMU SIGILL issues with Node.js 24 on arm64
FROM --platform=$BUILDPLATFORM node:24-alpine AS builder
RUN apk add --update --no-cache make gcc g++ git curl openssl
WORKDIR /usr/src/app
@@ -13,7 +13,7 @@ RUN npm ci && \
mv ./edge-override.json ./config-override.json
# Final stage uses the target platform's Node.js runtime
FROM node:22-alpine
FROM node:24-alpine
RUN apk add --update --no-cache git curl openssl openssh
WORKDIR /usr/src/app
+3 -3
View File
@@ -1,5 +1,5 @@
# Build stage runs on the host platform to avoid QEMU SIGILL issues with Node.js 22 on arm64
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
# Build stage runs on the host platform to avoid QEMU SIGILL issues with Node.js 24 on arm64
FROM --platform=$BUILDPLATFORM node:24-alpine AS builder
RUN apk add --update --no-cache make gcc g++ git curl openssl
WORKDIR /usr/src/app
@@ -12,7 +12,7 @@ RUN npm ci && \
npm cache clean --force
# Final stage uses the target platform's Node.js runtime
FROM node:22-alpine
FROM node:24-alpine
RUN apk add --update --no-cache git curl openssl openssh
WORKDIR /usr/src/app