Skip to content

Instantly share code, notes, and snippets.

@kozo2
Last active April 24, 2019 19:38
Show Gist options
  • Save kozo2/ad8d974c6cf59cf4f50d8da418371752 to your computer and use it in GitHub Desktop.
Save kozo2/ad8d974c6cf59cf4f50d8da418371752 to your computer and use it in GitHub Desktop.
FROM ubuntu
USER root
RUN apt-get update && apt-get install -y git python3 python3-pip cmake libboost-dev libgsl-dev curl && \
curl -LO https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5.tar.bz2 && \
tar xf hdf5-1.10.5.tar.bz2 && \
cd ./hdf5-1.10.5 && ./configure --enable-cxx --prefix=/opt/hdf5 && make && make install && \
export PATH=/opt/hdf5/bin:${PATH} && \
export LD_LIBRARY_PATH=/opt/hdf5/lib:${LD_LIBRARY_PATH} && \
export INCLUDE_PATH=/opt/hdf5/include:${INCLUDE_PATH} && \
cd && git clone git://github.com/ecell/ecell4-base && cd ecell4-base && git checkout -t origin/v2.0 && \
git submodule sync && git submodule update --init --remote && \
python3 -m pip install -U pip setuptools && \
python3 setup.py build && \
python3 setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment