Trim published build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-12-13 20:08:35 +00:00
parent 13dc50979b
commit 1ec5b007be
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -9,7 +9,7 @@ ARG CONFIGURATION=Release
RUN git clone --depth=50 https://github.com/ppy/osu \
&& cd osu \
&& git checkout ${GIT_COMMIT} \
&& dotnet publish -c ${CONFIGURATION} -r linux-x64 --self-contained true -o /opt/osu/ osu.Desktop
&& dotnet publish -c ${CONFIGURATION} -r linux-x64 --self-contained true -o /opt/osu/ osu.Desktop /p:PublishTrimmed=true
FROM mcr.microsoft.com/dotnet/core/runtime-deps