force fallback to develop if desired branch does not exist

This commit is contained in:
fbsanchez 2022-03-03 14:28:55 +01:00
parent 4ed2d65f21
commit 73052974a3
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ ARG DB_PASS=pandora
# Clone the Pandora FMS repo.
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.
RUN cd /tmp/pandorafms/pandora_server && \