Skip to content
Snippets Groups Projects
Commit dc9ee1a9 authored by calrama's avatar calrama
Browse files

[ubuntu,jupyterhub] unify pip and setuptools installation

parent 1df5efbb
Branches
No related tags found
No related merge requests found
......@@ -44,9 +44,10 @@ RUN python${JUPYTERHUB_PYTHON_VERSION} -m pip --no-cache-dir install \
RUN mkdir -p /usr/local/venv && \
python${JUPYTERHUB_PYTHON_VERSION} -m venv /usr/local/venv/default && \
. /usr/local/venv/default/bin/activate && \
python${JUPYTERHUB_PYTHON_VERSION} -m pip --no-cache-dir install --upgrade pip==20.2.3 && \
pip --no-cache-dir install --upgrade setuptools==49.1.0 && \
pip install tensorflow==1.15.3 && \
python${JUPYTERHUB_PYTHON_VERSION} -m pip --no-cache-dir install --upgrade \
pip==${PYTHON_PIP_VERSION} \
setuptools==${PYTHON_SETUPTOOLS_VERSION} && \
pip --no-cache-dir install tensorflow==1.15.3 && \
pip --no-cache-dir install \
wheel \
black \
......
......@@ -105,4 +105,9 @@ RUN apt-get install -y \
ADD agki-nas01.imp.fu-berlin.de-ca-cert.crt /usr/local/share/ca-certificates/agki-nas01.imp.fu-berlin.de-ca-cert.crt
RUN update-ca-certificates
COPY pip.conf /etc/
RUN python3 -m pip install --upgrade pip==20.2.3
ENV PYTHON_PIP_VERSION=20.2.3
ENV PYTHON_SETUPTOOLS_VERSION=50.3.0
RUN python3 -m pip install --upgrade \
pip==${PYTHON_PIP_VERSION} \
setuptools==${PYTHON_SETUPTOOLS_VERSION}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment