From e6860bb1942fb3bdfdf09ce6e4362780d84ae836 Mon Sep 17 00:00:00 2001 From: Rowan Gaffney Date: Tue, 21 Jul 2020 13:50:39 -0600 Subject: [PATCH] Update Dockerfile --- data_science_im_rs/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data_science_im_rs/Dockerfile b/data_science_im_rs/Dockerfile index 254ee8d..a08d2f6 100644 --- a/data_science_im_rs/Dockerfile +++ b/data_science_im_rs/Dockerfile @@ -13,6 +13,8 @@ SHELL ["/bin/bash", "-c"] USER root SHELL ["/bin/bash", "-c"] +ADD settings.json /home/coder/.local/share/code-server/User/settings.json + #Prepare image to work on SLURM, build folder structure to be able to bind mount the IDL kernel, install Rstudio server and install VSCode server. RUN chmod -R 777 /home/jovyan && \ mkdir /usr/share/jupyter && \ @@ -52,6 +54,7 @@ RUN chmod -R 777 /home/jovyan && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* + USER $NB_UID #Install Python and R packages in the py_geo and r_geo environmets, respectively. COPY py_geo.yml .