Skip to content

Commit

Permalink
Small change to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
John Foster committed Jul 17, 2014
1 parent eb20c71 commit 5f8f63e
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ MAINTAINER John Foster <[email protected]>

ENV HOME /root

RUN apt-get -yq install gfortran python
RUN apt-get -yq install libblas-dev liblapack-dev
RUN apt-get -yq install libboost-dev
RUN apt-get -yq install libopenmpi-dev
RUN apt-get -yq install cmake
RUN apt-get -yq install g++ \
gfortran \
python \
libblas-dev \
liblapack-dev \
libboost-dev \
libopenmpi-dev \
cmake

#Build Trilinos
RUN wget http://trilinos.sandia.gov/download/files/trilinos-11.8.1-Source.tar.bz2;\
tar xjvf trilinos-11.8.1-Source.tar.bz2;\
RUN wget http://trilinos.sandia.gov/download/files/trilinos-11.8.1-Source.tar.bz2; \
tar xjvf trilinos-11.8.1-Source.tar.bz2; \
mkdir trilinos-11.8.1-Source/build
ADD trilinos-debian-cmake.sh /trilinos-11.8.1-Source/build/trilinos-debian-cmake.sh
RUN cd trilinos-11.8.1-Source/build;\
./trilinos-debian-cmake.sh;\
make && make install;\
cd ../..;\
RUN cd trilinos-11.8.1-Source/build; \
./trilinos-debian-cmake.sh; \
make && make install; \
cd ../..; \
rm -rf trilinos-11.8.1-Source trilinos-11.8.1-Source.tar.bz2

0 comments on commit 5f8f63e

Please sign in to comment.