Dockerfile 747 B

12345678910111213141516171819202122232425262728
  1. # Folding@home
  2. #
  3. # VERSION 0.1
  4. # Run with: docker run -d -t -i jordan0day/folding-at-home
  5. # Inspired by magglass1/docker-folding-at-home
  6. # Set environment variables USERNAME, TEAM, and POWER to customize your Folding client.
  7. FROM centos:7
  8. # If you set USERNAME to Anonymous, the folding@home client pauses for 5 minutes, but will then begin processing data.
  9. ENV USERNAME Anonymous
  10. ENV TEAM 0
  11. ENV POWER medium
  12. ENV PASSKEY=
  13. # Install updates
  14. RUN yum update -y
  15. # Install Folding@home
  16. RUN rpm -i https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v7.5/fahclient-7.5.1-1.x86_64.rpm
  17. ADD config.xml /etc/fahclient/
  18. ADD run.sh /run.sh
  19. RUN chown fahclient:root /etc/fahclient/config.xml
  20. CMD /run.sh