Created
June 28, 2018 18:46
-
-
Save ChristinaLK/00289f52f54e91a1f8224229afb1b0f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.6-stretch | |
COPY Miniconda3-latest-Linux-x86_64.sh /tmp | |
RUN mkdir /home/qiimeuser | |
ENV HOME /home/qiimeuser | |
RUN cd /tmp && \ | |
./Miniconda3-latest-Linux-x86_64.sh -b -p /home/qiimeuser/miniconda3 && \ | |
export PATH=/home/qiimeuser/miniconda3/bin:$PATH && \ | |
conda update conda && \ | |
conda install wget && \ | |
wget https://data.qiime2.org/distro/core/qiime2-2018.6-py35-linux-conda.yml && \ | |
conda env create -n qiime2-2018.6 --file qiime2-2018.6-py35-linux-conda.yml | |
ENV PATH="/home/qiimeuser/miniconda3/bin:${PATH}" | |
COPY run_qiime.sh /home/qiimeuser | |
CMD /home/qiimeuser/run_qiime.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source activate qiime2-2018.6 | |
qiime --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment