anchor.diff:  # Expose port 80 to the host
   EXPOSE :80
   
  -RUN rm ./.hg/ -rf
  -RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
   
   # Mark one folders as imported from the host.
   VOLUME ["/export/"]
  
positive.code: # Fetching all Galaxy python dependencies
  RUN python scripts/fetch_eggs.py
  
  RUN sed -i 's|#database_connection.*|database_connection = postgresql://galaxy:galaxy@localhost:5432/galaxy|g' /galaxy-central/config/galaxy.ini
  RUN sed -i 's|debug = True|debug = False|g' /galaxy-central/config/galaxy.ini
  
  ENV GALAXY_CONFIG_DATABASE_CONNECTION postgresql://galaxy:galaxy@localhost:5432/galaxy
  ENV GALAXY_CONFIG_TOOL_DEPENDENCY_DIR ./tool_deps
  ENV GALAXY_CONFIG_ADMIN_USERS admin@galaxy.org
  ENV GALAXY_CONFIG_MASTER_API_KEY HSNiugRFvgT574F43jZ7N9F3
  ENV GALAXY_CONFIG_BRAND Galaxy Docker Build foo
  ENV GALAXY_CONFIG_STATIC_ENABLED False
  ENV GALAXY_CONFIG_OVERRIDE_DEBUG False
  
  # Define the default postgresql database path
  # If you want to save your data locally you need to set GALAXY_DOCKER_MODE=HOST
  ENV PG_DATA_DIR_DEFAULT /var/lib/postgresql/9.3/main/
  ENV PG_DATA_DIR_HOST /export/postgresql/9.3/main/
  
  
negative.code: # Galaxy - Stable
  #
  # VERSION       0.2.0
  
  FROM ubuntu:14.04
  
  MAINTAINER Björn A. Grüning, bjoern.gruening@gmail.com
  
  # * Make sure the package repository is up to date
  # * Install all requirements that are recommend by the Galaxy project
  # * Enable the @natefoo magic
  # Web server infrastructure matching usegalaxy.org - supervisor, uwsgi, and nginx.
  
  ENV DEBIAN_FRONTEND noninteractive
  
  RUN apt-get -qq update && apt-get install --no-install-recommends -y apt-transport-https  software-properties-common && \
      apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \
      sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" && \
      apt-get update -qq && apt-get upgrade -y && \
      add-apt-repository ppa:galaxyproject/nginx && apt-get -qq update && \
      apt-get purge -y software-properties-common && \
      apt-get install --no-install-recommends -y autoconf automake build-essential gfortran cmake \
      git-core libatlas-base-dev libblas-dev liblapack-dev mercurial subversion python-dev pkg-config \
      openjdk-7-jre-headless python-setuptools python-psycopg2 postgresql-9.3 sudo samtools python-virtualenv \
      nginx-extras uwsgi uwsgi-plugin-python supervisor lxc-docker && \
      apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
  ENV DEBIAN_FRONTEND newt
  
  # Download and update Galaxy to the latest stable release
  RUN hg clone https://bitbucket.org/galaxy/galaxy-central/ && \
      cd /galaxy-central/ && \
      hg update next-stable && \
      rm /galaxy-central/.hg/ -rf
  
  WORKDIR /galaxy-central
  
  # Configure Galaxy to use the Tool Shed
  RUN cp /galaxy-central/config/galaxy.ini.sample /galaxy-central/config/galaxy.ini
  