Skip to content

Commit 7dea152

Browse files
committed
Add Dockerfile. Update and improve SConsctruct.
1 parent 57760db commit 7dea152

File tree

2 files changed

+328
-150
lines changed

2 files changed

+328
-150
lines changed

Dockerfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM quay.io/matsengrp/conda-beagle
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
cmake \
5+
libgsl0-dev \
6+
unzip \
7+
wget \
8+
git
9+
10+
RUN git clone --depth 1 --branch=main https://github.com/phylovi/libsbn /libsbn
11+
WORKDIR /libsbn
12+
RUN git submodule update --init --recursive
13+
14+
RUN /opt/conda/bin/conda env create -f environment.yml
15+
RUN echo "conda activate libsbn" >> $HOME/.bashrc
16+
RUN /opt/conda/envs/libsbn/bin/pip install phylostan
17+
18+
WORKDIR /
19+
ENV BEAGLE_PREFIX /usr/local
20+
ENV LD_LIBRARY_PATH /usr/local/lib
21+
22+
RUN wget https://github.com/4ment/physher/archive/marginal-v1.1.zip && unzip marginal-v1.1.zip
23+
WORKDIR /physher-marginal-v1.1/Release
24+
RUN cmake -DBUILD_SHARED_LIBS=OFF .. && make && make install
25+
26+
WORKDIR /data

0 commit comments

Comments
 (0)