File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- VERSION_FILE_NAME=" VERSION.json"
3- new_image=" base_image"
4- old_image=" base_image:old"
52
3+ set -e
64
7- apache_config_filename=${1}
8- apache_ssl_mod=${2:- ' ' }
9- sudo scripts/setup_apache_config.sh $apache_config_filename $apache_ssl_mod
5+ VERSION_FILE_NAME=" VERSION.json"
106
117VERSION_FILE_PATH=" $( dirname $( dirname $( readlink -f $0 ) ) ) /$VERSION_FILE_NAME "
12- scripts/version.sh > $VERSION_FILE_PATH
8+ ./ scripts/version.sh > $VERSION_FILE_PATH
139
14- mkdir -p ../mongo_data
10+ docker-compose stop
1511
16- docker-compose down
17- docker tag $new_image $old_image
18- docker-compose build --no-cache
19- docker rmi $old_image
12+ docker-compose --project-name wst_test_build build --no-cache
13+ docker-compose build
2014
2115APP_CONF=../app_conf/config.ini docker-compose up -d --remove-orphans
You can’t perform that action at this time.
0 commit comments