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:
parent
17335464ae
commit
3a47b1f07b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user