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

Update build.yaml and Dockerfile

This commit is contained in:
Refringe 2024-03-01 12:03:28 -05:00
parent 17335464ae
commit 3a47b1f07b
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
2 changed files with 4 additions and 5 deletions

View File

@ -10,14 +10,14 @@ jobs:
build-server:
runs-on: ubuntu-latest
container:
image: refringe/spt-build-environment:1.0.2
image: refringe/spt-build-environment:1.0.3
steps:
- name: Checkout Server Project
uses: actions/checkout@v4
with:
repository: 'refringe/Server'
ref: 'v3.8.0-BE'
ref: '3.8.0-BE'
fetch-depth: 0
lfs: true

View File

@ -7,9 +7,8 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Set the working directory to /code
WORKDIR /code
# Add a non-root user for running the build
RUN useradd -m builder
USER builder
WORKDIR /workspace