Clone with depth 1
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2020-07-10 22:38:12 +02:00
parent 6f641bbd97
commit e4a40279bc
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -8,7 +8,7 @@ RUN apt-get update \
ARG CACHEBUST=1
RUN OSU_VERSION=$(curl -s https://api.github.com/repos/ppy/osu/releases/latest | jq -r .tag_name) \
&& git clone --single-branch -b ${OSU_VERSION} https://github.com/ppy/osu \
&& git clone --depth=1 --single-branch -b ${OSU_VERSION} https://github.com/ppy/osu \
&& cd osu \
&& dotnet publish -c Release -r linux-x64 --self-contained true -o /opt/osu/ osu.Desktop /p:PublishTrimmed=true \
&& echo "Version ${OSU_VERSION}, Built on $(date '+%Y-%m-%d %H:%M')" > /opt/osu/version