anchor.diff:  RUN echo 'org.rakam=INFO\n\
   io.netty=INFO' > log.properties
   
  -RUN [ -s config.properties ] || echo "store.adapter=postgresql\n\
  +RUN [ -s config.properties ] || (echo "store.adapter=postgresql\n\
   store.adapter.postgresql.url=postgres://rakam:dummy@rakam-db:5432/rakam\n\
   plugin.user.enabled=true\n\
   real-time.enabled=true\n\
  
positive.code: http.server.address=0.0.0.0:9999\n\
  plugin.user.storage.identifier_column=id\n\
  store.adapter.postgresql.max-connection=20\n\
  plugin.geoip.database.url=file://tmp/GeoLite2-City.mmdb\n" > config.properties && env | grep RAKAM_CONFIG_ | awk  '{gsub(/\_/,".",$0); print substr(tolower($0), 14)}' >> config.properties
  
  RUN apt-get update \
      # Rakam can automatically download & extract the database but we do this
  
negative.code: FROM maven:3-jdk-8
  MAINTAINER Burak Emre Kabakci "emre@rakam.io"
  
  WORKDIR /var/app
  
  