Skip to content

Commit

Permalink
fix Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Sep 10, 2024
1 parent 8ed22a5 commit a610480
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
FROM ubuntu:22.04

RUN apt-get -y update && apt-get install -y apt-utils && \
apt-get install -y -qq -o=Dpkg::Use-Pty=0 build-essential gfortran zlib1g-dev \
libhdf5-dev libzip-dev ninja-build libcurl4-openssl-dev libboost-all-dev bzip2 cmake wget python3
apt-get install -y -qq -o=Dpkg::Use-Pty=0 build-essential gfortran \
libhdf5-dev libzip-dev ninja-build libcurl4-openssl-dev libboost-all-dev libbz2-dev cmake python3

# Install an alternative Fortran compiler
RUN apt-get install -y gfortran-10

# Set the alternative Fortran compiler as the default
RUN update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-10 10

# Fix broken dependencies and reconfigure ca-certificates
RUN apt-get -y update && apt-get install -f && dpkg --configure -a && apt-get clean

COPY . /vcellroot

Expand Down

0 comments on commit a610480

Please sign in to comment.