-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
FROM docker.io/debian:bullseye | ||
FROM docker.io/debian:bookworm | ||
|
||
MAINTAINER Björn Dahlgren <[email protected]> | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
RUN apt-get update && \ | ||
apt-get --quiet --assume-yes install curl git g++-10 gfortran-10 libgmp-dev binutils-dev bzip2 make cmake sudo \ | ||
python3-dev python3-pip libboost-dev libgsl-dev liblapack-dev libsuitesparse-dev graphviz && \ | ||
apt-get --quiet --assume-yes install --no-install-recommends \ | ||
curl git g++ gfortran libgmp-dev binutils-dev bzip2 make cmake sudo \ | ||
python3-dev python3-venv python3-pip libboost-dev libgsl-dev liblapack-dev libsuitesparse-dev graphviz && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN mkdir /tmp/sundials-5.8.0-build && \ | ||
curl -Ls https://github.com/LLNL/sundials/releases/download/v5.8.0/sundials-5.8.0.tar.gz | tar xz -C /tmp && \ | ||
FC=gfortran-10 cmake \ | ||
FC=gfortran cmake \ | ||
-S /tmp/sundials-5.8.0 \ | ||
-B /tmp/sundials-5.8.0-build \ | ||
-DCMAKE_INSTALL_PREFIX=/usr/local \ | ||
|
@@ -28,8 +29,6 @@ RUN mkdir /tmp/sundials-5.8.0-build && \ | |
cmake --build /tmp/sundials-5.8.0-build && \ | ||
cmake --build /tmp/sundials-5.8.0-build --target install && \ | ||
rm -r /tmp/sundials-5.8.0*/ && \ | ||
python3 -m pip install --upgrade-strategy=eager --upgrade pip && \ | ||
python3 -m pip install --upgrade-strategy=eager numpy 'cython>=3.0.10' setuptools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters