summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcae/cdap/docker/01-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/dcae/cdap/docker/01-entrypoint.sh')
-rwxr-xr-xkubernetes/dcae/cdap/docker/01-entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/dcae/cdap/docker/01-entrypoint.sh b/kubernetes/dcae/cdap/docker/01-entrypoint.sh
new file mode 100755
index 0000000000..952d1d4cc6
--- /dev/null
+++ b/kubernetes/dcae/cdap/docker/01-entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+dpkg --install /tmp/dcae-apod-cdap-small-hadoop_1.1.0.deb
+dpkg --install /tmp/dcae-apod-analytics-tca_1.1.0.deb
+
+bash /opt/app/dcae-cdap-small-hadoop/install.sh
+su dcae -c "/opt/app/dcae-controller-service-cdap-cluster-manager/bin/manager.sh config"
+su dcae -c "/opt/app/dcae-controller-service-cdap-cluster-manager/bin/manager.sh restart" \ No newline at end of file