Always docker --pull when building to fetch latest base images

This commit is contained in:
Jeff Grafton 2017-02-01 19:04:23 -08:00
parent c714f2f697
commit bc020f1370
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ server:
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o glbc *.go
container: server
docker build -t $(PREFIX):$(TAG) .
docker build --pull -t $(PREFIX):$(TAG) .
push: container
gcloud docker push $(PREFIX):$(TAG)