This commit is contained in:
Sergei Antipov 2018-02-15 15:14:06 +07:00
parent bb1b8efd9c
commit 29b283a387
1 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# -*- mode: sh; -*-
# File: before_install.sh
# Time-stamp: <2018-02-15 14:59:13>
# Time-stamp: <2018-02-15 15:13:20>
# Copyright (C) 2018 Sergei Antipov
# Description:
@ -21,10 +21,9 @@ docker version
# Pull docker image or build it
if [ -f tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION} ]
then
sudo docker build --rm=true --file=tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION}
--tag ${DISTRIBUTION}:${DIST_VERSION} tests
docker build --rm=true --file=tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION} --tag ${DISTRIBUTION}:${DIST_VERSION} tests
else
sudo docker pull ${DISTRIBUTION}:${DIST_VERSION}
docker pull ${DISTRIBUTION}:${DIST_VERSION}
fi
ln -s ${PWD} tests/greendayonfire.mongodb