forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (33 loc) · 1.27 KB
/
Dockerfile
File metadata and controls
39 lines (33 loc) · 1.27 KB
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
35
36
37
38
39
FROM ubuntu:xenial as app
# for easy upgrade later. ARG variables only persist during build time.
ARG IQTREE2_VER="2.2.2.2"
# metadata
LABEL base.image="ubuntu:xenial"
LABEL dockerfile.version="1"
LABEL software="IQ-Tree2"
LABEL software.version="2.2.2.2"
LABEL description="Efficient software for phylogenomic inference"
LABEL website="http://www.iqtree.org/"
LABEL source.code.website="https://github.com/iqtree/iqtree2"
LABEL license="https://github.com/iqtree/iqtree2/blob/master/LICENSE"
LABEL maintainer="Jade Wang"
LABEL maintainer.email="jwang7@health.nyc.gov"
#install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
wget ca-certificates procps && \
apt-get autoclean && \
rm -rf /var/lib/apt/lists/*
# download, uncompress iqtree2 tarball; make /data
RUN wget https://github.com/iqtree/iqtree2/releases/download/v${IQTREE2_VER}/iqtree-${IQTREE2_VER}-Linux.tar.gz && \
tar -xvf iqtree-${IQTREE2_VER}-Linux.tar.gz && \
rm -v iqtree-${IQTREE2_VER}-Linux.tar.gz && \
mkdir /data
# set PATH and locale settings for singularity compatibility
ENV PATH="/iqtree-${IQTREE2_VER}-Linux/bin:${PATH}"\
LC_ALL=C
WORKDIR /data
FROM app as test
###TEST PATH
RUN iqtree2 --version
###TEST TREE TOPOLOGY
RUN iqtree2 -s /iqtree-${IQTREE2_VER}-Linux/example.phy --rate