forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (27 loc) · 1.14 KB
/
Dockerfile
File metadata and controls
32 lines (27 loc) · 1.14 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
FROM ubuntu:xenial
# for easy upgrade later. ARG variables only persist at build time
ARG FASTANI_VER="v1.33"
LABEL base.image="ubuntu:xenial"
LABEL dockerfile.version="1"
LABEL software="FastANI"
LABEL software.version="v1.32"
LABEL description="Fast alignment-free computation of whole-genome Average Nucleotide Identity"
LABEL website="https://github.com/ParBLiSS/FastANI"
LABEL license="https://github.com/ParBLiSS/FastANI/blob/master/LICENSE"
LABEL maintainer1="Kelsey Florek"
LABEL maintainer1.email="kelsey.florek@slh.wisc.edu"
LABEL maintainer2="Curtis Kapsak"
LABEL maintainer2.email="kapsakcj@gmail.com"
# install dependencies; cleanup apt garbage
RUN apt-get update && apt-get install -y wget \
unzip \
libgomp1 && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# download pre-compiled binary; unzip; put binary in /usr/bin; make /data
# apt dependencies: libgomp1 unzip wget
RUN wget https://github.com/ParBLiSS/FastANI/releases/download/${FASTANI_VER}/fastANI-Linux64-${FASTANI_VER}.zip && \
unzip fastANI-Linux64-${FASTANI_VER}.zip -d /usr/bin && \
rm fastANI-Linux64-${FASTANI_VER}.zip && \
mkdir /data
# set working directory
WORKDIR /data