File tree 1 file changed +34
-0
lines changed
pangolin/v4.2-v1.18-v0.3.17-v0.1.10
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Largely inspired from
2
+ # https://github.com/cov-lineages/pangolin/blob/master/Dockerfile
3
+
4
+ FROM continuumio/miniconda3:4.9.2-alpine
5
+ LABEL version="4.2" \
6
+ description="Docker image for Pangolin"
7
+
8
+ ENV VERSION "v4.2"
9
+ ENV DATAVERSION "v1.18"
10
+ ENV SCORPIOVERSION "v0.3.17"
11
+ ENV CONSTELLATIONVERSION "v0.1.10"
12
+
13
+ # Install git for pangolin
14
+ RUN apk update && \
15
+ apk add git bash
16
+
17
+ RUN cd / \
18
+ && git clone https://github.com/cov-lineages/pangolin.git \
19
+ && cd pangolin \
20
+ && git checkout $VERSION \
21
+ && cd .. \
22
+ && sed -i 's/name: pangolin/name: base/' /pangolin/environment.yml \
23
+ && sed -i s=git+https://github.com/cov-lineages/pangolin-data.git=git+https://github.com/cov-lineages/pangolin-data.git@$DATAVERSION= /pangolin/environment.yml \
24
+ && sed -i s=git+https://github.com/cov-lineages/scorpio.git=git+https://github.com/cov-lineages/scorpio.git@$SCORPIOVERSION= /pangolin/environment.yml \
25
+ && sed -i s=git+https://github.com/cov-lineages/constellations.git=git+https://github.com/cov-lineages/constellations.git@$CONSTELLATIONVERSION= /pangolin/environment.yml \
26
+ && conda install mamba -c conda-forge \
27
+ && mamba env update --quiet -f /pangolin/environment.yml && conda clean -a \
28
+ && cd /pangolin \
29
+ && pip install . && rm -rf /root/.cache/pip \
30
+ && pangolin --version &> /pangolin-version.txt
31
+
32
+ WORKDIR /tmp/
33
+
34
+ ENTRYPOINT ["pangolin" ]
You can’t perform that action at this time.
0 commit comments