Skip to content

Commit

Permalink
Merge pull request #543 from rhmdnd/CMP-2693-use-correct-base-image-f…
Browse files Browse the repository at this point in the history
…or-must-gather

CMP-2693: Use CLI image for base image in must-gather
  • Loading branch information
openshift-merge-bot[bot] authored Jul 22, 2024
2 parents 46d1653 + c523213 commit e691a11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/must-gather-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
name: must-gather-ocp
registry_org: complianceascode
tag: latest
dockerfile_path: images/must-gather/Dockerfile
dockerfile_path: images/must-gather/Dockerfile.ocp
vendor: "Compliance Operator Authors"
platforms: "linux/amd64,linux/ppc64le,linux/s390x"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ push-e2e-content: e2e-content-images ## Build and push the e2e-content-images

.PHONY: must-gather-image
must-gather-image: ## Build the must-gather image
$(RUNTIME) build -t $(MUST_GATHER_IMAGE_PATH):$(MUST_GATHER_IMAGE_TAG) -f images/must-gather/Dockerfile .
$(RUNTIME) build -t $(MUST_GATHER_IMAGE_PATH):$(MUST_GATHER_IMAGE_TAG) -f images/must-gather/Dockerfile.ocp .

.PHONY: must-gather
must-gather: must-gather-image must-gather-push ## Build and push the must-gather image
Expand Down
9 changes: 0 additions & 9 deletions images/must-gather/Dockerfile

This file was deleted.

5 changes: 5 additions & 0 deletions images/must-gather/Dockerfile.ocp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM registry.ci.openshift.org/ocp/4.17:cli

COPY utils/must-gather/* /usr/bin/

ENTRYPOINT /usr/bin/gather

0 comments on commit e691a11

Please sign in to comment.