From e4a40279bce6f110dcdaa4d37e3fe52faa28866d Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 10 Jul 2020 22:38:12 +0200 Subject: [PATCH] Clone with depth 1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 38096cb..46fca2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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