Check prerequisites at the start of install script
This commit is contained in:
parent
cc850a8b34
commit
aef583ebad
7
ckan.sh
7
ckan.sh
@ -2,6 +2,13 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/ckan
|
||||
|
||||
# Check prerequisites
|
||||
SCRIPT_DIR=$(realpath $(dirname "${0}"))
|
||||
docker image ls | grep -q ckan-datapusher || ${SCRIPT_DIR}/ckan-datapusher.sh
|
||||
docker image ls | grep -q postgres || ${SCRIPT_DIR}/postgres.sh
|
||||
docker image ls | grep -q redis || ${SCRIPT_DIR}/redis.sh
|
||||
docker image ls | grep -q solr || ${SCRIPT_DIR}/solr.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t ckan ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/crisiscleanup
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t crisiscleanup ${SOURCE_DIR}
|
||||
|
||||
|
3
cts.sh
3
cts.sh
@ -2,6 +2,9 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/cts
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t cts ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/gnuhealth
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t gnuhealth ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/kanboard
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t kanboard ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/mifosx
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q mariadb || $(realpath $(dirname "${0}"))/mariadb.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t mifosx ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/motech
|
||||
|
||||
# Check prerequisites
|
||||
SCRIPT_DIR=$(realpath $(dirname "${0}"))
|
||||
docker image ls | grep -q activemq || ${SCRIPT_DIR}/activemq.sh
|
||||
docker image ls | grep -q postgres || ${SCRIPT_DIR}/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t motech ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/pandora
|
||||
|
||||
# Check prerequisites
|
||||
SCRIPT_DIR=$(realpath $(dirname "${0}"))
|
||||
docker image ls | grep -q rabbitmq || ${SCRIPT_DIR}/rabbitmq.sh
|
||||
docker image ls | grep -q postgres || ${SCRIPT_DIR}/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t pandora ${SOURCE_DIR}
|
||||
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/seeddms
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t seeddms ${SOURCE_DIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user