From e3d7e4063d7a666196eb6d42d41129669c5b9734 Mon Sep 17 00:00:00 2001 From: Christian Rohlfing <rohlfing@ient.rwth-aachen.de> Date: Tue, 3 Mar 2020 21:45:15 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index e769975..ec2f62a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,15 @@ RUN sed -i "s|name\: jupyter-example-profile|name\: base|g" /tmp/environment.yml USER $NB_USER RUN conda env update -f /tmp/environment.yml # All packages specified in environment.yml are installed in the base environment +# Execute postBuild script +ADD postBuild.sh /tmp/postBuild.sh +# Make the file executable (TODO: is this still needed?) +USER root +RUN chmod +x /tmp/postBuild.sh +# +USER $NB_USER +RUN /tmp/postBuild.sh + # Cleanup conda packages RUN conda clean --all -f -y -- GitLab