|
| 1 | +# Copyright 2023 Red Hat |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +# |
| 15 | +# ------------------------------------------------------------------------ |
| 16 | +FROM registry.redhat.io/openshift4/ose-must-gather:v4.13.0 |
| 17 | + |
| 18 | +LABEL \ |
| 19 | + name="openshift-gitops-1/must-gather-rhel8" \ |
| 20 | + License="Apache 2.0" \ |
| 21 | + com.redhat.component="openshift-gitops-must-gather-container" \ |
| 22 | + com.redhat.delivery.appregistry="false" \ |
| 23 | + upstream-vcs-type="git" \ |
| 24 | + summary="OpenShift GitOps Must Gather" \ |
| 25 | + maintainer="William Tam < [email protected]>" \ |
| 26 | + io.k8s.display-name="Red Hat OpenShift GitOps Must Gather"\ |
| 27 | + io.openshift.tags="openshift,gitops-operator, must-gather" \ |
| 28 | + io.openshift.maintainer.product="Red Hat OpenShift GitOps" \ |
| 29 | + io.openshift.maintainer.component="William Tam < [email protected]>" |
| 30 | + |
| 31 | +# Save original gather script |
| 32 | +RUN mv /usr/bin/gather /usr/bin/gather_original |
| 33 | + |
| 34 | +COPY gather_gitops.sh /usr/bin/gather |
| 35 | + |
| 36 | +# Make it executable |
| 37 | +RUN chmod +x /usr/bin/gather |
| 38 | + |
| 39 | +ENTRYPOINT /usr/bin/gather |
0 commit comments