Skip to content

Commit

Permalink
Added in-context building
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrange committed Aug 13, 2018
1 parent c1b5de9 commit f2c0168
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/dfms/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ dir=$(dirname $0)
cd $dir

# Go!
docker build --no-cache -t dfms/centos7:latest .
if [ -f ../../setup.py ]; then
cd ../..
docker build --no-cache -t dfms/centos7:latest -f docker/dfms/Dockerfile_incontext .
else
docker build --no-cache -t dfms/centos7:latest .
fi

0 comments on commit f2c0168

Please sign in to comment.