summaryrefslogtreecommitdiffstats
path: root/deployments/Dockerfile
diff options
context:
space:
mode:
authorBin Hu <bh526r@att.com>2018-08-28 20:09:11 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-28 20:09:11 +0000
commit88579fa6f563a3bea8c39aa98159eb54d13d44a5 (patch)
tree24697d5dd4ba3c0578bef0f33cea51465b40ec27 /deployments/Dockerfile
parentbd3e38cf19c77e98bbd5be3e0f1f9806e0a6e331 (diff)
parenta1373742a2c3f980360e4980f3b23b0ff3480ae6 (diff)
Merge "Seed code for k8s multicloud plugin"
Diffstat (limited to 'deployments/Dockerfile')
-rw-r--r--deployments/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/deployments/Dockerfile b/deployments/Dockerfile
new file mode 100644
index 00000000..407af509
--- /dev/null
+++ b/deployments/Dockerfile
@@ -0,0 +1,21 @@
+FROM debian:jessie
+
+ARG HTTP_PROXY=${HTTP_PROXY}
+ARG HTTPS_PROXY=${HTTPS_PROXY}
+
+ENV http_proxy $HTTP_PROXY
+ENV https_proxy $HTTPS_PROXY
+ENV no_proxy $NO_PROXY
+
+ENV CSAR_DIR "/opt/csar"
+ENV KUBE_CONFIG_DIR "/opt/kubeconfig"
+ENV DATABASE_TYPE "consul"
+ENV DATABASE_IP "127.0.0.1"
+
+EXPOSE 8081
+
+WORKDIR /opt/multicloud/k8s
+ADD ./k8plugin ./
+ADD ./*.so ./
+
+CMD ["./k8plugin"]