summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-07-12 10:55:43 +0200
committerGitHub <noreply@github.com>2023-07-12 10:55:43 +0200
commitfb223f034b7f85af6d16b740f8e75384199917ee (patch)
treed17beccbe3aa9edb1b0ff105330e6f9b16322b47 /share
parentca4c59cd77e79123a310b0845e0c91780bbdf0e4 (diff)
downloadspack-fb223f034b7f85af6d16b740f8e75384199917ee.tar.gz
spack-fb223f034b7f85af6d16b740f8e75384199917ee.tar.bz2
spack-fb223f034b7f85af6d16b740f8e75384199917ee.tar.xz
spack-fb223f034b7f85af6d16b740f8e75384199917ee.zip
Fix build of CentOS stream docker image (#38824)
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/container/centos_stream.dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/spack/templates/container/centos_stream.dockerfile b/share/spack/templates/container/centos_stream.dockerfile
index 292d76d73c..427b242b8d 100644
--- a/share/spack/templates/container/centos_stream.dockerfile
+++ b/share/spack/templates/container/centos_stream.dockerfile
@@ -19,11 +19,11 @@ RUN dnf update -y \
iproute \
make \
patch \
- python38 \
- python38-pip \
- python38-setuptools \
+ python3.11 \
+ python3.11-setuptools \
unzip \
- && pip3 install boto3 \
+ && python3.11 -m ensurepip \
+ && pip3.11 install boto3 \
&& rm -rf /var/cache/dnf \
&& dnf clean all
{% endblock %}