diff --git a/.binder/Dockerfile b/.binder/Dockerfile index 0cc897d..90e3e88 100644 --- a/.binder/Dockerfile +++ b/.binder/Dockerfile @@ -11,17 +11,13 @@ RUN adduser --disabled-password \ --uid ${NB_UID} \ ${NB_USER} -RUN mamba install -y \ - notebook jupyterlab \ - && mamba clean -ya +RUN pip install notebook jupyterlab COPY ./examples ${HOME}/examples + USER root RUN chown -R ${NB_UID} ${HOME} USER ${NB_USER} -RUN /opt/conda/bin/conda init bash \ - && /opt/conda/bin/conda config --set auto_activate_base true - ENTRYPOINT [] diff --git a/.binder/postBuild b/.binder/postBuild old mode 100644 new mode 100755 index 74b7702..639427e --- a/.binder/postBuild +++ b/.binder/postBuild @@ -1,5 +1,6 @@ +#!/bin/bash mkdir -p /home/${USER}/examples echo "cd /home/${USER}/examples" > /home/${USER}/.bashrc -python -c "import geant4_python_application; geant4_python_application.install_datasets()" +# python -c "import geant4_python_application; geant4_python_application.install_datasets()"