Switch nightly version branch to 4.0.x-DEV

This commit is contained in:
AirryCo
2025-01-10 22:03:41 +08:00
parent a7c3657de3
commit 71321e858d
3 changed files with 25 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
FROM node:20.11.1-bullseye AS server-builder
RUN apt update && apt install -y git git-lfs p7zip-full && \
git clone -b 3.10.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git lfs pull && \
GIT_LFS_SKIP_SMUDGE=1 git clone -b 4.0.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git config -f .lfsconfig lfs.url https://$SECRET_KEY:@git.962525.xyz:2096/henry/spt-server.git/info/lfs && git lfs pull && \
cd project && \
npm install && npm run build:release && \
rm -rf /var/lib/apt/lists/*

View File

@@ -1,14 +1,14 @@
FROM node:20.11.1-alpine AS fika-builder
FROM node:22.12.0-alpine AS fika-builder
RUN apk add --no-cache git unzip && \
git clone -b main --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
git clone -b dev-4.0 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
cd /fika-server && \
npm install && npm run build && \
mkdir output && cd output && unzip /fika-server/dist/fika-server.zip
FROM node:20.11.1-bullseye AS server-builder
FROM node:22.12.0-bullseye AS server-builder
RUN apt update && apt install -y git git-lfs p7zip-full && \
git clone -b 3.10.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git lfs pull && \
GIT_LFS_SKIP_SMUDGE=1 git clone -b 4.0.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git config -f .lfsconfig lfs.url https://$SECRET_KEY:@git.962525.xyz:2096/henry/spt-server.git/info/lfs && git lfs pull && \
cd project && \
npm install && npm run build:release && \
rm -rf /var/lib/apt/lists/*