-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (25 loc) · 1020 Bytes
/
Dockerfile
File metadata and controls
31 lines (25 loc) · 1020 Bytes
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
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV HP_HDIR=/MitoHPC2/
ENV HP_SDIR=/MitoHPC2/scripts/
ENV HP_BDIR=/MitoHPC2/bin/
ENV HP_ADIR="bams"
ENV HP_ODIR="out"
ENV HP_IN="in.txt"
ENV PATH="$HP_SDIR:$HP_BDIR:$PATH"
###########################################
RUN apt-get -y update
RUN apt-get install -y wget tar nano curl git
###########################################
RUN \
cd / && \
git clone https://github.com/dpuiu/MitoHPC2 && \
chmod a+x $HP_SDIR/*.* && \
. $HP_SDIR/init.sh && \
$HP_SDIR/install_sysprerequisites.sh && \
$HP_SDIR/install_prerequisites.sh && \
export HP_MT=rCRS && export HP_MTC=rCRSC && export HP_MTR=rCRSR && $HP_SDIR/install_prerequisites.sh && \
export HP_MT=RSRS && export HP_MTC=RSRSC && export HP_MTR=RSRSR && $HP_SDIR/install_prerequisites.sh && \
HP_MT=RSRS $HP_SDIR/install_prerequisites.sh && \
$HP_SDIR/checkInstall.sh && \
rm -fr /MitoHPC2/prerequisites/ /MitoHPC2/examples*