Skip to content

Commit a610480

Browse files
committed
fix Docker build
1 parent 8ed22a5 commit a610480

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
FROM ubuntu:22.04
22

33
RUN apt-get -y update && apt-get install -y apt-utils && \
4-
apt-get install -y -qq -o=Dpkg::Use-Pty=0 build-essential gfortran zlib1g-dev \
5-
libhdf5-dev libzip-dev ninja-build libcurl4-openssl-dev libboost-all-dev bzip2 cmake wget python3
4+
apt-get install -y -qq -o=Dpkg::Use-Pty=0 build-essential gfortran \
5+
libhdf5-dev libzip-dev ninja-build libcurl4-openssl-dev libboost-all-dev libbz2-dev cmake python3
6+
7+
# Install an alternative Fortran compiler
8+
RUN apt-get install -y gfortran-10
9+
10+
# Set the alternative Fortran compiler as the default
11+
RUN update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-10 10
12+
13+
# Fix broken dependencies and reconfigure ca-certificates
14+
RUN apt-get -y update && apt-get install -f && dpkg --configure -a && apt-get clean
615

716
COPY . /vcellroot
817

0 commit comments

Comments
 (0)