Skip to content

Commit

Permalink
fixing dockerfile for bootstrapann
Browse files Browse the repository at this point in the history
  • Loading branch information
jemten committed May 17, 2022
1 parent e451449 commit 625ca05
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions containers/bootstrapann/Dockerfile
Expand Up @@ -4,27 +4,23 @@ FROM python:2.7-slim

################## METADATA ######################

LABEL base_image="python:2.7-slim"
LABEL "base_image"="python:2.7-slim"
LABEL version="2"
LABEL software="BootstrapAnn"
LABEL software.version="e557dd3"
LABEL extra.binaries="BootstrapAnn.py"
LABEL maintainer="Clinical-Genomics/MIP"

RUN apt-get update && apt-get install -y git
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update && apt-get install -y --no-install-recommends git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
pip install --no-cache-dir numpy scipy && \
git clone https://github.com/J35P312/BootstrapAnn.git /usr/local/BootstrapAnn

RUN pip install numpy scipy
WORKDIR /usr/local/BootstrapAnn

## Clone git repository
RUN git clone https://github.com/J35P312/BootstrapAnn.git /usr/local/BootstrapAnn

RUN cd /usr/local/BootstrapAnn && git checkout e557dd3

RUN cd /usr/local/BootstrapAnn && \
chmod a+x BootstrapAnn.py

RUN ln --symbolic --force /usr/local/BootstrapAnn/BootstrapAnn.py /usr/local/bin/BootstrapAnn.py
RUN git checkout e557dd3 && \
chmod a+x BootstrapAnn.py && \
ln --symbolic --force /usr/local/BootstrapAnn/BootstrapAnn.py /usr/local/bin/BootstrapAnn.py

WORKDIR /data/

0 comments on commit 625ca05

Please sign in to comment.