Commit 7408e78d authored by Daniele Venzano's avatar Daniele Venzano

Create a directory to make error messages disappear

parent 2e6ceb9a
Pipeline #10854 passed with stages
in 37 seconds
...@@ -16,5 +16,7 @@ COPY files/global_prefs_override.xml /data ...@@ -16,5 +16,7 @@ COPY files/global_prefs_override.xml /data
COPY files/start_boinc.sh /usr/local/bin COPY files/start_boinc.sh /usr/local/bin
RUN chmod 755 /usr/local/bin/start_boinc.sh RUN chmod 755 /usr/local/bin/start_boinc.sh
RUN mkdir -p /dev/input/mice
CMD /usr/local/bin/start_boinc.sh CMD /usr/local/bin/start_boinc.sh
#!/bin/bash #!/bin/bash
cd /data cd /data
/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} 2>&1 | grep -v "Could not open directory \'/dev/input" /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}
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