mirror of https://github.com/OpenVidu/openvidu.git
deployment: Update install_ov_enterprise_ha_base.sh image pulling to include docker-compose.override.yml
parent
de0ea61eb4
commit
b81c0dfccc
|
@ -21,7 +21,7 @@ export DOCKER_CLIENT_TIMEOUT=500
|
||||||
pull_images() {
|
pull_images() {
|
||||||
OV_DIRECTORY="$1"
|
OV_DIRECTORY="$1"
|
||||||
pushd "${OV_DIRECTORY}" > /dev/null || fatal_error "Error: can not access to '${OV_DIRECTORY}' folder"
|
pushd "${OV_DIRECTORY}" > /dev/null || fatal_error "Error: can not access to '${OV_DIRECTORY}' folder"
|
||||||
ALL_IMAGES=$(grep 'image:' docker-compose.yml | awk '{print $2}')
|
ALL_IMAGES=$(grep -h 'image:' docker-compose.yml docker-compose.override.yml | awk '{print $2}')
|
||||||
for IMAGE in ${ALL_IMAGES}; do
|
for IMAGE in ${ALL_IMAGES}; do
|
||||||
printf "\n => Pulling image '%s'..." "${IMAGE}"
|
printf "\n => Pulling image '%s'..." "${IMAGE}"
|
||||||
docker pull "${IMAGE}" || fatal_error "Error while pulling image '${IMAGE}'"
|
docker pull "${IMAGE}" || fatal_error "Error while pulling image '${IMAGE}'"
|
||||||
|
|
Loading…
Reference in New Issue