Skip to content

Commit 4ee0b03

Browse files
authored
Patch manifests to require stream-coreos instead of rhel-coreos in the OKD/SCOS case (#149)
1 parent 465152a commit 4ee0b03

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ RUN dnf clean all
5757

5858
COPY manifests /manifests
5959

60+
ARG TAGS=''
61+
RUN if [[ "${TAGS}" = *scos* ]]; then sed -i 's/rhel-coreos/stream-coreos/g' /manifests/*; fi
62+
6063
LABEL io.k8s.description="driver-toolkit is a container with the kernel packages necessary for building driver containers for deploying kernel modules/drivers on OpenShift" \
6164
name="driver-toolkit" \
6265
io.openshift.release.operator=true \

0 commit comments

Comments
 (0)