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
36 lines (30 loc) · 1.05 KB
/
Copy pathDockerfile
File metadata and controls
36 lines (30 loc) · 1.05 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
FROM ubuntu:xenial
LABEL base.image="ubuntu:xenial"
LABEL version="1.0.0"
LABEL software="SalmID"
LABEL software.version="0.1.23"
LABEL description="Rapid confirmation of Salmonella spp. and subspp. from sequence data"
LABEL website="https://github.com/hcdenbakker/SalmID"
LABEL license="https://github.com/hcdenbakker/SalmID/blob/master/LICENSE"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="pjx8@cdc.gov"
RUN apt-get update && apt-get install -y \
python-setuptools \
python3 \
python3-pip \
curl \
build-essential \
file \
git \
python3-venv
# install poetry, needed to make python wheel
RUN pip3 install poetry
RUN git clone https://github.com/hcdenbakker/SalmID.git --branch 0.1.23 --single-branch &&\
cd SalmID &&\
poetry build -vvv &&\
pip3 install dist/salmid*.whl &&\
mkdir /data
WORKDIR /data
### Example command to run SalmID (broken into two lines for readability)
# $ docker run --rm -u $(id -u):$(id -g) -v ${PWD}:/data staphb/salmid:0.1.23 /bin/bash -c \
# 'SalmID.py -i SRR498373.cleaned.fastq.gz >/data/salmid-SRR498373.results.tsv'