-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
28 lines (21 loc) · 989 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM python:2
RUN apt-get update && \
apt-get install -yq make git bc && \
apt-get clean
RUN pip install --upgrade pip
RUN pip install 'numpy==1.16.6' && \
pip install 'biopython==1.68'
RUN curl -L https://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh -O && \
bash Miniconda3-4.7.12.1-Linux-x86_64.sh -bf -p /usr/miniconda3/ && \
rm Miniconda3-4.7.12.1-Linux-x86_64.sh && \
/usr/miniconda3/bin/conda clean -tipsy && \
ln -s /usr/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /usr/miniconda3/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate base" >> ~/.bashrc
COPY requirements.yml /requirements.yml
RUN /usr/miniconda3/bin/conda env create -f /requirements.yml && \
/usr/miniconda3/bin/conda clean -a
RUN git clone -b v1.5.8 https://github.com/ChrisHIV/shiver.git
ENV PATH=/usr/miniconda3/envs/time_analysis/bin/:/shiver:/shiver/tools:$PATH
RUN pip3 install 'pyfastaq==3.17.0'
CMD [ "/bin/bash" ]