anchor.diff:      && if [ "${ACTIVEMQ_SHA512_VAL}" != "$(sha512sum ${ACTIVEMQ}-bin.tar.gz | awk '{print($1)}')" ]; then \
            echo "sha512 values doesn't match! exiting." && exit 1; \
          fi \
  -    && mkdir /opt \
       && tar xzf ${ACTIVEMQ}-bin.tar.gz -C /opt \
       && ln -s /opt/${ACTIVEMQ} ${ACTIVEMQ_HOME} \
  -    && addgroup activemq \
  -    && adduser activemq activemq --home ${ACTIVEMQ_HOME} --disabled-login \
  +    && useradd activemq -U -d ${ACTIVEMQ_HOME} -s /usr/sbin/nologin \
       && chown -R activemq:activemq /opt/${ACTIVEMQ} \
       && chown -h activemq:activemq ${ACTIVEMQ_HOME} \
       && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
  
positive.code: ENV ACTIVEMQ_HOME /opt/activemq
  ENV ACTIVEMQ apache-activemq-${ACTIVEMQ_VERSION}
  ENV ACTIVEMQ_DOWNLOAD_URL https://archive.apache.org/dist/activemq/${ACTIVEMQ_VERSION}/${ACTIVEMQ}-bin.tar.gz
  ENV ACTIVEMQ_SHA512_VAL 26d8154fcfe17ab90508b3b9d46b40815404fa3886cfdc4eae4b06086332203bd2455475b9309ccabd76d0c9b65f523f9d3911d315c17bf4b48bd22395ea8ead
  
  
  RUN apt update \
  
negative.code: EXPOSE ${ACTIVEMQ_WS}
  EXPOSE ${ACTIVEMQ_UI}
  
  CMD ["/bin/bash", "-c", "bin/activemq console"]
  