anchor.diff:  RUN python setup_postgresql.py --dbuser galaxy --dbpassword galaxy --db-name galaxy --dbpath $PG_DATA_DIR_DEFAULT
   RUN service postgresql start && sh create_db.sh
   RUN service postgresql start && sleep 5 && python create_galaxy_user.py --user admin@galaxy.org --password admin --key admin
  -RUN service postgresql start && sh run.sh --daemon && sleep 120
  +RUN service postgresql start && sh run.sh --daemon && sleep 60 && sh run.sh --stop-daemon
   
   # nginx and uwsgi Will be controller by supervisor
   RUN update-rc.d -f uwsgi remove
  -RUN /etc/init.d/nginx stop
   RUN update-rc.d -f nginx remove
   
   RUN virtualenv /root/venv
  
positive.code: RUN hg clone https://bitbucket.org/galaxy/galaxy-central/
  WORKDIR /galaxy-central
  RUN hg pull
  RUN hg update latest_2014.08.11
  
  # Configure Galaxy to use the Tool Shed
  RUN cp ~/galaxy-central/universe_wsgi.ini.sample ~/galaxy-central/universe_wsgi.ini
  RUN mkdir ~/shed_tools
  RUN mkdir ~/galaxy-central/tool_deps
  
  RUN sed -i 's|#database_connection.*|database_connection = postgresql://galaxy:galaxy@localhost:5432/galaxy|g' ~/galaxy-central/universe_wsgi.ini
  RUN sed -i 's|#tool_dependency_dir = None|tool_dependency_dir = ./tool_deps|g' ~/galaxy-central/universe_wsgi.ini
  RUN sed -i 's|#tool_config_file|tool_config_file|g' ~/galaxy-central/universe_wsgi.ini
  RUN sed -i 's|#tool_path|tool_path|g' ~/galaxy-central/universe_wsgi.ini
  RUN sed -i 's|#admin_users = None|admin_users = admin@galaxy.org|g' ~/galaxy-central/universe_wsgi.ini
  RUN sed -i 's|#master_api_key=changethis|master_api_key=HSNiugRFvgT574F43jZ7N9F3|g' ~/galaxy-central/universe_wsgi.ini
  RUN sed -i 's|#brand = None|brand = Galaxy Docker Build|g' ~/galaxy-central/universe_wsgi.ini
  # debug = True is insecure and does not work with uwsgi very well.
  RUN sed -i 's|debug = True|debug = False|g' ~/galaxy-central/universe_wsgi.ini
  
  # Fetching all Galaxy python dependencies
  RUN python scripts/fetch_eggs.py
  
  # 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/
  
  # Include all needed scripts from the host
  ADD ./setup_postgresql.py /galaxy-central/setup_postgresql.py
  
negative.code: RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y pkg-config
  RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y openjdk-7-jre-headless
  RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y python-setuptools
  RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y python-psycopg2
  
  # Help with Python
  RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y python-virtualenv
  
  # Enable the @natefoo magic... (software-properties-common required for add-apt-repository)
  RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y software-properties-common
  RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:galaxyproject/nginx
  RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update
  
  # Web server infrastructure matching usegalaxy.org - supervisor, uwsgi, and nginx.
  