anchor.diff:    | gunzip \
     | tar x -C /opt/sonatype/clm-server sonatype-clm-server-${CLM_VERSION}.jar
   
  -RUN useradd -r -u 200 -m -c "clm-server role account" -d /sonatype-work -s /bin/false clm-server
  +RUN useradd -r -u 200 -m -c "clm-server role account" -d ${SONATYPE_WORK} -s /bin/false clm-server
   
  -VOLUME /sonatype-work
  +VOLUME ${SONATYPE_WORK}
   
  -RUN mkdir -p /sonatype-work/log && chown -R clm-server /sonatype-work/log
  +RUN mkdir -p ${SONATYPE_WORK}/log && chown -R clm-server ${SONATYPE_WORK}/log
   
   ADD ./config.yml /sonatype-work/config.yml
   
  
positive.code: MAINTAINER Jason Swank <docker@scalene.net>
  
  ENV SONATYPE_WORK /sonatype-work
  ENV CLM_VERSION 1.13.1
  
  RUN mkdir -p /opt/sonatype/clm-server \
    && curl --fail --silent --location --retry 3 \
  
negative.code: WORKDIR /opt/sonatype/clm-server
  USER clm-server
  CMD java \
    ${JVM_OPTIONS}
    -jar sonatype-clm-server-${CLM_VERSION}.jar \
    server /sonatype-work/config.yml
  