Skip to content

Commit 701fe00

Browse files
committed
CARRY: Add images
1 parent 3bcc812 commit 701fe00

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

.ci-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build_root_image:
2+
name: release
3+
namespace: openshift
4+
tag: rhel-9-release-golang-1.23-openshift-4.19
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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"]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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"]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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"]

0 commit comments

Comments
 (0)