diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-11-01 15:05:30 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-11-03 14:59:22 +0800 |
commit | 8120b2583c459c85116d69211038e0110d71e5b7 (patch) | |
tree | 886448deb230ba530fe8814cd5d224e0f2a6299d /compass-tasks/Dockerfile | |
parent | 3656ab7b5e3f2f26f7c98f9dcc97b3c461fa2a76 (diff) |
Add compass-tasks
Registered tasks and MQ modules for Compass
Change-Id: Id1569a61fe53357d53448478d5ba42cb1f386bc6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'compass-tasks/Dockerfile')
-rw-r--r-- | compass-tasks/Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compass-tasks/Dockerfile b/compass-tasks/Dockerfile new file mode 100644 index 0000000..3beaf57 --- /dev/null +++ b/compass-tasks/Dockerfile @@ -0,0 +1,12 @@ +FROM centos:7 + +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"] |