-
Notifications
You must be signed in to change notification settings - Fork 48
/
Dockerfile
executable file
·34 lines (22 loc) · 1.06 KB
/
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
29
30
31
32
33
34
############################################################
# Dockerfile to build STREAM v1.0
############################################################
# Set the base image to anaconda
FROM continuumio/miniconda3
# File Author / Maintainer
MAINTAINER Huidong Chen
ENV SHELL bash
RUN conda config --add channels defaults
RUN conda config --add channels conda-forge
RUN conda config --add channels bioconda
RUN apt-get update && apt-get install gsl-bin libgsl0-dev -y && apt-get clean
#Install stream package
RUN conda install stream=1.0 jupyter tzlocal -y && conda clean --all -y
RUN Rscript -e 'install.packages("stringi",repos="https://cloud.r-project.org/")'
##steps to sync with master on github
# RUN packagepath=$(python -c "import stream; print(stream.__path__[0])") && rm -rf ${packagepath}*
# RUN git clone https://github.com/pinellolab/STREAM.git && cd STREAM && python setup.py install && cd .. && rm -Rf STREAM
#run_test
RUN python -c "import stream; print(stream.__version__)"
#RUN stream_run_test
ENTRYPOINT ["stream"]