-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (31 loc) · 908 Bytes
/
Dockerfile
File metadata and controls
39 lines (31 loc) · 908 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
37
38
39
# 1. Base image
FROM ubuntu:24.04
# 2. Metadata
LABEL maintainer="ndierckx@github" \
version="0.5" \
description="NOVOLoci: BLAST+ • MAFFT • Perl MCE & Parallel::ForkManager"
# 3. Environment
ENV LC_ALL=C.UTF-8 \
LANG=C.UTF-8 \
PATH=/usr/local/bin:/usr/bin:$PATH
# 4. Install system packages & Perl deps
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ncbi-blast+ \
mafft \
cpanminus \
libparallel-forkmanager-perl \
libmce-perl \
build-essential \
curl && \
cpanm --notest MCE Parallel::ForkManager && \
rm -rf /var/lib/apt/lists/*
# 5. Copy your code in
COPY . /opt/novoloci
# 6. Make scripts executable
RUN chmod -R +x /opt/novoloci
# 7. Set working dir
WORKDIR /opt/novoloci
ENV PATH=/opt/novoloci:$PATH
# 8. Default entrypoint
ENTRYPOINT ["perl", "NOVOLoci0.5.pl"]