docker-icingaweb2/composer.bash
Alexander A. Klimov 0887fbb7f3 Install /usr/share/icinga-php/*
refs #42
2021-06-28 14:04:11 +02:00

14 lines
260 B
Bash
Executable File

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