diff docker/Dockerfile @ 15:5e8bf316343d draft

planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d5c46b42061ff823c19437d1c803119ef8b95627
author davidecangelosi
date Fri, 24 May 2019 09:26:43 -0400
parents 11393eb1c557
children
line wrap: on
line diff
--- a/docker/Dockerfile	Thu May 16 11:20:22 2019 -0400
+++ b/docker/Dockerfile	Fri May 24 09:26:43 2019 -0400
@@ -8,6 +8,9 @@
 
 ENV GALAXY_CONFIG_BRAND="Galaxy PIPE-T"
 ENV ENABLE_TTS_INSTALL True
+ENV CONDA_ENSURE_CHANNELS="r,iuc,conda-forge,bioconda,defaults"
+ENV DEPENDENCY_RESOLVERS_CONFIG_FILE="config/dependency_resolvers_conf.xml"
+
 
 RUN apt-get -y update
 RUN apt-get install -y libxml2-dev libcurl4-openssl-dev curl libcairo2-dev
@@ -16,20 +19,18 @@
 #RUN cp /etc/ssl/private/ssl-cert-snakeoil.key /etc/
 #RUN chown root:ssl-cert /etc/ssl-cert-snakeoil.key
 #RUN sed -i -e "s/\/ssl\/private//g" /etc/postgresql/9.3/main/postgresql.conf
-ADD docker/galaxy.yml /etc/galaxy/galaxy.yml
-# ADD docker/dependency_resolvers_conf.yml /etc/galaxy/dependency_resolvers_conf.yml
-ADD docker/dependency_resolvers_conf.yml $GALAXY_ROOT/config/dependency_resolvers_conf.yml
-
+ADD docker/dependency_resolvers_conf.xml $GALAXY_ROOT/config/dependency_resolvers_conf.xml
 
 #install pipe_t from toolshed
 ADD docker/tools.yml $GALAXY_ROOT/tools.yaml
 RUN install-tools $GALAXY_ROOT/tools.yaml && \
-    /tool_deps/_conda/bin/conda clean --all --yes
+    /tool_deps/_conda/bin/conda clean --tarballs --yes && \  
+    rm /export/galaxy-central/ -rf 
 
 #RUN chown galaxy:galaxy /usr/local/lib/R/site-library
 
 # Mark folders as imported from the host.
-#VOLUME ["/export/", "/data/", "/var/lib/docker"]
+VOLUME ["/export/", "/data/", "/var/lib/docker"]
 
 # Expose port 80 (webserver), 21 (FTP server), 8800 (Proxy)
 EXPOSE :80