anchor.diff:  # Galaxy - SNVPhyl
   #
  -# VERSION       0.2
  +# VERSION       1.0
   
   FROM bgruening/galaxy-stable:15.05
   
   MAINTAINER Aaron Petkau, aaron.petkau@gmail.com
   
  -ENV GALAXY_CONFIG_BRAND SNVPhyl v0.3
  +ENV GALAXY_CONFIG_BRAND SNVPhyl v1.0
   
   WORKDIR /galaxy-central
   
  
positive.code: 
  # Install SNVPhyl
  RUN install-repository \
      "-r bb2e651149da --url https://irida.corefacility.ca/galaxy-shed/ -o nml --name suite_snvphyl_0_3_0 --panel-section-id SNVPhyl" && \
      install-workflow \
      "/tmp/snvphyl-workflow-0.3.ga" "/tmp/snvphyl-workflow-0.3-invalid-positions.ga" && \
      rm /tmp/snvphyl-workflow*.ga && \
      find /galaxy-central/tool_deps/ -iname '.git' | xargs -I {} rm -rf {}
  
  
negative.code: 
  ADD ./galaxy/install_workflow_wrapper.sh /usr/bin/install-workflow
  RUN chmod +x /usr/bin/install-workflow
  ADD ./galaxy/snvphyl-workflow-1.0.ga /tmp/snvphyl-workflow-1.0.ga
  ADD ./galaxy/snvphyl-workflow-1.0-invalid-positions.ga /tmp/snvphyl-workflow-1.0-invalid-positions.ga
  
  # workaround for a Docker AUFS bug: https://github.com/docker/docker/issues/783#issuecomment-56013588
  RUN mkdir /etc/ssl/private-copy; mv /etc/ssl/private/* /etc/ssl/private-copy/; rm -r /etc/ssl/private; mv /etc/ssl/private-copy /etc/ssl/private; chmod -R 0700 /etc/ssl/private; chown -R postgres /etc/ssl/private
  