anchor.diff:  #
   #     docker run -d -v "/local/data/:/data/" walm/nginx
   #
  -# VERSION               1.1
  +# VERSION               1.2
   
   FROM ubuntu:12.10
   MAINTAINER Andreas Wålm "andreas@walm.net"
  
positive.code:   apt-get -y install nginx ;\
    \
  echo "# Move nginx.conf to /data" ;\
    mkdir /data ;\
    mv /etc/nginx/nginx.conf /data/nginx.conf ;\
    ln -s /data/nginx.conf /etc/nginx/ ;\
    \
  echo "# Nginx deamon off" ;\
    echo "daemon off;" >> /data/nginx.conf ;\
    \
  true
  # END RUN
  
negative.code: EXPOSE  80
  EXPOSE  443
  
  CMD ["nginx", "-c", "/data/nginx/nginx.conf"]
  
  