Skip to content
Snippets Groups Projects
Commit eb5c9bf2 authored by jurgenhaas's avatar jurgenhaas
Browse files

Do not install dorgflow on PHP versions below 8.2

parent cd5fc15f
No related branches found
No related tags found
1 merge request!47Merging develop into main
......@@ -25,11 +25,15 @@ ADD run/scripts/l3dnewversion /usr/local/bin/l3dnewversion
ADD run/scripts/delete /usr/local/bin/.delete
RUN echo "Install dorgflow" && \
cd /var/opt && \
git clone https://github.com/joachim-n/dorgflow.git && \
cd dorgflow && \
composer install --no-dev && \
ln -s /var/opt/dorgflow/dorgflow /usr/local/bin/dorgflow && \
if [ "${PHP_VERSION}" == "7.4" ] || [ "${PHP_VERSION}" == "8.0" ] || [ "${PHP_VERSION}" == "8.1" ]; then \
echo "Dorgflow is not supported on this PHP version."; \
else \
cd /var/opt && \
git clone https://github.com/joachim-n/dorgflow.git && \
cd dorgflow && \
composer install --no-dev && \
ln -s /var/opt/dorgflow/dorgflow /usr/local/bin/dorgflow && \
fi && \
\
echo "Install git-flow" && \
wget --no-check-certificate -q https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment