1 # Arvados compute node Docker container.
4 MAINTAINER Ward Vandewege <ward@curoverse.com>
7 ## 20150915 nico -- fuse.postint has sporatic failures, spliting this up to see if it helps
8 RUN apt-get install -qy fuse
9 RUN apt-get install -qy supervisor python-pip python-pyvcf python-gflags python-google-api-python-client python-virtualenv libattr1-dev libfuse-dev python-dev python-llfuse crunchstat python-arvados-fuse cron dnsmasq
11 ADD fuse.conf /etc/fuse.conf
12 RUN chmod 644 /etc/fuse.conf
14 RUN /usr/local/rvm/bin/rvm-exec default gem install arvados-cli arvados
16 # Install Docker from the Arvados package repository (cf. arvados/base)
17 RUN apt-get install -qy iptables ca-certificates lxc apt-transport-https docker.io
19 RUN addgroup --gid 4005 crunch && mkdir /home/crunch && useradd --uid 4005 --gid 4005 crunch && usermod crunch -G fuse,docker && chown crunch:crunch /home/crunch
22 ADD supervisor.conf /etc/supervisor/conf.d/arvados.conf
23 ADD generated/setup.sh /usr/local/bin/setup.sh
24 ADD wrapdocker /usr/local/bin/wrapdocker.sh
25 ADD munge.sh /usr/local/bin/munge.sh
27 VOLUME /var/lib/docker
28 # Start the supervisor.
29 CMD ["/usr/bin/supervisord", "-n"]