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

16 lines
431 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
# Install necessary tools and dependencies (git, git-lfs, nodejs, 7-Zip)
2024-03-01 11:12:38 -05:00
RUN apt-get update && \
apt-get install -y git git-lfs nodejs p7zip-full && \
2024-03-01 11:12:38 -05:00
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2024-03-01 12:46:12 -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