anchor.diff:  RUN echo "deb http://nginx.org/packages/debian/ jessie nginx" >> /etc/apt/sources.list
   
   ENV NGINX_VERSION 1.8.0-1~jessie
  +ENV DEBIAN_FRONTEND noninteractive
   
   # install dialog as ca-certificates prerequisite
   RUN apt-get update && \
  
positive.code: #
  # https://github.com/jorelcb/nginx-debian
  #
  
  # Pull base image.
  FROM debian:latest
  
  MAINTAINER Jorge Corredor "jorel.c@gmail.com"
  
  # Install Nginx.
  
  
negative.code: RUN apt-get install -y \
      ca-certificates \
      nginx=${NGINX_VERSION} && \
      rm -rf /var/lib/apt/lists/*
  
  # Nginx Config file
  COPY config/nginx.conf /etc/nginx/nginx.conf
  
  # ZF2 virtualhost Config file
  COPY config/zf2.conf /etc/nginx/conf.d/zf2.conf
  
  RUN rm /etc/nginx/conf.d/default.conf
  
  # forward request and error logs to docker log collector
  RUN ln -sf /dev/stdout /var/log/nginx/access.log
  RUN ln -sf /dev/stderr /var/log/nginx/error.log
  
  RUN mkdir -p /srv/www
  VOLUME ["/srv/www", "/etc/nginx/certs", "/etc/nginx/conf.d", "/var/log/nginx", "/var/cache/nginx"]
  
  # Expose ports.
  EXPOSE 80
  EXPOSE 443
  
  # Nginx entrypoint script
  COPY config/docker-nginx-entrypoint.sh /docker-nginx-entrypoint.sh
  RUN chmod u=rwx /docker-nginx-entrypoint.sh
  ENTRYPOINT ["/docker-nginx-entrypoint.sh"]