Skip to content

Commit

Permalink
Ubuntu: add /usr/bin/python3 (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam J. Stewart <[email protected]>
  • Loading branch information
haampie and adamjstewart authored Jan 29, 2024
1 parent a34551e commit f48bab4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfiles/linux-ubuntu22.04-x86_64_v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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

0 comments on commit f48bab4

Please sign in to comment.