Add option to build specific configuration
This commit is contained in:
parent
4b4adbc714
commit
280f8de795
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue