-
Notifications
You must be signed in to change notification settings - Fork 119
/
Dockerfile
34 lines (29 loc) · 1 KB
/
Dockerfile
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
FROM ubuntu:xenial
# ARGs are variables that are only available during docker image build, not available
# when running the container
ARG SEQTK_VER=1.3
LABEL base.image="ubuntu:xenial"
LABEL dockerfile.version="1"
LABEL software="seqtk"
LABEL software.version="1.3"
LABEL description="Toolkit for processing sequences in FASTA/Q formats"
LABEL website="https://github.com/lh3/seqtk"
LABEL license="https://github.com/lh3/seqtk/blob/master/LICENSE"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="[email protected]"
# install dependencies, take out the apt garbage
RUN apt-get update && apt-get install -y make \
wget \
gcc \
zlib1g-dev && \
apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/*
# install seqtk, make /data
RUN wget https://github.com/lh3/seqtk/archive/v${SEQTK_VER}.tar.gz && \
tar -xzvf v${SEQTK_VER}.tar.gz && \
rm v${SEQTK_VER}.tar.gz && \
cd seqtk-${SEQTK_VER} && \
make && \
mkdir /data
# set PATH and working directory
ENV PATH="${PATH}:/seqtk-${SEQTK_VER}"
WORKDIR /data