Skip to content

Commit

Permalink
Use the correct source directory for Konflux
Browse files Browse the repository at this point in the history
Konflux will clone in the repository, but we need to make sure we use
the correct location when building the must-gather image.
  • Loading branch information
rhmdnd committed Dec 9, 2024
1 parent 139e60e commit 4a81e96
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions images/must-gather/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +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 /

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/
COPY /var/workdir/source/utils/must-gather/gather* /usr/bin/
COPY /var/workdir/source/utils/must-gather/fetch-raw-results-pod-template.yaml /usr/share/

ENTRYPOINT /usr/bin/gather

0 comments on commit 4a81e96

Please sign in to comment.