mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 22:30:45 -05:00
Update build.yaml and Dockerfile
This commit is contained in:
parent
17335464ae
commit
3a47b1f07b
@ -10,14 +10,14 @@ jobs:
|
|||||||
build-server:
|
build-server:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: refringe/spt-build-environment:1.0.2
|
image: refringe/spt-build-environment:1.0.3
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Server Project
|
- name: Checkout Server Project
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: 'refringe/Server'
|
repository: 'refringe/Server'
|
||||||
ref: 'v3.8.0-BE'
|
ref: '3.8.0-BE'
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
|
@ -7,9 +7,8 @@ RUN apt-get update && \
|
|||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Set the working directory to /code
|
|
||||||
WORKDIR /code
|
|
||||||
|
|
||||||
# Add a non-root user for running the build
|
# Add a non-root user for running the build
|
||||||
RUN useradd -m builder
|
RUN useradd -m builder
|
||||||
USER builder
|
USER builder
|
||||||
|
|
||||||
|
WORKDIR /workspace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user