mirror of https://github.com/ppy/SDL3-CS.git
Fix up caching + remove python3 symlink
This commit is contained in:
parent
81e5c4cb7f
commit
22c6c79701
11
Dockerfile
11
Dockerfile
|
|
@ -1,14 +1,13 @@
|
||||||
FROM ubuntu:24.04
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y dotnet-sdk-8.0 python3 git build-essential && \
|
apt-get install -y dotnet-sdk-8.0 python3 git build-essential
|
||||||
ln -s /usr/bin/python3 /usr/bin/python
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /tmp
|
||||||
COPY . .
|
COPY .config/dotnet-tools.json .config/dotnet-tools.json
|
||||||
|
COPY SDL3-CS/SDL3-CS.csproj SDL3-CS/SDL3-CS.csproj
|
||||||
RUN dotnet tool restore && \
|
RUN dotnet tool restore && \
|
||||||
dotnet restore --ucr SDL3-CS/SDL3-CS.csproj && \
|
dotnet restore --ucr SDL3-CS/SDL3-CS.csproj
|
||||||
rm -r /app
|
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN echo '#!/bin/bash' >> entrypoint.sh && \
|
RUN echo '#!/bin/bash' >> entrypoint.sh && \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue