You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The multiple-stream effort will contain multiple images considered as
`machine-os` in the payload as well as multiple `driver-toolkit` images.
This commit is adding some labels to the container such as the
`rhel-stream` and `kernel-version`.
In addition it adds a reference to the `rhel-coreos-10` image in order to
specify to the payload that DTK depends on the `rhel-coreos-10` image.
Signed-off-by: Yoni Bettan <yonibettan@gmail.com>
@@ -66,7 +68,10 @@ RUN if echo "${TAGS:-}" | grep -q scos > /dev/null 2>&1; then sed -i 's/rhel-cor
66
68
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" \
67
69
name="driver-toolkit" \
68
70
io.openshift.release.operator=true \
69
-
version="0.1"
71
+
version="0.1" \
72
+
io.openshift.os.streamclass=${RHEL_STREAM} \
73
+
kernel-version=${KERNEL_VERSION} \
74
+
kernel-rt-version=${RT_KERNEL_VERSION}
70
75
71
76
# Last layer for metadata for mapping the driver-toolkit to a specific kernel version
72
77
RUN export INSTALLED_KERNEL=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}" kernel-devel); \
0 commit comments