Fix up caching + remove python3 symlink

This commit is contained in:
Dan Balasescu 2024-10-28 21:47:31 +09:00
parent 81e5c4cb7f
commit 22c6c79701
No known key found for this signature in database
2 changed files with 5 additions and 6 deletions

View File

@ -1,14 +1,13 @@
FROM ubuntu:24.04
RUN apt-get update && \
apt-get install -y dotnet-sdk-8.0 python3 git build-essential && \
ln -s /usr/bin/python3 /usr/bin/python
apt-get install -y dotnet-sdk-8.0 python3 git build-essential
WORKDIR /app
COPY . .
WORKDIR /tmp
COPY .config/dotnet-tools.json .config/dotnet-tools.json
COPY SDL3-CS/SDL3-CS.csproj SDL3-CS/SDL3-CS.csproj
RUN dotnet tool restore && \
dotnet restore --ucr SDL3-CS/SDL3-CS.csproj && \
rm -r /app
dotnet restore --ucr SDL3-CS/SDL3-CS.csproj
WORKDIR /
RUN echo '#!/bin/bash' >> entrypoint.sh && \

View File