Skip to content

Commit

Permalink
chore: allow caching in dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Möller <jmoller@redhat.com>
  • Loading branch information
jakobmoellerdev committed Apr 25, 2024
1 parent b99c65a commit 8d2abc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ image: image-normal image-with-sidecar ## Build topolvm images.

.PHONY: image-normal
image-normal:
docker buildx build --no-cache --load -t $(IMAGE_PREFIX)topolvm:devel --build-arg TOPOLVM_VERSION=$(TOPOLVM_VERSION) --target topolvm .
docker buildx build --load -t $(IMAGE_PREFIX)topolvm:devel --build-arg TOPOLVM_VERSION=$(TOPOLVM_VERSION) --target topolvm .

.PHONY: image-with-sidecar
image-with-sidecar:
docker buildx build --no-cache --load -t $(IMAGE_PREFIX)topolvm-with-sidecar:devel --build-arg TOPOLVM_VERSION=$(TOPOLVM_VERSION) --target topolvm-with-sidecar .
docker buildx build --load -t $(IMAGE_PREFIX)topolvm-with-sidecar:devel --build-arg TOPOLVM_VERSION=$(TOPOLVM_VERSION) --target topolvm-with-sidecar .

.PHONY: container-structure-test
container-structure-test: ## Run container-structure-test.
Expand Down

0 comments on commit 8d2abc9

Please sign in to comment.