anchor.diff:      rm -rf /var/cache/apk/*                         &&  \
       rm -rf /tmp/*                                   &&  \
       rm -rf /var/log/*
  +# --
  +# testblock_01_EOB
  +# --
   
   # Image Metadata
   LABEL com.blacklabelops.application.jira.version=$JIRA_PRODUCT-$JIRA_VERSION \
  
positive.code:     cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && \
      echo "${TIMEZONE}" >/etc/timezone
  
  # --
  # testblock_01_SOB
  # --
  # install jira using origin atlassian (bin) installer
  RUN export JIRA_BIN=atlassian-${JIRA_PRODUCT}-${JIRA_VERSION}-x64.bin && \
          mkdir -p ${JIRA_HOME}                           &&  \
          mkdir -p ${JIRA_INSTALL}                        &&  \
          wget -O /tmp/jira.bin https://www.atlassian.com/software/jira/downloads/binary/${JIRA_BIN} && \
          chmod +x /tmp/jira.bin                          &&  \
          /tmp/jira.bin -q -varfile                           \
            ${JIRA_SCRIPTS}/response.varfile              &&  \
          rm -f                                               \
            ${JIRA_INSTALL}/lib/mysql-connector-java*.jar &&  \
          wget -O /tmp/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.tar.gz                                              \
            http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.tar.gz      &&  \
          tar xzf /tmp/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.tar.gz                                              \
            --directory=/tmp                                                                                        &&  \
          cp /tmp/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}-bin.jar     \
            ${JIRA_INSTALL}/lib/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}-bin.jar
  # --
  # testblock_01_EOB
  # --
  
  RUN export CONTAINER_USER=jira                      &&  \
      export CONTAINER_UID=1000                       &&  \
      export CONTAINER_GROUP=jira                     &&  \
      export CONTAINER_GID=1000                       &&  \
  
negative.code:             -h /home/$CONTAINER_USER                    \
              -s /bin/bash                                \
              -S $CONTAINER_USER                      &&  \
      chown -R $JIRA_USER:$JIRA_GROUP ${JIRA_HOME}    &&  \
      chown -R $JIRA_USER:$JIRA_GROUP ${JIRA_INSTALL} &&  \
      chown -R $JIRA_USER:$JIRA_GROUP ${JIRA_SCRIPTS} &&  \
      chown -R $JIRA_USER:$JIRA_GROUP /home/${JIRA_USER} &&  \
      wget -O /tmp/dockerize.tar.gz https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz && \
      tar -C /usr/local/bin -xzvf /tmp/dockerize.tar.gz && \
      rm /tmp/dockerize.tar.gz && \
      apk del                                             \
        ca-certificates                                   \
        gzip                                              \
  