Skip to content

Commit b6fb244

Browse files
authored
fixing operator build directory hierarchy (#417)
1 parent d9e45cb commit b6fb244

File tree

2 files changed

+33
-32
lines changed

2 files changed

+33
-32
lines changed

operator/Dockerfile

Lines changed: 0 additions & 32 deletions
This file was deleted.

operator/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/Dockerfile

operator/build/Dockerfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Multi-arch build for IBM Spectrum Scale CSI Operator
2+
3+
FROM quay.io/operator-framework/ansible-operator:v1.5.2
4+
MAINTAINER deeghuge@in.ibm.com
5+
6+
ARG CSI_ATTACHER_IMAGE
7+
ARG CSI_PROVISIONER_IMAGE
8+
ARG CSI_NODE_REGISTRAR_IMAGE
9+
ARG CSI_DRIVER_IMAGE
10+
ARG GIT_COMMIT
11+
12+
13+
ENV CSI_ATTACHER_IMAGE $CSI_ATTACHER_IMAGE
14+
ENV CSI_PROVISIONER_IMAGE $CSI_PROVISIONER_IMAGE
15+
ENV CSI_NODE_REGISTRAR_IMAGE $CSI_NODE_REGISTRAR_IMAGE
16+
ENV CSI_DRIVER_IMAGE $CSI_DRIVER_IMAGE
17+
18+
LABEL name="IBM Spectrum Scale CSI Operator" \
19+
vendor="ibm" \
20+
version="2.2.0" \
21+
release="1" \
22+
run='docker run ibm-spectrum-scale-csi-operator' \
23+
summary="An Ansible based operator to run and manage the deployment of the IBM Spectrum Scale CSI Driver." \
24+
description="An Ansible based operator to run and manage the deployment of the IBM Spectrum Scale CSI Driver." \
25+
git_commit=$GIT_COMMIT
26+
27+
28+
COPY hacks/health_check.sh .
29+
COPY licenses /licenses
30+
COPY watches.yaml ${HOME}/watches.yaml
31+
COPY roles/ ${HOME}/roles/
32+
COPY playbooks/ ${HOME}/playbooks/

0 commit comments

Comments
 (0)