Skip to content

Commit

Permalink
Merge pull request kubernetes#22 from Fedosin/manila-csi-image
Browse files Browse the repository at this point in the history
Create Dockerfiles for manila-csi-plugin
  • Loading branch information
openshift-merge-robot authored Jan 3, 2020
2 parents eb77d8e + 4c5c638 commit 04de916
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions images/manila-csi-plugin/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM openshift/origin-release:golang-1.13
COPY . /go/src/k8s.io/cloud-provider-openstack
RUN cd /go/src/k8s.io/cloud-provider-openstack && \
go build -o manila-csi-plugin cmd/manila-csi-plugin/main.go

FROM registry.svc.ci.openshift.org/ocp/4.2:base

COPY --from=0 /go/src/k8s.io/cloud-provider-openstack/manila-csi-plugin /usr/bin/

ENTRYPOINT ["/usr/bin/manila-csi-plugin"]
10 changes: 10 additions & 0 deletions images/manila-csi-plugin/Dockerfile.openshift.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM openshift/origin-release:golang-1.13
COPY . /go/src/k8s.io/cloud-provider-openstack
RUN cd /go/src/k8s.io/cloud-provider-openstack && \
go build -o manila-csi-plugin cmd/manila-csi-plugin/main.go

FROM registry.svc.ci.openshift.org/origin/4.2:base

COPY --from=0 /go/src/k8s.io/cloud-provider-openstack/manila-csi-plugin /usr/bin/

ENTRYPOINT ["/usr/bin/manila-csi-plugin"]

0 comments on commit 04de916

Please sign in to comment.