summaryrefslogtreecommitdiffstats
path: root/compass-tasks/Dockerfile
blob: 4fcfbbc5af27d579d4b22340b990d452d6f478e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM centos:7

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"]