force fallback to develop if desired branch does not exist
This commit is contained in:
parent
4ed2d65f21
commit
73052974a3
|
@ -6,7 +6,7 @@ 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
|
git clone --depth 1 -b develop 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…
Reference in New Issue