mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-09 02:54:05 +00:00
Install tensorflow from conda instead of pip
This commit is contained in:
@@ -6,7 +6,9 @@ FROM $BASE_CONTAINER
|
|||||||
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
|
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
|
||||||
|
|
||||||
# Install Tensorflow
|
# Install Tensorflow
|
||||||
RUN pip install --quiet --no-cache-dir \
|
RUN conda install --quiet --yes \
|
||||||
'tensorflow==2.4.1' && \
|
'tensorflow=2.4.1' \
|
||||||
|
&& \
|
||||||
|
conda clean --all -f -y && \
|
||||||
fix-permissions "${CONDA_DIR}" && \
|
fix-permissions "${CONDA_DIR}" && \
|
||||||
fix-permissions "/home/${NB_USER}"
|
fix-permissions "/home/${NB_USER}"
|
||||||
|
Reference in New Issue
Block a user