Mercurial > repos > mvdbeek > docker_scriptrunner
comparison dockerfiles/scriptrunner/Dockerfile @ 9:77dca93454b7 draft
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 40d6cb5308a36b00495fd6072d867ed2c5a37b3c
author | mvdbeek |
---|---|
date | Sat, 09 Jul 2016 05:07:15 -0400 |
parents | b28d3445992b |
children | cf6e2bba9714 |
comparison
equal
deleted
inserted
replaced
8:1b7f987270a6 | 9:77dca93454b7 |
---|---|
15 RUN apt-get install -y --no-install-recommends imagemagick libfreetype6-dev wget curl \ | 15 RUN apt-get install -y --no-install-recommends imagemagick libfreetype6-dev wget curl \ |
16 libcurl4-openssl-dev libssl-dev libreadline-dev libxml2-dev liblzma-dev \ | 16 libcurl4-openssl-dev libssl-dev libreadline-dev libxml2-dev liblzma-dev \ |
17 libpcre3-dev libbz2-dev libx11-dev | 17 libpcre3-dev libbz2-dev libx11-dev |
18 | 18 |
19 RUN mkdir /var/home && \ | 19 RUN mkdir /var/home && \ |
20 useradd galaxy --create-home --home-dir /var/home/galaxy --uid 1450 && \ | 20 useradd galaxy --create-home --home-dir /home/galaxy --uid 1450 && \ |
21 chown -R galaxy:galaxy /var/home/galaxy/ | 21 chown -R galaxy:galaxy /home/galaxy/ |
22 USER galaxy | 22 USER galaxy |
23 WORKDIR /var/home/galaxy | 23 WORKDIR /home/galaxy |
24 ENV CONDA_PREFIX="/var/home/galaxy/conda" \ | 24 ENV CONDA_PREFIX="/home/galaxy/conda" \ |
25 PATH="/var/home/galaxy/conda/envs/default/bin:/var/home/galaxy/conda/bin:$PATH" | 25 PATH="/home/galaxy/conda/envs/default/bin:/home/galaxy/conda/bin:$PATH" |
26 | 26 |
27 RUN curl https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -L -o miniconda.sh | 27 RUN curl https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -L -o miniconda.sh |
28 RUN bash miniconda.sh -b -p "$CONDA_PREFIX" && rm miniconda.sh | 28 RUN bash miniconda.sh -b -p "$CONDA_PREFIX" && rm miniconda.sh |
29 RUN bash -c "conda create -y -q -c bioconda --name default samtools==0.1.19 bcftools && \ | 29 RUN bash -c "conda create -y -q -c bioconda --name default samtools==0.1.19 bcftools && \ |
30 conda config --add channels r && \ | 30 conda config --add channels r && \ |
31 conda config --add channels bioconda && \ | 31 conda config --add channels bioconda && \ |
32 conda config --add channels iuc && \ | 32 conda config --add channels iuc && \ |
33 . activate default && \ | 33 . activate default && \ |
34 conda install ghostscript" | 34 conda install ghostscript" |
35 USER root | 35 USER root |
36 RUN chown -R galaxy:users /home/galaxy && \ | |
37 chmod g=rwx /home/galaxy && \ | |
38 usermod -G users galaxy |