From 14c0c93582449f153614d70dcf6c41f1f53ccfbb Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 21 Mar 2020 11:14:23 +0000 Subject: [PATCH] Do not cachebust jq --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb8fbc4..46977e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,11 @@ FROM mcr.microsoft.com/dotnet/core/sdk as builder ENV DOTNET_CLI_TELEMETRY_OPTOUT 1 -ARG CACHEBUST=1 - RUN apt-get update \ && apt-get -y install jq +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 \ && cd osu \