-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from niemasd/master
Create Dockerfile
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Docker image for HIV-TRACE | ||
FROM ubuntu:20.04 | ||
|
||
# Set up environment and install dependencies | ||
RUN apt-get update && apt-get -y upgrade && \ | ||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y cmake gcc g++ git libcurl4-openssl-dev libssl-dev make python3 python3-pip wget && \ | ||
|
||
# Update pip and use it to install Python packages | ||
python3 -m pip install --upgrade pip && \ | ||
pip3 install biopython cython numpy scipy && \ | ||
|
||
# Install tn93 | ||
wget -qO- "https://github.com/veg/tn93/archive/refs/tags/v.1.0.11.tar.gz" | tar -zx && \ | ||
cd tn93-* && \ | ||
cmake . && \ | ||
make install && \ | ||
cd .. && \ | ||
rm -rf tn93-* && \ | ||
|
||
# Clean up | ||
rm -rf ~/.cache /tmp/* ~/.wget-hsts |