Addressing code review comments and adding opensuse 13.2

This commit is contained in:
Livar Cunha 2016-05-31 13:54:35 -07:00
parent 5174fc06bd
commit 7652335195
54 changed files with 186 additions and 54 deletions

View file

@ -76,6 +76,12 @@ if [ -z "$DOCKERFILE" ]; then
echo "using 'fedora.23' image"
export DOCKERFILE=scripts/docker/fedora.23
fi
elif [ "$(cat /etc/*-release | grep -cim1 opensuse)" -eq 1 ]; then
echo "Detected current OS as openSUSE, determining openSUSE version to use..."
if [ "$(cat /etc/*-release | grep -cim1 13.2)" -eq 1 ]; then
echo "using 'openSUSE.13.2' image"
export DOCKERFILE=scripts/docker/opensuse.13.2
fi
else
echo "Unknown Linux Distro. Using 'ubuntu' image"
export DOCKERFILE=scripts/docker/ubuntu