[FIX] Launch script: problem starting 'dev' with no Docker images.
This commit is contained in:
parent
c046048fe2
commit
65c4a060d5
@ -271,7 +271,9 @@ initial_start() {
|
|||||||
# Build Gissmo Docker images if missing
|
# Build Gissmo Docker images if missing
|
||||||
if [[ "$($docker_cmd images -q gissmo:${GISSMO_VERSION} 2> /dev/null)" == "" ]]; then
|
if [[ "$($docker_cmd images -q gissmo:${GISSMO_VERSION} 2> /dev/null)" == "" ]]; then
|
||||||
cd $GISSMO_DIR
|
cd $GISSMO_DIR
|
||||||
$docker_cmd build -t gissmo:${GISSMO_VERSION} -f ${DOCKERFILE} || error_and_quit "Failed to build Gissmo Docker container."
|
info "Building Docker images…"
|
||||||
|
$docker_cmd build -t gissmo:${GISSMO_VERSION} -f ${DOCKERFILE} . || error_and_quit "Failed to build Gissmo Docker container."
|
||||||
|
info "…done."
|
||||||
cd $CURRENT_DIR
|
cd $CURRENT_DIR
|
||||||
fi
|
fi
|
||||||
# Check postgreSQL Docker container exists and is launched.
|
# Check postgreSQL Docker container exists and is launched.
|
||||||
|
Loading…
Reference in New Issue
Block a user