0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-13 02:50:46 -05:00
build/Dockerfile

16 lines
416 B
Docker
Raw Normal View History

2024-03-01 11:12:38 -05:00
# Use the .NET 6.0 SDK base image
FROM mcr.microsoft.com/dotnet/sdk:6.0
2024-03-01 11:37:25 -05:00
# Install necessary tools and dependencies (git, git-lfs, 7-Zip)
2024-03-01 11:12:38 -05:00
RUN apt-get update && \
2024-03-01 11:37:25 -05:00
apt-get install -y git git-lfs p7zip-full && \
2024-03-01 11:12:38 -05:00
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2024-03-01 11:12:38 -05:00
# Set the working directory to /code
WORKDIR /code
2024-03-01 11:12:38 -05:00
# Add a non-root user for running the build
RUN useradd -m builder
USER builder