anchor.diff:  
   ENV JAVA_HOME /usr/lib/jvm/java-1.6.0
   
  -COPY . ${CYGNUS_HOME}/
  +# COPY . ${CYGNUS_HOME}/
   
   # Install
   RUN \
  
positive.code:     mkdir -p ${FLUME_HOME}/plugins.d/cygnus/lib && \
      mkdir -p ${FLUME_HOME}/plugins.d/cygnus/libext && \
      chown -R cygnus:cygnus ${FLUME_HOME} && \
      # Build and install cygnus-common
      cd ${CYGNUS_HOME}/cygnus-common && \
      ${MVN_HOME}/bin/mvn clean compile exec:exec assembly:single && \
  
negative.code:     pack200 ${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar.pack.gz ${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
      pack200 ${FLUME_HOME}/plugins.d/cygnus/lib/cygnus-ngsi-${CYGNUS_VERSION}-jar-with-dependencies.jar.pack.gz ${FLUME_HOME}/plugins.d/cygnus/lib/cygnus-ngsi-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
      rm -f ${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
      rm -f ${FLUME_HOME}/plugins.d/cygnus/lib/cygnus-ngsi-${CYGNUS_VERSION}-jar-with-dependencies.jar && \
      # Copy some files needed for starting cygnus-ngsi
      cp -p ${CYGNUS_HOME}/docker/cygnus-ngsi/cygnus-entrypoint.sh / && \
      cp -p ${CYGNUS_HOME}/docker/cygnus-ngsi/agent.conf ${FLUME_HOME}/conf/
  
  # Define the entry point
  ENTRYPOINT ["/cygnus-entrypoint.sh"]
  