diff --git a/podman-framadate/10_install.sh b/podman-framadate/10_install.sh index 050f512..b67aa61 100755 --- a/podman-framadate/10_install.sh +++ b/podman-framadate/10_install.sh @@ -31,9 +31,12 @@ export framadate_version export listen_if export listen_port -podman pull ${framadate_image}:${framadate_version} +if ! podman image exists ${framadate_image}:${framadate_version}; then + podman pull ${framadate_image}:${framadate_version} +fi podman pull docker.io/library/php:7-apache && podman pull docker.io/library/mysql:5.7 && + podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra " up -d && echo -n "Waiting for initialization to end... " && ( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&