anchor.diff:  FROM ubuntu
   MAINTAINER Brady Wetherington <uberbrady@gmail.com>
  -
  -# Merging all apt-stuff together
  -####RUN apt-get install -y apache2-bin libapache2-mod-php5 php5-mysql
   
   RUN apt-get update && apt-get install -y \
   apache2-bin \
   libapache2-mod-php5 \
   php5-mysql \
  +php5-mcrypt \
  +php5-gd \
   patch \
   curl \
  -git \
  -php5-mcrypt
  -
  -#expect
  -
  -# stopped using expect (!)
  +vim \
  +git 
   
   RUN php5enmod mcrypt
  -
  -#RUN echo "include_path=/var/www/html/include" >> /etc/php5/apache2/php.ini
  +RUN php5enmod gd
   
   RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php5/apache2/php.ini
   RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php5/cli/php.ini
  
positive.code: RUN echo export APACHE_RUN_USER=docker >> /etc/apache2/envvars
  RUN echo export APACHE_RUN_GROUP=staff >> /etc/apache2/envvars
  
  #COPY httpd.conf /etc/apache2/apache2.conf
  
  COPY docker/000-default.conf /etc/apache2/sites-enabled/000-default.conf
  
  COPY . /var/www/html
  
  #apachectl start
  
  RUN a2enmod rewrite
  
  #RUN apt-get install -y patch
  
  ############ INITIAL APPLICATION SETUP #####################
  
  
negative.code: # Change default hostname to blank...I guess?
  RUN sed -i s%http://staging.yourserver.com%% /var/www/html/app/config/production/app.php
  
  # turn off the toolbar
  RUN sed -i 's%\x27debug\x27 => true%\x27debug\x27 => false%' /var/www/html/app/config/production/app.php
  
  RUN chown -R docker /var/www/html
  
  ############## DEPENDENCIES via COMPOSER ###################
  
  #global install of composer
  RUN cd /tmp;curl -sS https://getcomposer.org/installer | php;mv /tmp/composer.phar /usr/local/bin/composer
  
  # Get dependencies
  RUN cd /var/www/html;composer install
  