diff --git a/images/must-gather/Containerfile b/images/must-gather/Containerfile index 1409c73fd..d69be5739 100644 --- a/images/must-gather/Containerfile +++ b/images/must-gather/Containerfile @@ -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