anchor.diff:  # Pull base image.
  -# FROM ubuntu:trusty
   FROM maven:3-jdk-8
   MAINTAINER George Giannakopoulos (ggianna@iit.demokritos.gr)
   
   ARG DAEMON_DIRECTORY="/daemon"
   ARG MOUNT_DIR="/mnt"
   ARG LOG_DIR="/var/log/bde"
  +ARG REST_SERVICES_DIR="/rest"
  +ENV BDE_ROOT_DIR "/bde"
   
   ARG CONNECTIONS_CONFIG_FOLDER="$MOUNT_DIR/connections"
   ARG SUPPLIED_NEWS_PROPS_FILE="$MOUNT_DIR/news.properties"
  
positive.code: 
    
  # Make and define working directory.
  ENV BDE_ROOT_DIR "/bde"
  RUN mkdir -p "$BDE_ROOT_DIR"
  
  # Clone BDE components
  
negative.code: ARG SUPPLIED_TWITTER_ACCOUNTS_FILE="$MOUNT_DIR/twitter.accounts"
  ARG SUPPLIED_CRONTAB_FILE="$MOUNT_DIR/bdetab"
  
  
  LABEL multi.label1="BDE" \
        multi.label2="Event Detection"
  