Skip to content

Commit 856ee3e

Browse files
Merge pull request kubernetes-sigs#52 from bertinatto/art-consistency-openshift-4.15-ose-gcp-pd-csi-driver
OCPBUGS-24084: Move builder and base image to RHEL 9
2 parents 80fe091 + 69aee14 commit 856ee3e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.ci-operator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build_root_image:
22
name: release
33
namespace: openshift
4-
tag: rhel-8-release-golang-1.20-openshift-4.15
4+
tag: rhel-9-release-golang-1.20-openshift-4.15

Dockerfile.openshift

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS builder
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.15 AS builder
22
WORKDIR /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
33
COPY . .
44
# Skip Windows driver build
55
RUN make gce-pd-driver
66

7-
FROM registry.ci.openshift.org/ocp/4.15:base
7+
FROM registry.ci.openshift.org/ocp/4.15:base-rhel9
88

99
# Get all deps
1010
# nvme-cli and /usr/bin/xxd are deps of google_nvme_id
1111
RUN yum update -y && \
12-
yum install --setopt=tsflags=nodocs -y e2fsprogs xfsprogs util-linux systemd-udev nvme-cli /usr/bin/xxd && \
12+
yum install --setopt=tsflags=nodocs -y e2fsprogs xfsprogs util-linux nvme-cli /usr/lib/udev/scsi_id /usr/bin/xxd && \
1313
yum clean all && rm -rf /var/cache/yum/* && \
1414
mkdir -p /lib/udev_containerized && cp /usr/lib/udev/scsi_id /lib/udev_containerized/scsi_id # The driver assumes this path
1515

0 commit comments

Comments
 (0)