Skip to content

Commit

Permalink
Add --pull flag to always pull images on build (openshift#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuviGold authored Jul 7, 2020
1 parent 31b25d4 commit bbc2205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ create_environment: image_build bring_bm_inventory start_minikube

image_build:
sed 's/^FROM .*bm-inventory.*:latest/FROM $(subst /,\/,${SERVICE})/' Dockerfile.test-infra | \
$(CONTAINER_COMMAND) build -t $(IMAGE_NAME):$(IMAGE_TAG) -f- .
$(CONTAINER_COMMAND) build --pull -t $(IMAGE_NAME):$(IMAGE_TAG) -f- .

clean:
rm -rf build
Expand Down

0 comments on commit bbc2205

Please sign in to comment.