summaryrefslogtreecommitdiffstats
path: root/compass-tasks-base/Dockerfile
blob: 3beaf57eb2a9c6f6a0b4cb44a39e8cc091d043a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"]