Always --pull in docker build to ensure recent base images

This commit is contained in:
Jeff Grafton
2017-01-10 14:29:47 -08:00
parent add3a08a6d
commit 19aafd291c
52 changed files with 55 additions and 55 deletions

View File

@@ -37,7 +37,7 @@ tag: .tag
container:
$(if $(TAG),,$(error TAG is not defined. Use 'make tag' to see a suggestion))
docker build -t gcr.io/google_containers/kubectl:$(TAG) .
docker build --pull -t gcr.io/google_containers/kubectl:$(TAG) .
push: container
$(if $(TAG),,$(error TAG is not defined. Use 'make tag' to see a suggestion))