mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
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:
parent
5909670690
commit
786f9b50d2
4
build.sh
4
build.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue