anchor.diff:  RUN printf "\nPATH=\"/home/vagrant/.composer/vendor/bin:\$PATH\"\n" | tee -a /home/vagrant/.profile
   
   RUN sudo su vagrant <<'EOF'
  -/usr/local/bin/composer global require "laravel/envoy=~1.0"
  +/usr/local/bin/composer global require "laravel/envoy=~1.0" \
   EOF
   
  -sudo sed -i "s/error_reporting = .*/error_reporting = E_ALL/" /etc/php5/cli/php.ini
  -sudo sed -i "s/display_errors = .*/display_errors = On/" /etc/php5/cli/php.ini
  -sudo sed -i "s/memory_limit = .*/memory_limit = 512M/" /etc/php5/cli/php.ini
  -sudo sed -i "s/;date.timezone.*/date.timezone = UTC/" /etc/php5/cli/php.ini
  +RUN sed -i "s/error_reporting = .*/error_reporting = E_ALL/" /etc/php5/cli/php.ini
  +RUN sed -i "s/display_errors = .*/display_errors = On/" /etc/php5/cli/php.ini
  +RUN sed -i "s/memory_limit = .*/memory_limit = 512M/" /etc/php5/cli/php.ini
  +RUN sed -i "s/;date.timezone.*/date.timezone = UTC/" /etc/php5/cli/php.ini
   
  -apt-get install -y nginx php5-fpm
  +RUN apt-get install -y nginx php5-fpm
   
  -rm /etc/nginx/sites-enabled/default
  -rm /etc/nginx/sites-available/default
  -service nginx restart
  +RUN rm /etc/nginx/sites-enabled/default
  +RUN rm /etc/nginx/sites-available/default
  +RUN service nginx restart
   
  -wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
  -echo deb http://dl.hhvm.com/ubuntu trusty main | tee /etc/apt/sources.list.d/hhvm.list
  -apt-get update
  -apt-get install -y hhvm
  +RUN wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
  +RUN echo deb http://dl.hhvm.com/ubuntu trusty main | tee /etc/apt/sources.list.d/hhvm.list
  +RUN apt-get update
  +RUN apt-get install -y hhvm
   
  -service hhvm stop
  -sed -i 's/#RUN_AS_USER="www-data"/RUN_AS_USER="vagrant"/' /etc/default/hhvm
  -service hhvm start
  +RUN service hhvm stop
  +RUN sed -i 's/#RUN_AS_USER="www-data"/RUN_AS_USER="vagrant"/' /etc/default/hhvm
  +RUN service hhvm start
   
  -update-rc.d hhvm defaults
  +RUN update-rc.d hhvm defaults
   
  -ln -s /etc/php5/mods-available/mailparse.ini /etc/php5/fpm/conf.d/20-mailparse.ini
  +RUN ln -s /etc/php5/mods-available/mailparse.ini /etc/php5/fpm/conf.d/20-mailparse.ini
   
  -sed -i "s/error_reporting = .*/error_reporting = E_ALL/" /etc/php5/fpm/php.ini
  -sed -i "s/display_errors = .*/display_errors = On/" /etc/php5/fpm/php.ini
  -sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/" /etc/php5/fpm/php.ini
  -sed -i "s/memory_limit = .*/memory_limit = 512M/" /etc/php5/fpm/php.ini
  -sed -i "s/upload_max_filesize = .*/upload_max_filesize = 100M/" /etc/php5/fpm/php.ini
  -sed -i "s/post_max_size = .*/post_max_size = 100M/" /etc/php5/fpm/php.ini
  -sed -i "s/;date.timezone.*/date.timezone = UTC/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/error_reporting = .*/error_reporting = E_ALL/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/display_errors = .*/display_errors = On/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/memory_limit = .*/memory_limit = 512M/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/upload_max_filesize = .*/upload_max_filesize = 100M/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/post_max_size = .*/post_max_size = 100M/" /etc/php5/fpm/php.ini
  +RUN sed -i "s/;date.timezone.*/date.timezone = UTC/" /etc/php5/fpm/php.ini
   
  -echo "xdebug.remote_enable = 1" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  -echo "xdebug.remote_connect_back = 1" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  -echo "xdebug.remote_port = 9000" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  -echo "xdebug.max_nesting_level = 512" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  +RUN echo "xdebug.remote_enable = 1" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  +RUN echo "xdebug.remote_connect_back = 1" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  +RUN echo "xdebug.remote_port = 9000" >> /etc/php5/fpm/conf.d/20-xdebug.ini
  +RUN echo "xdebug.max_nesting_level = 512" >> /etc/php5/fpm/conf.d/20-xdebug.ini
   
  -cat > /etc/nginx/fastcgi_params << EOF
  +RUN cat > /etc/nginx/fastcgi_params << EOF
   fastcgi_param	QUERY_STRING		\$query_string;
   fastcgi_param	REQUEST_METHOD		\$request_method;
   fastcgi_param	CONTENT_TYPE		\$content_type;
  
positive.code: fastcgi_param	REDIRECT_STATUS		200;
  EOF
  
  sed -i "s/user www-data;/user vagrant;/" /etc/nginx/nginx.conf
  sed -i "s/# server_names_hash_bucket_size.*/server_names_hash_bucket_size 64;/" /etc/nginx/nginx.conf
  
  sed -i "s/user = www-data/user = vagrant/" /etc/php5/fpm/pool.d/www.conf
  sed -i "s/group = www-data/group = vagrant/" /etc/php5/fpm/pool.d/www.conf
  
  sed -i "s/listen\.owner.*/listen.owner = vagrant/" /etc/php5/fpm/pool.d/www.conf
  sed -i "s/listen\.group.*/listen.group = vagrant/" /etc/php5/fpm/pool.d/www.conf
  sed -i "s/;listen\.mode.*/listen.mode = 0666/" /etc/php5/fpm/pool.d/www.conf
  
  RUN service nginx restart
  RUN service php5-fpm restart
  
  usermod -a -G www-data vagrant
  id vagrant
  groups vagrant
  
  apt-get install -y nodejs
  /usr/bin/npm install -g grunt-cli
  /usr/bin/npm install -g gulp
  /usr/bin/npm install -g bower
  
  apt-get install -y sqlite3 libsqlite3-dev
  
  debconf-set-selections <<< "mysql-server mysql-server/root_password password secret"
  debconf-set-selections <<< "mysql-server mysql-server/root_password_again password secret"
  apt-get install -y mysql-server-5.6
  
  sed -i '/^bind-address/s/bind-address.*=.*/bind-address = 0.0.0.0/' /etc/mysql/my.cnf
  mysql --user="root" --password="secret" -e "GRANT ALL ON *.* TO root@'0.0.0.0' IDENTIFIED BY 'secret' WITH GRANT OPTION;"
  service mysql restart
  
  mysql --user="root" --password="secret" -e "CREATE USER 'homestead'@'0.0.0.0' IDENTIFIED BY 'secret';"
  mysql --user="root" --password="secret" -e "GRANT ALL ON *.* TO 'homestead'@'0.0.0.0' IDENTIFIED BY 'secret' WITH GRANT OPTION;"
  mysql --user="root" --password="secret" -e "GRANT ALL ON *.* TO 'homestead'@'%' IDENTIFIED BY 'secret' WITH GRANT OPTION;"
  mysql --user="root" --password="secret" -e "FLUSH PRIVILEGES;"
  mysql --user="root" --password="secret" -e "CREATE DATABASE homestead;"
  RUN service mysql restart
  
  RUN mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql --user=root --password=secret mysql
  
  RUN apt-get install -y postgresql-9.4 postgresql-contrib-9.4
  
  sed -i "s/#listen_addresses = 'localhost'/listen_addresses = '*'/g" /etc/postgresql/9.4/main/postgresql.conf
  echo "host    all             all             10.0.2.2/32               md5" | tee -a /etc/postgresql/9.4/main/pg_hba.conf
  sudo -u postgres psql -c "CREATE ROLE homestead LOGIN UNENCRYPTED PASSWORD 'secret' SUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;"
  sudo -u postgres /usr/bin/createdb --echo --owner=homestead homestead
  service postgresql restart
  
  RUN apt-get install -y blackfire-agent blackfire-php
  
  
negative.code: RUN sed -i "s/#START=yes/START=yes/" /etc/default/beanstalkd
  RUN /etc/init.d/beanstalkd start
  
  RUN /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
  RUN /sbin/mkswap /var/swap.1
  RUN /sbin/swapon /var/swap.1
  
  RUN dd if=/dev/zero of=/EMPTY bs=1M
  RUN rm -f /EMPTY
  RUN sync
  
  
  
  