Skip to content
Snippets Groups Projects
Commit 4575b4be authored by Florian Deuerlein's avatar Florian Deuerlein
Browse files

Disable core dumps in docker file directly

parent 75ecec25
No related branches found
No related tags found
No related merge requests found
Pipeline #22039 passed with stage
in 31 minutes
...@@ -100,6 +100,9 @@ RUN echo 'from clb_nb_utils import oauth as clb_oauth' >> /opt/app-root/src/.ipy ...@@ -100,6 +100,9 @@ RUN echo 'from clb_nb_utils import oauth as clb_oauth' >> /opt/app-root/src/.ipy
RUN R --slave -e "install.packages('IRkernel')" RUN R --slave -e "install.packages('IRkernel')"
RUN R --slave -e "IRkernel::installspec(name = 'ir363', displayname = 'R 3.6.3')" RUN R --slave -e "IRkernel::installspec(name = 'ir363', displayname = 'R 3.6.3')"
# disable core dumps
RUN ulimit -c 0
# fix permissions so NB_USER has permissions to run notebooks and install packages # fix permissions so NB_USER has permissions to run notebooks and install packages
COPY base/fix-permissions /usr/local/bin/fix-permissions COPY base/fix-permissions /usr/local/bin/fix-permissions
RUN chmod +x /usr/local/bin/fix-permissions RUN chmod +x /usr/local/bin/fix-permissions
......
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