Skip to content

Commit

Permalink
Simplify build script by using the --pull flag.
Browse files Browse the repository at this point in the history
With the --pull flag, it always attempt to pull a newer version of the image
  • Loading branch information
rosbo committed Aug 8, 2018
1 parent b82e854 commit fc69038
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build
Expand Up @@ -6,6 +6,5 @@ set -e
if [[ "$1" == "--use-cache" ]]; then
docker build --rm -t kaggle/python-build .
else
docker pull continuumio/anaconda3:latest
docker build --rm --no-cache -t kaggle/python-build .
docker build --pull --rm --no-cache -t kaggle/python-build .
fi

0 comments on commit fc69038

Please sign in to comment.