From cf1e7e4d03637a737afa0d4af17db300ffe1aa4e Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Wed, 22 Jul 2020 19:32:56 +0200 Subject: [PATCH] [jupyterhub] install tensorflow via pypi (using our own pypi server) --- jupyterhub/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jupyterhub/Dockerfile b/jupyterhub/Dockerfile index d6fda02..acc6f89 100755 --- a/jupyterhub/Dockerfile +++ b/jupyterhub/Dockerfile @@ -18,8 +18,6 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ openjdk-11-jre-headless && \ apt-get clean -COPY --from=git.imp.fu-berlin.de:5000/bioroboticslab/robofish/docker/tensorflow:1.15.3 /opt/tensorflow/build/tensorflow-1.15.3-cp37-cp37m-linux_x86_64.whl /opt/tensorflow/tensorflow-1.15.3-cp37-cp37m-linux_x86_64.whl - RUN python3.7 -m pip --no-cache-dir install \ jupyterlab \ jupyterhub \ @@ -38,7 +36,7 @@ RUN mkdir -p ~/.venv && \ . ~/.venv/robofish/bin/activate && \ pip --no-cache-dir install --upgrade pip==20.1.1 && \ pip --no-cache-dir install --upgrade setuptools==49.1.0 && \ - pip install /opt/tensorflow/tensorflow-1.15.3-cp37-cp37m-linux_x86_64.whl && \ + pip install tensorflow==1.15.3 && \ pip --no-cache-dir install \ wheel \ scipy \ -- GitLab