anchor.diff: -# Node.JS docker image.
  +# My devbox Docker image.
   #
   # VERSION 0.0.1
  -#
  -# BUILD-USING: docker build --rm --no-cache -t ncarlier/devbox .
   
   from debian:jessie
   
  
positive.code: 
  # Setup working directory
  workdir /home/dev
  
  # Cleanup
  run rm -rf /tmp/* && apt-get clean
  
  # Run everything below as the dev user
  user dev
  
negative.code: env DEBIAN_FRONTEND noninteractive
  
  # Update distrib
  run apt-get update && apt-get upgrade -y && apt-get clean
  
  # Install packages
  run apt-get install -y man vim tmux zsh git curl wget sudo ca-certificates build-essential corkscrew dnsutils && \
      apt-get clean
  
  # Install the latest version of the docker CLI
  add https://get.docker.io/builds/Linux/x86_64/docker-latest /usr/local/bin/docker
  run chmod +x /usr/local/bin/docker
  
  # Allow dev user to use docker
  run echo "dev    ALL=NOPASSWD: /usr/local/bin/docker" > /etc/sudoers.d/docker
  
  # Install the latest version of fleetctl
  env FLEET_URL https://github.com/coreos/fleet/releases/download/v0.8.3/fleet-v0.8.3-linux-amd64.tar.gz
  run (cd /tmp && wget $FLEET_URL -O fleet.tgz && tar zxf fleet.tgz && mv fleet-*/fleetctl /usr/local/bin/ && rm -rf /tmp/fleet*)
  
  # Install the latest version of Go
  env GO_URL https://storage.googleapis.com/golang/go1.3.1.linux-amd64.tar.gz
  run (cd /tmp && curl -L -o go.tgz $GO_URL && tar -v -C /usr/local -xzf go.tgz && rm /tmp/go.tgz)
  env GOROOT /usr/local/go/
  env GOPATH /home/dev/go
  env PATH $PATH:$GOROOT/bin:$GOPATH/bin
  