0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 17:30:44 -05:00

Add build steps for modules and launcher, remove Dockerfile

This commit is contained in:
Refringe 2024-03-02 22:29:09 -05:00
parent f16d4c7823
commit be1bfe9f56
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
3 changed files with 36 additions and 12 deletions

View File

@ -93,5 +93,24 @@ jobs:
with:
name: server-build
path: ./server/project/build/
overwrite: true
Build Modules:
runs-on: ubuntu-latest
container:
image: refringe/spt-build-dotnet:0.0.1
steps:
- name: Clone
run: |
rm -rf ./modules
git clone https://dev.sp-tarkov.com/SPT-AKI/Modules.git --branch 3.8.0-BE --depth 1 ./modules
Build Launcher:
runs-on: ubuntu-latest
container:
image: refringe/spt-build-dotnet:0.0.1
steps:
- name: Clone
run: |
rm -rf ./launcher
git clone https://dev.sp-tarkov.com/SPT-AKI/Launcher.git --branch 3.8.0-BE --depth 1 ./launcher

8
Dockerfile.dotnet Normal file
View File

@ -0,0 +1,8 @@
# Use the .NET 6.0 SDK base image
FROM mcr.microsoft.com/dotnet/sdk:6.0
# Install necessary tools and dependencies (git, zstd, wget, and p7zip-full)
RUN apt-get update && \
apt-get install -y git zstd wget p7zip-full && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

View File

@ -1,11 +1,8 @@
# Use the Node v20.10.0 base image
FROM node:20.10.0
# Install necessary tools and dependencies (git, git-lfs, and zstd)
RUN apt-get update && \
apt-get install -y git git-lfs zstd && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Set the working directory to /code
WORKDIR /code
# Use the Node v20.10.0 base image
FROM node:20.10.0
# Install necessary tools and dependencies (git, git-lfs, and zstd)
RUN apt-get update && \
apt-get install -y git git-lfs zstd && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*