FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Simplify build script by using the --pull flag. · HadokenCode/docker-python@fc69038 · GitHub

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL