Commit af194f59 authored by Carine Rey's avatar Carine Rey
Browse files

add bppsuite dockerfile

parent f467d64d
# base
FROM debian:stretch
MAINTAINER Carine Rey carine.rey@ens-lyon.org
# requirements
RUN apt-get update && \
apt-get install --no-install-recommends -qy \
git \
make \
ca-certificates \
g++\
gcc \
cmake
ENV LD_LIBRARY_PATH=/usr/local/lib/
# install bpp
WORKDIR $bpp_dir/sources/bpp-core
RUN git clone https://github.com/BioPP/bpp-core . &&\
git checkout 405cab5 &&\
cmake . && \
(make -j 4 || make) && \
make install
WORKDIR $bpp_dir/sources/bpp-seq
RUN git clone https://github.com/BioPP/bpp-seq . && \
git checkout 32d9c67 &&\
cmake . && \
(make -j 4 || make) && \
make install
WORKDIR $bpp_dir/sources/bpp-popgen
RUN git clone https://github.com/BioPP/bpp-popgen . &&\
git checkout 77d712e &&\
cmake . && \
(make -j 4 || make) && \
make install
WORKDIR $bpp_dir/sources/bpp-phyl
RUN git clone --branch devel https://github.com/BioPP/bpp-phyl . &&\
git checkout 561ac70 &&\
cmake . && \
(make -j 4 || make) && \
make install
WORKDIR $bpp_dir/sources/bppsuite
RUN git clone https://github.com/BioPP/bppsuite . &&\
git checkout 77ccc0a &&\
cmake . && \
(make -j 4 || make) && \
make install
#! /bin/bash
set -e
IMAGE_NAME=bppsuite
DOCKERFILE_DIR=.
TAG=06182018
REPO=carinerey/$IMAGE_NAME:$TAG
docker build -t $REPO -f ./Dockerfile $DOCKERFILE_DIR
if [[ $1 == "push_yes" ]]
then
docker push $REPO
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment