anchor.diff:  RUN curl -o /usr/local/bin/dockyard https://raw.github.com/dynport/dockyard/master/dockyard
   RUN chmod 0755 /usr/local/bin/dockyard
   
  -RUN dockyard install postgresql 9.2.4
  +RUN dockyard install postgresql 9.2.4 postgresql-9.2-plv8 postgresql-server-dev-9.2
   
  +# add postgres user
   RUN useradd postgres
   
  +# add postgresql configure files
   ADD pg_hba.conf     /etc/postgresql/9.2/main/
   ADD pg_ident.conf   /etc/postgresql/9.2/main/
   ADD postgresql.conf /etc/postgresql/9.2/main/
  
positive.code: FROM base:ubuntu-quantal
  MAINTAINER Ullrich Schäfer <ullrich@seidbereit.de>
  
  # Exposes
  EXPOSE 5432
  
negative.code: ADD start /start
  RUN chmod 0755 /start
  
  # restart service
  CMD ["/start"]
  RUN sudo service postgresql restart
  
  RUN psql -U postgres
  RUN createdb mydb -U postgres
  
  # install plv8
  RUN psql -U postgres -c "create extension plv8"
  
  # install pgrest
  RUN npm i
  RUN npm i -g pgrest
  
  
  