anchor.diff:  
   ENTRYPOINT ["./entrypoint.sh"]
   
  +VOLUME [${TOMCAT_RESOURCES}]
  +
   CMD ["./apache-tomcat/bin/startup.sh"]
  
positive.code: ARG LIB_HSQLDB_JDBC_DRIVER_NAME="hsqldb-1.8.0.10.jar"
  ARG LIB_HSQLDB_JDBC_DRIVER_URL="https://search.maven.org/remotecontent?filepath=org/hsqldb/hsqldb/1.8.0.10/${LIB_HSQLDB_JDBC_DRIVER_NAME}"
  
  # Knowage home directory
  ENV KNOWAGE_DIRECTORY /home/knowage
  
  # Tomcat sub-directories
  ARG TOMCAT_HOME=${KNOWAGE_DIRECTORY}/${APACHE_TOMCAT_PACKAGE}
  ARG TOMCAT_BIN=${TOMCAT_HOME}/bin
  ARG TOMCAT_CONF=${TOMCAT_HOME}/conf
  ARG TOMCAT_LIB=${TOMCAT_HOME}/lib
  ARG TOMCAT_WEBAPPS=${TOMCAT_HOME}/webapps
  
  WORKDIR ${KNOWAGE_DIRECTORY}
  
  
negative.code:   && apt-get install -q --no-install-recommends -y wget coreutils unzip mariadb-client-10.3 \
    && rm -rf /var/lib/apt/lists/*
  
  COPY --from=init ${KNOWAGE_DIRECTORY}/mysql/ ${KNOWAGE_DIRECTORY}/mysql/
  
  ENV MYSQL_SCRIPT_DIRECTORY ${KNOWAGE_DIRECTORY}/mysql
  
  COPY --from=init ${TOMCAT_HOME} ${TOMCAT_HOME}
  
  # Override Apache Tomcat server configuration and add security policy
  COPY server.xml knowage-default.policy ${TOMCAT_CONF}/
  