Do not use self contained deployment

This commit is contained in:
Simon Bruder 2020-09-13 15:09:55 +02:00
parent 9b29cff93e
commit 550340b24e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -18,13 +18,12 @@ RUN OSU_VERSION=$(curl -s https://api.github.com/repos/ppy/osu/releases/latest |
&& dotnet publish \ && dotnet publish \
-c Release \ -c Release \
-r linux-x64 \ -r linux-x64 \
--self-contained true \ --no-self-contained \
-o /opt/osu/ \ -o /opt/osu/ \
-p:PublishTrimmed=true \
-p:Version=${OSU_VERSION} \ -p:Version=${OSU_VERSION} \
osu.Desktop osu.Desktop
FROM mcr.microsoft.com/dotnet/core/runtime-deps FROM mcr.microsoft.com/dotnet/core/runtime
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install --no-install-recommends \ && apt-get -y install --no-install-recommends \