Skip to content

Commit fc69038

Browse files
committed
Simplify build script by using the --pull flag.
With the --pull flag, it always attempt to pull a newer version of the image
1 parent b82e854 commit fc69038

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ set -e
66
if [[ "$1" == "--use-cache" ]]; then
77
docker build --rm -t kaggle/python-build .
88
else
9-
docker pull continuumio/anaconda3:latest
10-
docker build --rm --no-cache -t kaggle/python-build .
9+
docker build --pull --rm --no-cache -t kaggle/python-build .
1110
fi

0 commit comments

Comments
 (0)