diff --git a/Dockerfiles/linux-ubuntu22.04-x86_64_v2/Dockerfile b/Dockerfiles/linux-ubuntu22.04-x86_64_v2/Dockerfile index a16cb2c..cfa5070 100644 --- a/Dockerfiles/linux-ubuntu22.04-x86_64_v2/Dockerfile +++ b/Dockerfiles/linux-ubuntu22.04-x86_64_v2/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get -yqq update && \ RUN mkdir spack && \ cd spack && \ - curl -Lfs https://github.com/spack/spack/archive/refs/heads/develop.tar.gz | tar -xzf - --strip-components=1 -C . + curl -Lfs https://github.com/spack/spack/archive/refs/heads/develop.tar.gz | tar -xzf - --strip-components=1 -C . COPY spack.yaml /root/ COPY Dockerfiles/linux-ubuntu22.04-x86_64_v2/compilers.yaml Dockerfiles/linux-ubuntu22.04-x86_64_v2/packages.yaml /root/spack/etc/spack/ @@ -58,3 +58,7 @@ RUN apt-get -yqq update && \ gcc gfortran g++ \ libc-dev && \ rm -rf /var/lib/apt/lists/* + +# TF requires /usr/bin/python3 +# https://github.com/tensorflow/tensorflow/issues/62497 +RUN ln -s $(command -v python3) /usr/bin/python3