anchor.diff:      && mkdir /opt \
       && tar xzf ${ACTIVEMQ}-bin.tar.gz -C /opt \
       && ln -s /opt/${ACTIVEMQ} ${ACTIVEMQ_HOME} \
  -    && addgroup -S activemq \
  -    && adduser -S -H -G activemq -h ${ACTIVEMQ_HOME} activemq \
  +    && addgroup activemq \
  +    && adduser activemq activemq --home ${ACTIVEMQ_HOME} --disabled-login \
       && chown -R activemq:activemq /opt/${ACTIVEMQ} \
       && chown -h activemq:activemq ${ACTIVEMQ_HOME} \
       && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
       && echo ${TZ} > /etc/timezone \
  -    && apk del curl \
  -    && rm -rf /var/cache/apk/*
  +    && apt clean
   
   USER activemq
   
  
positive.code: FROM openjdk:8u171-jre-alpine3.8
  
  LABEL maintainer="mritd <mritd1234@gmail.com>"
  
  ARG TZ="Asia/Shanghai"
  
  ENV TZ ${TZ}
  ENV ACTIVEMQ_VERSION 5.15.4
  ENV ACTIVEMQ_MQTT     1883
  ENV ACTIVEMQ_AMQP     5672
  ENV ACTIVEMQ_UI       8161
  
negative.code: ENV ACTIVEMQ_SHA512_VAL 26d8154fcfe17ab90508b3b9d46b40815404fa3886cfdc4eae4b06086332203bd2455475b9309ccabd76d0c9b65f523f9d3911d315c17bf4b48bd22395ea8ead
  
  
  RUN apt update \
      && apt upgrade -y \
      && apt install bash tzdata curl -y \
      && curl ${ACTIVEMQ_DOWNLOAD_URL} -o ${ACTIVEMQ}-bin.tar.gz \
      && if [ "${ACTIVEMQ_SHA512_VAL}" != "$(sha512sum ${ACTIVEMQ}-bin.tar.gz | awk '{print($1)}')" ]; then \
           echo "sha512 values doesn't match! exiting." && exit 1; \
  