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 a842ded
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions images/must-gather/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ 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/
RUN /var/workdir/source
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 a842ded

Please sign in to comment.