docker-icingaweb2/composer.bash
Julian Brost 862ab4c134 Don't run composer for icinga-php-*
There's no need for it and it breaks with current nightlies due to requiring
Composer 2 while our Docker images only have version 1 at the moment.
2021-09-29 14:47:18 +02:00

14 lines
247 B
Bash
Executable File

#!/bin/bash
# Icinga Web 2 Docker image | (c) 2020 Icinga GmbH | GPLv2+
set -exo pipefail
for d in icingaweb2 icingaweb2/modules/*; do
pushd "$d"
if [ -e composer.json ]; then
composer install --no-dev --ignore-platform-reqs
fi
popd
done