Dockerfile 1.36 KB
Newer Older
1
FROM jupyter/tensorflow-notebook:python-3.8.8
Bengt Giger's avatar
Bengt Giger committed
2
3
4

USER root

5
6
7
8
9
10
11
# Install ETHZ root ca certificates
ADD http://pkiaia.ethz.ch/aia/ETHZRootCA2020.pem /usr/local/share/ca-certificates/ETHZRootCA2020.crt
ADD http://pkiaia.ethz.ch/aia/ETHZIssuingCA2020.pem /usr/local/share/ca-certificates/ETHZIssuingCA2020.crt
ADD http://pkiaia.ethz.ch/aia/DigiCertGlobalRootCA.pem /usr/local/share/ca-certificates/DigiCertGlobalRootCA.crt
ADD http://pkiaia.ethz.ch/aia/DigiCertTLSRSASHA2562020CA1-1.pem /usr/local/share/ca-certificates/DigiCertTLSRSASHA2562020CA1-1.crt
RUN chmod 644 /usr/local/share/ca-certificates/* && update-ca-certificates

12
13
14
RUN apt-get update && apt-get upgrade -y && apt-get install -y zip && \
    # Make conda writeable for the user
    chown -R 1000 /opt/conda
15

16
# Install QIIME 2 with all its dependencies
Michal Ziemski's avatar
Michal Ziemski committed
17
COPY qiime2-2022.2-py38-linux-conda.yml .
18
19
20
21
RUN mamba env update -n base --file qiime2-2022.2-py38-linux-conda.yml && \
    rm qiime2-2022.2-py38-linux-conda.yml && \
    jupyter serverextension enable --py qiime2 --sys-prefix && \
    qiime dev refresh-cache
Michal Ziemski's avatar
Michal Ziemski committed
22

23
24
25
# Install some JLab goodies and other packages
RUN mamba install -c conda-forge \
    jupyterlab-system-monitor jupyterlab-git \
Michal Ziemski's avatar
Michal Ziemski committed
26
    uncertainties nbgrader pylatex biopython ete3 nbgitpuller
Michal Ziemski's avatar
Michal Ziemski committed
27

28
29
RUN echo source $HOME/.bashrc >> /etc/profile

Michal Ziemski's avatar
Michal Ziemski committed
30
USER 1000
Bengt Giger's avatar
Bengt Giger committed
31

32
33
34
# RUN conda init bash && \
#     source $HOME/.bashrc
RUN conda init bash