forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
52 lines (45 loc) · 1.2 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM ubuntu:bionic
ARG medakaVer=1.2.0
LABEL base.image="ubuntu:bionic"
LABEL container.version="1"
LABEL software="Medaka"
LABEL software.version="1.2.0"
LABEL description="Consensus sequence correction provided by ONT Research"
LABEL website="https://github.com/nanoporetech/medaka"
LABEL license="https://github.com/nanoporetech/medaka/blob/master/LICENSE.md"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="[email protected]"
RUN apt-get update && apt-get install --no-install-recommends -y make \
cmake \
file \
bzip2 \
gcc \
g++ \
python \
zlib1g-dev \
wget \
curl \
libffi-dev \
libncurses5-dev \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev \
libssl-dev \
python3-all-dev \
python-virtualenv \
virtualenv \
git-lfs && \
apt-get clean && apt-get autoclean && \
rm -rf /var/lib/apt/lists/*
# initialize git lfs, prior to cloning repo
RUN git lfs install
# install medaka
RUN git clone https://github.com/nanoporetech/medaka.git --single-branch --depth 1 --branch v${medakaVer} && \
cd medaka && \
make install && \
mkdir /data
WORKDIR /data
# acts similar to activating python venv before running
# LC_ALL=C for singularity compatibility
ENV PATH="/medaka/venv/bin:$PATH"\
LC_ALL=C