-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
32 lines (28 loc) · 1.29 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
# Need a Pathway-tools installer in the same folder.
# Use it with the command mpwt -f folder
FROM phusion/baseimage:latest
MAINTAINER "Belcour A."
LABEL Version="0.2"
LABEL Description="Multiprocessing Pathway-Tools 22.0 in Docker container"
# Update repositories & install packages.
# Create file needed by Pathway-Tools to find Blast binaries.
RUN apt-get -y update && \
apt-get install -y \
csh \
ncbi-blast+ \
libxm4 \
iputils-ping \
gnome-terminal;\
echo "[ncbi]\nData=/usr/bin/data" > ~/.ncbirc
# Copy the Pathway-Tools installer into the docker.
COPY pathway-tools-22.0-linux-64-tier1-install /tmp/
# Install silently Pathway-Tools in /programs/pathway-tools and clean folder.
RUN mkdir programs;\
chmod u+x /tmp/pathway-tools-22.0-linux-64-tier1-install;\
./tmp/pathway-tools-22.0-linux-64-tier1-install --InstallDir /programs/pathway-tools --PTOOLS_LOCAL_PATH /root --InstallDesktopShortcuts 0 --mode unattended;\
echo 'export PATH="$PATH:/programs/pathway-tools:"' >> ~/.bashrc;\
rm /tmp/pathway-tools-22.0-linux-64-tier1-install;\
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install multiprocessing script and its dependencies.
RUN curl https://bootstrap.pypa.io/get-pip.py | python3;\
pip install mpwt