Files
common/dotnet/dotnet-10/Dockerfile
2025-06-30 00:58:23 -07:00

14 lines
442 B
Docker

ARG VERSION=10.0.100-preview.5
FROM mcr.microsoft.com/dotnet/sdk:$VERSION
RUN apt update
RUN apt install curl -y
# Add tools to Path.
RUN echo 'export PATH="$PATH:$HOME/.dotnet/tools/"' | tee -a "$HOME/.bashrc" > /dev/null
# Install NugetForUnity tool: https://github.com/GlitchEnzo/NuGetForUnity
RUN dotnet tool install --global NuGetForUnity.Cli
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]