anchor.diff:      CONFLUENCE_INSTALL_DIR="/opt/atlassian/confluence" \
       CONFLUENCE_DOWNLOAD_URL="http://www.atlassian.com/software/confluence/downloads/binary" \
       JVM_MYSQL_CONNECTOR_URL="http://dev.mysql.com/get/Downloads/Connector-J" \
  -    RUN_USER="confluence" \
  -    RUN_GROUP="confluence" \
  +    RUN_USER=confluence \
  +    RUN_GROUP=confluence \
       RUN_UID=1000 \
       RUN_GID=1000
   
  
positive.code:     mv /tmp/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}-bin.jar ${CONFLUENCE_INSTALL_DIR}/confluence/WEB-INF/lib && \
      cp -f ${CONFLUENCE_INSTALL_DIR}/confluence/WEB-INF/lib/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}-bin.jar ${CONFLUENCE_INSTALL_DIR}/lib/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}-bin.jar && \
      sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh && \
      chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_HOME} ${CONFLUENCE_INSTALL_DIR} && \
      chmod -R 700 ${CONFLUENCE_HOME} ${CONFLUENCE_INSTALL_DIR} && \
      apk del ca-certificates wget curl unzip tzdata msttcorefonts-installer
  
  # --
  # define container execution behaviour
  
negative.code: # --
  # download/prepare newest mysql connector
  # --
  
  
  # --
  # download/prepare confluence
  