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
36 lines (31 loc) · 936 Bytes
/
Dockerfile
File metadata and controls
36 lines (31 loc) · 936 Bytes
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
FROM ubuntu:xenial
# metadata
LABEL base.image="ubuntu:xenial"
LABEL version="1.0.0"
LABEL software="Abricate"
LABEL software.version="0.8.7"
LABEL description="Mass screening of contigs for AMR or virulence genes"
LABEL website="https://github.com/tseemann/abricate"
LABEL license="https://github.com/tseemann/abricate/blob/master/LICENSE"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="pjx8@cdc.gov"
# install dependencies
RUN apt-get update && apt-get install -y \
emboss \
bioperl \
ncbi-blast+ \
gzip \
unzip \
libjson-perl \
libtext-csv-perl \
libfile-slurp-perl \
liblwp-protocol-https-perl \
libwww-perl \
git \
wget && apt-get clean
RUN wget https://github.com/tseemann/abricate/archive/v0.8.7.tar.gz && tar -zxvf v0.8.7.tar.gz && rm -rf v0.8.7.tar.gz
ENV PATH="/abricate-0.8.7/bin:$PATH"
RUN abricate --check
RUN abricate --setupdb && mkdir /data
# set perl locale settings
ENV LC_ALL=C