anchor.diff:      && mv nexus-${NEXUS_VERSION} ${NEXUS_HOME} \
       && sed -e '/^nexus-context/ s:$:${NEXUS_CONTEXT}:' -i ${NEXUS_HOME}/etc/nexus-default.properties \
       && ln -s ${NEXUS_DATA} ${SONATYPE_WORK}/nexus3 \
  +    && apk del wget tar \
       && rm -rf /var/cache/apk/*
   
   WORKDIR ${NEXUS_HOME}
  
positive.code: ENV TZ 'Asia/Shanghai'
  ENV SONATYPE_DIR /usr/local/sonatype
  ENV SONATYPE_WORK ${SONATYPE_DIR}/sonatype-work
  ENV NEXUS_VERSION 3.2.0-01
  ENV NEXUS_HOME ${SONATYPE_DIR}/nexus
  ENV NEXUS_DATA /data/nexus-data
  ENV NEXUS_CONTEXT ''
  
negative.code: ENV JAVA_MIN_MEM 1200m
  ENV EXTRA_JAVA_OPTS ""
  
  RUN apk upgrade --update \
      && apk add bash tzdata wget tar \
      && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
      && echo "Asia/Shanghai" > /etc/timezone \
      && mkdir -p ${SONATYPE_DIR} ${SONATYPE_WORK} ${NEXUS_DATA} \
  