anchor.diff:      sqlite3 \
       postgresql-client \
       mc
  -
  +# create a user with a home and a sudo privilege
  +# pwd and username is also 'developer'
   RUN useradd -mUG sudo developer && \
       echo 'developer:developer' | chpasswd && \
       chsh -s /bin/bash developer
  -
  +# run php-fpm and nginx services as 'developer' user
   RUN sed -i -- 's/www-data/developer/g' /etc/php/7.1/fpm/pool.d/www.conf && \
       sed -i -- 's/www-data/developer/g' /etc/nginx/nginx.conf
  -
  +# add site configs for nginx (one for dev and one for prod mode)
   COPY nginx/* /etc/nginx/sites-enabled/
  +# copy the shell script which will start the nginx and php-fpm services
   COPY entrypoint.sh /home/developer/
  -
  +# start services ; this script should never return
   CMD /home/developer/entrypoint.sh ; sleep infinity
positive.code:     php7.1-imagick \
      php7.1-gd \
      nginx
  
  RUN apt-get update && apt-get install -y sudo \
      htop \
      vim \
  
negative.code: FROM ubuntu:17.10
  # packages to run and serve symfony code
  RUN apt-get update && apt-get install -y \
      zip \
      unzip \
  