Dockerfile 463 B

12345678910111213141516
  1. # Folding@home
  2. #
  3. # VERSION 0.1
  4. # Run with: docker run -d -t -i magglass1/docker-folding-at-home
  5. FROM fedora
  6. # Install updates
  7. RUN yum update -y
  8. # Install Folding@home
  9. RUN rpm -i https://fah.stanford.edu/file-releases/public/release/fahclient/centos-5.3-64bit/v7.3/fahclient-7.3.6-1.x86_64.rpm
  10. ADD config.xml /etc/fahclient/
  11. RUN chown fahclient:root /etc/fahclient/config.xml
  12. CMD /etc/init.d/FAHClient start && tail -F /var/lib/fahclient/log.txt