Skip to content

Commit

Permalink
spack-cgcore: switched to spack-0.22.2 and cmake-3.30.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslg committed Oct 26, 2024
1 parent 299a098 commit 7a23ba3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dockerfiles/Dockerfile.spack-cgcore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Ubuntu 22.04 allows to execute glxgears in a docker container
FROM ubuntu:22.04
#==========================================
ARG SPACK_VERSION=0.20.3
ARG SPACK_VERSION=0.22.2
# METADATA OF THE IMAGE
LABEL description="LIHPC-CG Spack core image" \
version.ubuntu="22.04" \
Expand All @@ -29,6 +29,10 @@ RUN apt update &&\
apt clean &&\
rm -rf /var/lib/apt/lists/*
#==========================================
RUN wget /~https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-linux-x86_64.tar.gz
RUN tar xvf cmake-3.30.5-linux-x86_64.tar.gz
RUN cp -r cmake-3.30.5-linux-x86_64/* /usr/
#==========================================
RUN git clone --depth=1 -b v${SPACK_VERSION} /~https://github.com/spack/spack.git &&\
git clone /~https://github.com/LIHPC-Computational-Geometry/spack_recipes.git &&\
cp spack_recipes/config/packages.yaml /spack/etc/spack/
Expand Down

0 comments on commit 7a23ba3

Please sign in to comment.