2
0

Add --pull into default make build target

This commit is contained in:
Matt Robenolt 2019-05-06 14:17:59 -07:00 committed by GitHub
parent 89ec146ee1
commit 259bc29e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ NO_COLOR=\033[0m
build: build:
@echo "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)" @echo "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)"
@docker build --rm -t $(REPOSITORY):$(TAG) . @docker build --pull --rm -t $(REPOSITORY):$(TAG) .
$(REPOSITORY)_$(TAG).tar: build $(REPOSITORY)_$(TAG).tar: build
@echo "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@" @echo "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@"