Install rsync, ssh client and mount known_hosts to container

This commit is contained in:
Dmitry Shulyak 2015-12-01 15:45:10 +02:00
parent 6b81fba3d2
commit af57691e2f
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,10 @@ FROM ubuntu:14.04
WORKDIR /
RUN apt-get update
RUN apt-get install -y python python-dev python-distribute python-pip openssh-client rsync
RUN pip install ansible
ADD bootstrap/playbooks/celery.yaml /celery.yaml
ADD resources /resources
ADD templates /templates

View File

@ -8,6 +8,7 @@ solar-celery:
- /vagrant/templates:/vagrant/templates
- /vagrant/resources:/vagrant/resources
- /vagrant/library:/vagrant/library
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379