try, fail and give up on getting miniconda to work
Someone else should do this :)
MODIFY
singleuser-builder-conda/Dockerfile
singleuser-builder-conda/Dockerfile
@@ -25,8 +25,9 @@ ADD install-miniconda.bash /usr/local/bin/install-miniconda.bash
RUN /usr/local/bin/install-miniconda.bash
USER $NB_USER
-RUN pip install --no-cache-dir notebook==5.0.0 jupyterhub==0.7.2 ipywidgets==5.2.3 && \
- jupyter nbextension enable --py widgetsnbextension
+ADD environment.yml .
+RUN conda env create --quiet -n base
+RUN rm environment.yml
COPY ./s2i/bin/ /usr/libexec/s2i

ADD
singleuser-builder-conda/environment.yml
+name: base
+dependencies:
+- notebook==5.0.0
+- ipykernel==4.6.0
+- ipywidgets==6.0.0
+- pip:
+ jupyterhub==0.7.2

MODIFY
singleuser-builder-conda/s2i/bin/assemble
singleuser-builder-conda/s2i/bin/assemble
@@ -19,7 +19,7 @@ cp -Rf /tmp/src/. .
echo "---> Building application from source..."
if [ -f environment.yml ]; then
- conda env update -f environment.yml
+ conda env update -n base -f environment.yml
elif [ -f requirements.txt ]; then
pip install -r requirements.txt
fi

MODIFY
singleuser-builder-conda/s2i/bin/run
singleuser-builder-conda/s2i/bin/run
# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
#
+source activate base
exec jupyter notebook --ip=0.0.0.0

MODIFY
singleuser-builder-conda/version
singleuser-builder-conda/version
-v0.1.1
+v0.1.3

try, fail and give up on getting miniconda to work

Someone else should do this :)