Fixes build when DOCKER_FROM is set but empty

The DOCKER_FROM is set to an empty value in the push tests.
This expands the check to catch this test case
This commit is contained in:
Tobias Genannt 2020-04-09 10:26:21 +02:00
parent 5909670690
commit 786f9b50d2
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@ fi
### ###
# Determining the value for DOCKER_FROM # Determining the value for DOCKER_FROM
### ###
DOCKER_FROM="${DOCKER_FROM-python:3.7-alpine}" if [ -z "$DOCKER_FROM"]; then
DOCKER_FROM="python:3.7-alpine"
fi
### ###
# Variables for labelling the docker image # Variables for labelling the docker image