Make cachebust parameter available as env var

This allows using an already built image that was built with cachebust
set without rebuilding osu.
master
Simon Bruder 2020-09-13 15:02:53 +02:00
parent 5905ebd16f
commit 9b29cff93e
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 1 additions and 0 deletions

View File

@ -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 \