diff --git a/.build/Dockerfile b/.build/Dockerfile old mode 100644 new mode 100755 index 0328c86..c007c06 --- a/.build/Dockerfile +++ b/.build/Dockerfile @@ -1,6 +1,6 @@ # Use NVIDIA CUDA as base image and run the same installation as in the other packages. # The version of cudatoolkit must match those of the base image, see Dockerfile.pytorch -FROM nvidia/cuda:10.2-base-ubuntu18.04 +FROM nvidia/cuda:10.1-base-ubuntu18.04 LABEL maintainer="Jupyter Project " ############################################################################ @@ -380,7 +380,7 @@ RUN conda install --quiet --yes \ # Install PyTorch, version of cudatoolkit must match those of the base image RUN conda install -y -c pytorch \ - cudatoolkit=10.2 \ + cudatoolkit=10.1 \ 'pytorch=1.3.1' \ torchvision && \ conda clean --all -f -y && \ diff --git a/.build/fix-permissions b/.build/fix-permissions old mode 100644 new mode 100755 diff --git a/.build/jupyter_notebook_config.json b/.build/jupyter_notebook_config.json old mode 100644 new mode 100755 diff --git a/.build/jupyter_notebook_config.py b/.build/jupyter_notebook_config.py old mode 100644 new mode 100755 diff --git a/generate_Dockerfile.sh b/generate_Dockerfile.sh index 8c36384..2ced685 100755 --- a/generate_Dockerfile.sh +++ b/generate_Dockerfile.sh @@ -29,7 +29,7 @@ cp $STACKS_DIR/base-notebook/fix-permissions .build/ cp $STACKS_DIR/base-notebook/start.sh .build/ cp $STACKS_DIR/base-notebook/start-notebook.sh .build/ cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/ -chmod 755 .build/*.sh +chmod 755 .build/* echo " ############################################################################ diff --git a/src/Dockerfile.header b/src/Dockerfile.header index 1a5d9ba..60fe719 100644 --- a/src/Dockerfile.header +++ b/src/Dockerfile.header @@ -1,4 +1,4 @@ # Use NVIDIA CUDA as base image and run the same installation as in the other packages. # The version of cudatoolkit must match those of the base image, see Dockerfile.pytorch -FROM nvidia/cuda:10.2-base-ubuntu18.04 +FROM nvidia/cuda:10.1-base-ubuntu18.04 LABEL maintainer="Jupyter Project " diff --git a/src/Dockerfile.pytorch b/src/Dockerfile.pytorch index f3eec75..ad344ed 100644 --- a/src/Dockerfile.pytorch +++ b/src/Dockerfile.pytorch @@ -7,7 +7,7 @@ RUN conda install --quiet --yes \ # Install PyTorch, version of cudatoolkit must match those of the base image RUN conda install -y -c pytorch \ - cudatoolkit=10.2 \ + cudatoolkit=10.1 \ 'pytorch=1.3.1' \ torchvision && \ conda clean --all -f -y && \