Skip to content

Commit

Permalink
Install boost in Dockerfile from tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-Kakodkar committed Jan 8, 2024
1 parent 48e64c8 commit 8d99a96
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ RUN echo "cmake version:" && \
cmake --version && \
echo "Done."

## TODO: Install boost from a tarball
# Install Boost
RUN echo "Installing Boost..." && \
echo "====================" && \
echo "" && \
wget https://archives.boost.io/release/1.73.0/source/boost_1_73_0.tar.bz2 && \
tar --bzip2 -xf boost_1_73_0.tar.bz2 && \
cd boost_1_73_0 && \
./bootstrap.sh --prefix=/usr/local/boost_1_73_0 && \
./b2 install && \
cd ..

# Install SPECFEM++
RUN echo "Installing SPECFEM++..." && \
Expand Down

0 comments on commit 8d99a96

Please sign in to comment.