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
53 lines (46 loc) · 1.4 KB
/
Dockerfile
File metadata and controls
53 lines (46 loc) · 1.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Use ubuntu as base image
FROM ubuntu:focal
# for easy upgrade later. ARG variables only persist during build time
ARG RACON_VER="1.4.20"
LABEL base.image="ubuntu:focal"
LABEL dockerfile.version="1"
LABEL software="Racon"
LABEL software.version="1.4.20"
LABEL description="Long read assembly and polishing tools"
LABEL website="https://github.com/lbcb-sci/racon/"
LABEL license="https://github.com/lbcb-sci/racon/blob/master/LICENSE"
LABEL maintainer1="Erin Young"
LABEL maintainer1.email="eriny@utah.gov"
LABEL maintainer2="Curtis Kapsak"
LABEL maintainer2.email="pjx8@cdc.gov"
# to get around tzdata time zone config
ENV DEBIAN_FRONTEND noninteractive
# install depedencies; cleanup apt garbage
RUN apt-get update && apt-get install -y --no-install-recommends \
perl \
default-jre \
gnuplot \
gcc \
libgomp1 \
maven \
git \
wget \
python3 \
build-essential \
cmake \
zlib1g-dev && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*
# install racon
RUN wget https://github.com/lbcb-sci/racon/releases/download/${RACON_VER}/racon-v${RACON_VER}.tar.gz&& \
tar -xvf racon-v${RACON_VER}.tar.gz && \
rm racon-v${RACON_VER}.tar.gz && \
cd racon-v${RACON_VER} && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
make && \
mkdir /data
# set PATH and locale settings for singularity compatibility
ENV PATH="/racon-v${RACON_VER}/build/bin:${PATH}"\
LC_ALL=C
WORKDIR /data