Mark Lessel 11 lat temu
commit
7c2d11932d
2 zmienionych plików z 26 dodań i 0 usunięć
  1. 17 0
      Dockerfile
  2. 9 0
      config.xml

+ 17 - 0
Dockerfile

@@ -0,0 +1,17 @@
+# Folding@home
+#
+# VERSION               0.1
+# Run with: docker run -d -t -i magglass1/docker-folding-at-home
+
+FROM fedora
+
+# Install updates
+RUN yum update -y
+
+# Install Folding@home
+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
+ADD config.xml /etc/fahclient/
+RUN chown fahclient:root /etc/fahclient/config.xml
+
+EXPOSE 22
+CMD /etc/init.d/FAHClient start && tail -F /var/lib/fahclient/log.txt

+ 9 - 0
config.xml

@@ -0,0 +1,9 @@
+<config>
+  <user value="magglass1"/>
+  <team value="2740"/>
+  <passkey value=""/>
+
+  <power value="light"/>
+  <gpu value="false"/>
+  <fold-anon value="false"/>
+</config>