From 705d0accbc52e4904af6081fe708e5f5d092bdb8 Mon Sep 17 00:00:00 2001 From: Russell Jarvis <rjjarvis@asu.edu> Date: Tue, 24 Mar 2020 14:20:17 +1100 Subject: [PATCH] Dockerfile user permissions granted to my binder file editor, documentation enrichment --- Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e75577..fa8a230 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,6 @@ USER $NB_UID RUN conda clean --all -f -y && \ fix-permissions $CONDA_DIR && \ fix-permissions /home/$NB_USER - # Add Julia packages. Only add HDF5 if this is not a test-only build since # it takes roughly half the entire build time of all of the images on Travis # to add this one package and often causes Travis to timeout. @@ -78,11 +77,17 @@ WORKDIR $HOME/work # RUN /opt/conda/bin/pip install git+https://github.com/russelljjarvis/NeuronunitOpt ADD . SpikingNeuralNetworks WORKDIR SpikingNeuralNetworks/examples -RUN julia -e "using Pkg;Pkg.clone(\"https://github.com/gsoleilhac/NSGAIII.jl\")" +RUN julia -e "using Pkg;Pkg.clone(\"https://github.com/gsoleilhac/NSGAII.jl\")" RUN python simple_with_injection.py RUN julia install.jl RUN julia lhhneuron.jl -USER $NB_UID + +RUN conda clean --all -f -y && \ + fix-permissions $CONDA_DIR && \ + fix-permissions /home/$NB_USER +USER root chown -R jovyan $HOME + +USER $NB_UID \ No newline at end of file -- GitLab