Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docker/psc-cpp-ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
apt-transport-https ca-certificates gnupg software-properties-common wget \
libhdf5-openmpi-dev

# cmake version 3.21 is gtensor's lower bound as of March 11 2026;
# it would probably work just as well to use the "latest" cmake, but
# Docker caches RUN commands and will use the cached "latest" cmake indefinitely
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
| gpg --dearmor - > /etc/apt/trusted.gpg.d/kitware.gpg \
&& apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' \
&& apt-get update \
&& apt-get -y install --no-install-recommends cmake
&& apt-get -y install --no-install-recommends cmake=3.21.4


5 changes: 4 additions & 1 deletion docker/psc-spack-cuda-ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
silversearcher-ag vim less \
&& rm -rf /var/lib/apt/lists/*

# cmake version 3.21 is gtensor's lower bound as of March 11 2026;
# it would probably work just as well to use the "latest" cmake, but
# Docker caches RUN commands and will use the cached "latest" cmake indefinitely
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
| gpg --dearmor - > /etc/apt/trusted.gpg.d/kitware.gpg \
&& apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' \
&& apt-get update \
&& apt-get -y install --no-install-recommends cmake \
&& apt-get -y install --no-install-recommends cmake=3.21.4 \
&& rm -rf /var/lib/apt/lists/*

RUN spack config --scope system add "packages:all:target: [haswell]" \
Expand Down
5 changes: 4 additions & 1 deletion docker/psc-spack-ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
silversearcher-ag vim less \
&& rm -rf /var/lib/apt/lists/*

# cmake version 3.21 is gtensor's lower bound as of March 11 2026;
# it would probably work just as well to use the "latest" cmake, but
# Docker caches RUN commands and will use the cached "latest" cmake indefinitely
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
| gpg --dearmor - > /etc/apt/trusted.gpg.d/kitware.gpg \
&& apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' \
&& apt-get update \
&& apt-get -y install --no-install-recommends cmake \
&& apt-get -y install --no-install-recommends cmake=3.21.4 \
&& rm -rf /var/lib/apt/lists/*

RUN spack config --scope system add "packages:all:target: [haswell]" \
Expand Down