/tmp folder is deleted, resulting in R failing to start
Summary
(Summarize the bug encountered concisely) /tmp folder is deleted, resulting in R failing to start
Steps to reproduce
(How one can reproduce the issue - this is very important) Attempt to run this container, and see the error message from R
What is the current bug behavior?
You get the following error: "Fatal error: cannot create 'R_TempDir' when using the default entrypoint"
What is the expected correct behavior?
R should run without error
Relevant logs and/or screenshots
Possible fixes
Your Dockerfile contains the line "RUN rm -rf /tmp/" line 74. I think you meant "RUN rm -rf /tmp/*" to clear out the temporary files.
Alternatively, you could add the following lines after line 88 if using the world-writable /tmp is a problem:
RUN mkdir $HOME/tmp
ENV TMPDIR=$HOME/tmp
Tasks
-
Bug has been identified and corrected within the container
Edited by Nicholas Athie