kopia lustrzana https://github.com/jupyterhub/repo2docker
try, fail and give up on getting miniconda to work
Someone else should do this :)pull/6/head
rodzic
bafa6d7d50
commit
488f70112d
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
name: base
|
||||
dependencies:
|
||||
- notebook==5.0.0
|
||||
- ipykernel==4.6.0
|
||||
- ipywidgets==6.0.0
|
||||
- pip:
|
||||
jupyterhub==0.7.2
|
|
@ -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
|
||||
|
|
|
@ -7,4 +7,5 @@
|
|||
# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
|
||||
#
|
||||
|
||||
source activate base
|
||||
exec jupyter notebook --ip=0.0.0.0
|
||||
|
|
|
@ -1 +1 @@
|
|||
v0.1.1
|
||||
v0.1.3
|
||||
|
|
Ładowanie…
Reference in New Issue