From 9b29cff93e662a98c80c1bcd94fb5fe38f91b078 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 13 Sep 2020 15:02:53 +0200 Subject: [PATCH] Make cachebust parameter available as env var This allows using an already built image that was built with cachebust set without rebuilding osu. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index be4ad86..d743b91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN apt-get update \ COPY disable-deployed-build.patch /tmp/ ARG CACHEBUST=1 +ENV CACHEBUST=$CACHEBUST RUN OSU_VERSION=$(curl -s https://api.github.com/repos/ppy/osu/releases/latest | jq -r .tag_name) \ && git clone --depth=1 --single-branch -b ${OSU_VERSION} https://github.com/ppy/osu \