-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (18 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Cirro requires tools only available with full ubuntu image
FROM ubuntu:24.04
LABEL org.opencontainers.image.authors="[email protected],[email protected]"
ENV DEBIAN_FRONTEND=noninteractive TZ="America/Los_Angeles"
RUN apt-get update && \
apt-get upgrade --assume-yes && apt-get install --assume-yes r-base python3 python3-pip wget
# R deps
RUN R -e "install.packages('argparse',clean=TRUE,repos='http://cran.us.r-project.org/')" && \
R -e "install.packages('dplyr',clean=TRUE,repos='http://cran.us.r-project.org/')" && \
R -e "install.packages('tidyr',clean=TRUE,repos='http://cran.us.r-project.org/')" && \
R -e "install.packages('BiocManager',clean=TRUE,repos='http://cran.us.r-project.org/')" && \
R -e "BiocManager::install('phyloseq')"
WORKDIR /usr/local/src/yapp/
# Other deps
ADD bin/install_infernal_and_easel.sh bin/install_pplacer.sh requirements.txt ./
RUN ./install_infernal_and_easel.sh && ./install_pplacer.sh
# Python deps
RUN pip3 install --break-system-packages --requirement requirements.txt --root-user-action=ignore