From 786f9b50d2892cf942d1fcaca94fbedf0e00e8a3 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Thu, 9 Apr 2020 10:26:21 +0200 Subject: [PATCH] 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 --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ab29a33..68f2f82 100755 --- a/build.sh +++ b/build.sh @@ -156,7 +156,9 @@ fi ### # 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