mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 07:16:28 +02:00
force fallback to develop if desired branch does not exist
This commit is contained in:
parent
a8d669989f
commit
4ed2d65f21
@ -5,7 +5,8 @@ ARG BRANCH=develop
|
|||||||
ARG DB_PASS=pandora
|
ARG DB_PASS=pandora
|
||||||
|
|
||||||
# Clone the Pandora FMS repo.
|
# Clone the Pandora FMS repo.
|
||||||
RUN git clone --depth 1 -b "$BRANCH" https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
|
RUN git clone --depth 1 -b "$BRANCH" https://github.com/pandorafms/pandorafms.git /tmp/pandorafms || \
|
||||||
|
git clone --depth 1 https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
|
||||||
|
|
||||||
# Install the Pandora FMS Server.
|
# Install the Pandora FMS Server.
|
||||||
RUN cd /tmp/pandorafms/pandora_server && \
|
RUN cd /tmp/pandorafms/pandora_server && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user