You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
FROM ubuntu:22.04
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && \
|
|
apt-get install --no-install-recommends -y \
|
|
automake \
|
|
autoconf \
|
|
bison \
|
|
build-essential \
|
|
bzip2 \
|
|
cmake \
|
|
curl \
|
|
flex \
|
|
gfortran \
|
|
git \
|
|
libaec-dev \
|
|
libcurl4-openssl-dev \
|
|
libjpeg-dev \
|
|
libopenmpi-dev \
|
|
libx11-dev \
|
|
libzip-dev \
|
|
m4 \
|
|
openmpi-bin \
|
|
python3.10 \
|
|
python3-dev \
|
|
python3-mpi4py \
|
|
python3-numpy \
|
|
python3-pip \
|
|
wget \
|
|
zlib1g-dev && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
|
|
RUN git clone --depth 1 https://github.com/sandialabs/seacas.git
|
|
WORKDIR /seacas
|
|
RUN ./install-tpl.sh
|
|
RUN mkdir build
|
|
WORKDIR /seacas/build
|
|
RUN ../cmake-config && \
|
|
make && \
|
|
make install
|
|
ENV PATH "${PATH}:/seacas/bin/"
|
|
ENV PYTHONPATH "${PYTHONPATH}:/seacas/lib/"
|
|
ENV LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/seacas/lib/"
|
|
CMD ["/bin/bash"]
|
|
|