Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
################## BASE IMAGE ###################### | ||
|
||
FROM clinicalgenomics/mip_base:2.1 | ||
FROM python:2.7-slim | ||
|
||
################## METADATA ###################### | ||
|
||
LABEL base_image="clinicalgenomics/mip_base:2.1" | ||
LABEL version="1" | ||
LABEL base_image="python:2.7-slim" | ||
LABEL version="2" | ||
LABEL software="BootstrapAnn" | ||
LABEL software.version="df02f35" | ||
LABEL software.version="ebc81ed" | ||
LABEL extra.binaries="BootstrapAnn.py" | ||
LABEL maintainer="Clinical-Genomics/MIP" | ||
|
||
RUN conda install pip python=2.7 numpy scipy | ||
RUN apt-get update && apt-get install -y git | ||
RUN apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
## Clean up after conda | ||
RUN /opt/conda/bin/conda clean -tipsy | ||
RUN pip install numpy scipy | ||
|
||
## Clone git repository | ||
RUN git clone https://github.com/J35P312/BootstrapAnn.git /opt/conda/share/BootstrapAnn | ||
RUN git clone https://github.com/J35P312/BootstrapAnn.git /usr/local/BootstrapAnn | ||
|
||
RUN cd /opt/conda/share/BootstrapAnn && git checkout df02f35 | ||
RUN cd /usr/local/BootstrapAnn && git checkout ebc81ed | ||
|
||
## Move to smn_caller directory | ||
RUN cd /opt/conda/share/BootstrapAnn && \ | ||
RUN cd /usr/local/BootstrapAnn && \ | ||
chmod a+x BootstrapAnn.py | ||
|
||
RUN ln --symbolic --force /opt/conda/share/BootstrapAnn/BootstrapAnn.py /opt/conda/bin/BootstrapAnn.py | ||
RUN ln --symbolic --force /usr/local/BootstrapAnn/BootstrapAnn.py /usr/local/bin/BootstrapAnn.py | ||
|
||
WORKDIR /data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters