Add --pull
into default make build
target
This commit is contained in:
parent
89ec146ee1
commit
259bc29e78
2
Makefile
2
Makefile
@ -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) > $@"
|
||||||
|
Reference in New Issue
Block a user