Skip to content

Commit

Permalink
CI: Update Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Jan 25, 2024
1 parent d62203e commit 4a8a724
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
9 changes: 4 additions & 5 deletions docker/carpetx-cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
# docker push einsteintoolkit/carpetx:cpu-real32

# jammy is ubuntu:22.04
# [GOOD] FROM ubuntu:jammy-20231128
FROM ubuntu:jammy-20231211.1
FROM ubuntu:jammy-20240111

ENV DEBIAN_FRONTEND=noninteractive \
LANGUAGE=en_US.en \
Expand Down Expand Up @@ -103,9 +102,9 @@ RUN apt-get update && \
# blosc2 is a compression library, comparable to zlib
RUN mkdir src && \
(cd src && \
wget https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.11.3.tar.gz && \
tar xzf v2.11.3.tar.gz && \
cd c-blosc2-2.11.3 && \
wget https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.13.1.tar.gz && \
tar xzf v2.13.1.tar.gz && \
cd c-blosc2-2.13.1 && \
cmake -B build -G Ninja -S . \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
6 changes: 3 additions & 3 deletions docker/carpetx-cuda.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ RUN apt-get update && \
# blosc2 is a compression library, comparable to zlib
RUN mkdir src && \
(cd src && \
wget https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.11.3.tar.gz && \
tar xzf v2.11.3.tar.gz && \
cd c-blosc2-2.11.3 && \
wget https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.13.1.tar.gz && \
tar xzf v2.13.1.tar.gz && \
cd c-blosc2-2.13.1 && \
cmake -B build -G Ninja -S . \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
11 changes: 5 additions & 6 deletions docker/carpetx-rocm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
# docker build --build-arg real_precision=real32 --file carpetx-rocm.dockerfile --tag einsteintoolkit/carpetx:rocm-real32 .
# docker push einsteintoolkit/carpetx:rocm-real32

# [GOOD] FROM rocm/dev-ubuntu-22.04:5.7
FROM rocm/dev-ubuntu-22.04:5.7.1
# [BROKEN] FROM rocm/dev-ubuntu-22.04:6.0
FROM rocm/dev-ubuntu-22.04:6.0

ENV DEBIAN_FRONTEND=noninteractive \
LANGUAGE=en_US.UTF-8 \
Expand All @@ -34,6 +32,7 @@ RUN apt-get update && \
gfortran \
git \
hdf5-tools \
hiprand-dev \
language-pack-en \
less \
libblosc-dev \
Expand Down Expand Up @@ -106,9 +105,9 @@ RUN apt-get update && \
# blosc2 is a compression library, comparable to zlib
RUN mkdir src && \
(cd src && \
wget https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.11.3.tar.gz && \
tar xzf v2.11.3.tar.gz && \
cd c-blosc2-2.11.3 && \
wget https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.13.1.tar.gz && \
tar xzf v2.13.1.tar.gz && \
cd c-blosc2-2.13.1 && \
cmake -B build -G Ninja -S . \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down

0 comments on commit 4a8a724

Please sign in to comment.