File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed
Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ build_root_image :
2+ name : release
3+ namespace : openshift
4+ tag : rhel-9-release-golang-1.23-openshift-4.19
Original file line number Diff line number Diff line change 1+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
2+ WORKDIR /go/src/k8s.io/cloud-provider-openstack
3+ COPY . .
4+ RUN go build -o cinder-csi-plugin ./cmd/cinder-csi-plugin
5+
6+ FROM registry.ci.openshift.org/ocp/4.19:base-rhel9
7+
8+ # Get mkfs & blkid
9+ RUN yum update -y && \
10+ yum install --setopt=tsflags=nodocs -y e2fsprogs xfsprogs util-linux systemd-udev && \
11+ yum clean all && rm -rf /var/cache/yum/*
12+
13+ COPY --from=0 /go/src/k8s.io/cloud-provider-openstack/cinder-csi-plugin /usr/bin/
14+
15+ ENTRYPOINT ["/usr/bin/cinder-csi-plugin" ]
Original file line number Diff line number Diff line change 1+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
2+ WORKDIR /go/src/k8s.io/cloud-provider-openstack
3+ COPY . .
4+ RUN go build -o openstack-cloud-controller-manager ./cmd/openstack-cloud-controller-manager
5+
6+ FROM registry.ci.openshift.org/ocp/4.19:base-rhel9
7+
8+ COPY --from=0 /go/src/k8s.io/cloud-provider-openstack/openstack-cloud-controller-manager /usr/bin/
9+
10+ ENTRYPOINT ["/usr/bin/openstack-cloud-controller-manager" ]
Original file line number Diff line number Diff line change 1+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
2+ WORKDIR /go/src/k8s.io/cloud-provider-openstack
3+ COPY . .
4+ RUN go build -o manila-csi-plugin ./cmd/manila-csi-plugin
5+
6+ FROM registry.ci.openshift.org/ocp/4.19:base-rhel9
7+
8+ COPY --from=0 /go/src/k8s.io/cloud-provider-openstack/manila-csi-plugin /usr/bin/
9+
10+ ENTRYPOINT ["/usr/bin/manila-csi-plugin" ]
You can’t perform that action at this time.
0 commit comments