-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
34 lines (27 loc) · 961 Bytes
/
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
#
# Build the Docker container to run the implementations with all dependencies.
#
# Puts all files for the project under `/root`
#
# For building:
# docker build -t blastn .
#
FROM ubuntu:18.04
# prepare installation of dependencies
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
git python3 python3-pip gcc g++ make \
vim wget
# add python dependencies
RUN pip3 install numpy tqdm
# ensure proper ssl certificate for git
RUN apt-get install -y --reinstall --no-install-recommends ca-certificates
RUN mkdir /usr/local/share/ca-certificates/cacert.org
RUN wget -P /usr/local/share/ca-certificates/cacert.org http://www.cacert.org/certs/root.crt http://www.cacert.org/certs/class3.crt
RUN update-ca-certificates
RUN git config --global http.sslCAinfo /etc/ssl/certs/ca-certificates.crt
# get repository
WORKDIR /root
RUN git clone https://github.com/JacobLondon/Blastn.git --recurse-submodules
# done
CMD ["/bin/bash"]