summaryrefslogtreecommitdiffstats
path: root/compass-tasks/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'compass-tasks/Dockerfile')
-rw-r--r--compass-tasks/Dockerfile18
1 files changed, 6 insertions, 12 deletions
diff --git a/compass-tasks/Dockerfile b/compass-tasks/Dockerfile
index 4fcfbbc..fc9f06d 100644
--- a/compass-tasks/Dockerfile
+++ b/compass-tasks/Dockerfile
@@ -1,13 +1,7 @@
-FROM centos:7
+FROM opnfv/compass-tasks-base
-ARG BRANCH=master
-ADD . /root/compass-tasks
-
-RUN /root/compass-tasks/build.sh
-
-EXPOSE 6379
-
-VOLUME ["/var/ansible", "/etc/compass/machine_list", "/etc/compass/switch_list"]
-
-ENTRYPOINT ["/bin/bash", "-c"]
-CMD ["/usr/local/bin/start.sh"]
+ADD ./run.sh /root/
+#ADD ./tacker_conf /opt/tacker_conf
+ADD ./setup-complete.yml /opt/
+RUN chmod +x /root/run.sh
+RUN /root/run.sh