anchor.diff:  FROM birdhouse/bird-base:latest
   MAINTAINER https://github.com/bird-house/emu
   
  -LABEL Description="Emu Web Processing Service Application" Vendor="Birdhouse" Version="0.5.2"
  +LABEL Description="Emu Web Processing Service Application" Vendor="Birdhouse" Version="0.5.3"
   
   # Configure hostname and user for services
   ENV OUTPUT_PORT 38094
   ENV HOSTNAME localhost
  -ENV USER www-data
  -
   
   # Set current home
   ENV HOME /root
  
positive.code: RUN make clean install
  
  # Volume for data, cache, logfiles, ...
  # RUN chown -R $USER $CONDA_ENVS_DIR/birdhouse
  # RUN mkdir -p $CONDA_ENVS_DIR/birdhouse/var/lib && mv $CONDA_ENVS_DIR/birdhouse/var/lib /data && ln -s /data $CONDA_ENVS_DIR/birdhouse/var/lib
  # RUN chown -R $USER /data
  VOLUME /data
  
  # Ports used in birdhouse
  EXPOSE 9001 8094 28094 $OUTPUT_PORT
  
negative.code: # cd into application
  WORKDIR /opt/birdhouse/src/emu
  
  # Provide custom.cfg with settings for docker image
  RUN printf "[buildout]\nextends=profiles/docker.cfg" > custom.cfg
  
  # Install system dependencies
  RUN bash bootstrap.sh -i && bash requirements.sh
  