anchor.diff: -## -*- docker-image-name: "scaleway/ubuntu:wily" -*-
  +## -*- docker-image-name: "scaleway/docker" -*-
   FROM scaleway/ubuntu:amd64-wily
   # following 'FROM' lines are used dynamically thanks do the image-builder
   # which dynamically update the Dockerfile if needed.
  
positive.code: 
  
  # Install packages
  RUN apt-get -q update                   \
   && apt-get --force-yes -y -qq upgrade  \
   && apt-get --force-yes install -y -q   \
  	apparmor			\
  
negative.code: # Install Docker
  ENV DOCKER_VERSION=1.9.1 DOCKER_FIX=-1
  # docker-hypriot_XXX_armhf.deb built using https://github.com/hypriot/rpi-docker-builder
  RUN case ${ARCH} in                                                                             \
      armhf)                                                                                      \
        wget -q http://downloads.hypriot.com/docker-hypriot_1.9.1-1_armhf.deb -O /tmp/docker.deb  \
        && dpkg -i /tmp/docker.deb                                                                \
        && rm -f /tmp/docker.deb                                                                  \
        && systemctl enable docker;                                                               \
        ;;                                                                                        \
      *)                                                                                          \
        curl -L https://get.docker.com/ | sh;                                                     \
        ;;                                                                                        \
      esac
  
  
  # Install Pipework
  RUN wget -qO /usr/local/bin/pipework https://raw.githubusercontent.com/jpetazzo/pipework/master/pipework && \
      chmod +x /usr/local/bin/pipework
  