Install rsync, ssh client and mount known_hosts to container
This commit is contained in:
parent
6b81fba3d2
commit
af57691e2f
@ -2,6 +2,10 @@ FROM ubuntu:14.04
|
|||||||
|
|
||||||
WORKDIR /
|
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 bootstrap/playbooks/celery.yaml /celery.yaml
|
||||||
ADD resources /resources
|
ADD resources /resources
|
||||||
ADD templates /templates
|
ADD templates /templates
|
||||||
|
@ -8,6 +8,7 @@ solar-celery:
|
|||||||
- /vagrant/templates:/vagrant/templates
|
- /vagrant/templates:/vagrant/templates
|
||||||
- /vagrant/resources:/vagrant/resources
|
- /vagrant/resources:/vagrant/resources
|
||||||
- /vagrant/library:/vagrant/library
|
- /vagrant/library:/vagrant/library
|
||||||
|
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
|
||||||
environment:
|
environment:
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- REDIS_PORT=6379
|
- REDIS_PORT=6379
|
||||||
|
Loading…
x
Reference in New Issue
Block a user