Skip to content

Commit ecca82b

Browse files
committed
Update UBI base image tag to 9.5
Update base image and base pkgs to get the security patches from UBI. Change-Id: I18f2eec6d530b87461a6debbe5c7f73d38989041 Signed-off-by: VijayaRamarao Mellempudi <[email protected]>
1 parent a7c565d commit ecca82b

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ COPY internal/kmmmodule/ internal/kmmmodule/
2323
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
2424
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go
2525

26-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
26+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
2727
ARG VERSION=none
28+
RUN microdnf -y update
2829
WORKDIR /
2930
COPY --from=builder /opt/app-root/src/manager .
3031
LABEL name="cloud_ai_openshift_operator" \

internal/kmmmodule/dockerfiles/driversDockerfile.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ARG KERNEL_FULL_VERSION
88
COPY --from=qaic-src /src /usr/src/qaic-${QAIC_VER}
99
WORKDIR /usr/src/qaic-${QAIC_VER}
1010
RUN ./dkms_prebuild.sh ${KERNEL_FULL_VERSION} /lib/modules/${KERNEL_FULL_VERSION}/build && KERNELRELEASE=${KERNEL_FULL_VERSION} make
11-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
11+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
1212
ARG QAIC_VER
1313
ARG KERNEL_FULL_VERSION
14-
RUN microdnf -y install kmod && microdnf clean all && rm -rf /var/cache/yum
14+
RUN microdnf -y update && microdnf -y install kmod && microdnf clean all && rm -rf /var/cache/yum
1515
RUN mkdir -p /opt/lib/modules/${KERNEL_FULL_VERSION}
1616
COPY --from=qaic-src /firmware /firmware
1717
COPY --from=builder /usr/src/qaic-${QAIC_VER}/qaic/qaic.ko /opt/lib/modules/${KERNEL_FULL_VERSION}/
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
2-
RUN microdnf -y install kmod && microdnf clean all && rm -rf /var/cache/yum
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
2+
RUN microdnf -y update && microdnf -y install kmod && microdnf clean all && rm -rf /var/cache/yum
33
RUN /usr/sbin/depmod ${KERNEL_FULL_VERSION}
44

manual_install/src_img_build/qcom-src-img-Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/ubi-micro:9.4
1+
FROM registry.access.redhat.com/ubi9/ubi-micro:9.5
22
ARG SRC_ROOT_DIR
33
ARG VERSION=none
44
COPY ${SRC_ROOT_DIR} /

0 commit comments

Comments
 (0)