-
Notifications
You must be signed in to change notification settings - Fork 125
/
Dockerfile
50 lines (37 loc) · 1.15 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
FROM ubuntu:jammy as app
ARG LABEL_VER="0.6.4"
ARG LABEL_DATE="202209"
# 'LABEL' instructions tag the image with metadata that might be important to the user
LABEL base.image="ubuntu:jammy"
LABEL dockerfile.version="1"
LABEL software="Label"
LABEL software.version="${LABEL_VER}"
LABEL description="Rapid annotation of influenza"
LABEL website="https://wonder.cdc.gov/amd/flu/label/"
LABEL license="https://github.com/StaPH-B/docker-builds/blob/master/LICENSE"
LABEL maintainer="Erin Young"
LABEL maintainer.email="[email protected]"
# MAFFT version v7.490
RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
procps \
ca-certificates \
mafft \
unzip \
zip && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*
# install fasttree
WORKDIR /usr/local/bin/
WORKDIR /
RUN wget -q https://wonder.cdc.gov/amd/flu/label/flu-amd-LABEL-${LABEL_DATE}.zip && \
unzip flu-amd-LABEL-${LABEL_DATE}.zip && \
rm flu-amd-LABEL-${LABEL_DATE}.zip
ENV PATH="/flu-amd/:$PATH" \
LC_ALL=C
CMD label -h
WORKDIR /data
FROM app as test
WORKDIR /test
RUN LABEL -h
RUN LABEL /flu-amd/test.fa test\_proj H9v2011 && \
head *txt