Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
rhmdnd committed Dec 9, 2024
1 parent 581f58f commit 947ba56
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions images/must-gather/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ LABEL \
# must-gather.
RUN microdnf -y install openshift-clients jq tar rsync --enablerepo="rhocp-4.16-for-rhel-9-x86_64-rpms"

WORKDIR /go/src/github.com/ComplianceAsCode/compliance-operator
COPY . .
RUN ls /go/src/github.com/ComplianceAsCode/compliance-operator/utils/must-gather/

COPY /go/src/github.com/ComplianceAsCode/compliance-operator/utils/must-gather/gather /usr/bin/gather
COPY /go/src/github.com/ComplianceAsCode/compliance-operator/utils/must-gather/gather_compliance /usr/bin/gather_compliance
COPY /go/src/github.com/ComplianceAsCode/compliance-operator/utils/must-gather/gather* /usr/bin/
COPY /go/src/github.com/ComplianceAsCode/compliance-operator/utils/must-gather/fetch-raw-results-pod-template.yaml /usr/share/

ENTRYPOINT /usr/bin/gather

0 comments on commit 947ba56

Please sign in to comment.