diff --git a/Dockerfile b/Dockerfile index 9d6cb50..52f96d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,12 @@ RUN apt-get update \ && apt-get -y install dotnet-sdk-3.0 ARG CACHEBUST=1 +ARG CONFIGURATION=Release RUN git clone --depth=1 https://github.com/ppy/osu \ && cd osu \ - && dotnet build -c Release osu.Desktop \ - && dotnet publish -c Release -r linux-x64 -o /opt/osu/ osu.Desktop + && dotnet build -c ${CONFIGURATION} osu.Desktop \ + && dotnet publish -c ${CONFIGURATION} -r linux-x64 -o /opt/osu/ osu.Desktop FROM base