Commit cc75fcdf authored by Daniele Venzano's avatar Daniele Venzano

Fix working directory

parent d36ffa39
Pipeline #10842 passed with stages
in 38 seconds
......@@ -8,9 +8,10 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install --yes --no-install-recommends --no-install-suggests boinc && apt-get clean && rm -Rf /var/lib/apt/lists/*
RUN mkdir /data
RUN chmod 777 /data
WORKDIR /data
COPY files/cc_config.xml /data
CMD /usr/bin/boinc --abort_jobs_on_exit --exit_when_idle --fetch_minimal_work --attach_project ${PROJECT_URL} ${PROJECT_KEY}
CMD /usr/bin/boinc --dir /data --no_gui_rpc --no_gpus --abort_jobs_on_exit --exit_when_idle --fetch_minimal_work --attach_project ${PROJECT_URL} ${PROJECT_KEY}
......@@ -9,5 +9,6 @@
<ncpus>1</ncpus>
<report_results_immediately>1</report_results_immediately>
<no_priority_change>1</no_priority_change>
<vbox_window>0</vbox_window>
</options>
</cc_config>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment