Dockerfile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. FROM statonlab/tripal3
  2. MAINTAINER Zhang Xudong <zhangxudong@genek.cn>
  3. USER root
  4. WORKDIR /var/www/html
  5. RUN set -x \
  6. # Enable tripal_analysis_blast
  7. && drush dl -y tripal_analysis_blast \
  8. # Enable cdetitor and views
  9. && drush dl -y ckeditor \
  10. ## && drush en -y ckeditor views_ui \
  11. # Tripal Daemon
  12. && cd /var/www/html/sites/all/libraries \
  13. ## && wget https://github.com/shaneharter/PHP-Daemon/archive/v2.0.tar.gz \
  14. && wget ftp://gsx.genek.tv/Share/linux_software/PHP-Daemon-2.0.tar.gz \
  15. ## && tar -zxvf v2.0.tar.gz \
  16. && tar -zxvf PHP-Daemon-2.0.tar.gz \
  17. && mv PHP-Daemon-2.0 PHP-Daemon \
  18. ## && rm v2.0.tar.gz \
  19. && rm PHP-Daemon-2.0.tar.gz \
  20. && cd /var/www/html \
  21. && drush dl drushd \
  22. ## && drush en -y drushd tripal_daemon \
  23. # Blast
  24. && cd /opt \
  25. && wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.11.0+-x64-linux.tar.gz \
  26. && tar -zxvf ncbi-blast-2.11.0+-x64-linux.tar.gz \
  27. && rm ncbi-blast-2.11.0+-x64-linux.tar.gz \
  28. && cd /var/www/html \
  29. && git clone http://git.genek.cn:3333/zhxd2/tripal_blast.git sites/all/modules/tripal_blast \
  30. ## &&drush en -y blast_ui \
  31. # JBrowse
  32. && yum-config-manager --disable pgdg94 \
  33. ## && yum update -y \
  34. ## && yum upgrade -y perl \
  35. && yum groupinstall -y "Development Tools" \
  36. && yum install -y zlib-devel perl-ExtUtils-MakeMaker \
  37. && mkdir tools \
  38. && cd tools \
  39. ## && wget https://github.com/GMOD/jbrowse/releases/download/1.16.11-release/JBrowse-1.16.11.zip \
  40. && wget ftp://gsx.genek.tv/Share/linux_software/JBrowse-1.16.11.zip \
  41. && unzip JBrowse-1.16.11.zip \
  42. && mv JBrowse-1.16.11 JBrowse \
  43. && cd JBrowse \
  44. && ./setup.sh \
  45. && rm ../JBrowse-1.16.11.zip \
  46. && cd /var/www/html \
  47. && git clone http://git.genek.cn:3333/zhxd2/tripal_jbrowse.git sites/all/modules/tripal_jbrowse \
  48. ## && drush en -y tripal_jbrowse_mgmt tripal_jbrowse_page \
  49. && mkdir -p mydata/raw mydata/blast mydata/jbrowse
  50. RUN cd /var/www/html/sites/all/modules \
  51. && git clone https://gitlab.com/mainlabwsu/chado_search.git \
  52. && cd chado_search/file \
  53. && cp default.settings.txt settings.conf
  54. ## && drush pm-enable chado_search
  55. ##EXPOSE 80 5432
  56. ##ENTRYPOINT ["init.sh"]