anchor.diff:  VOLUME ${DATA_DIR}
   
   # Download optional JDBC drivers to the external library directory
  -ADD https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.5/postgresql-42.2.5.jar /extlib
  -ADD https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.47/mysql-connector-java-5.1.47.jar /extlib
  -ADD https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/7.1.3.jre8-preview/mssql-jdbc-7.1.3.jre8-preview.jar /extlib
  -RUN chown -f -R ${USER}:${USER} /extlib
  +ADD https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.5/postgresql-42.2.5.jar ${EXT_LIB}
  +ADD https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.47/mysql-connector-java-5.1.47.jar ${EXT_LIB}
  +ADD https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/7.1.3.jre8-preview/mssql-jdbc-7.1.3.jre8-preview.jar ${EXT_LIB}
  +RUN chown -f -R ${USER}:${USER} ${EXT_LIB}
   
   # Specify the user to run commands as
   USER ${USER}
  
positive.code: FROM openjdk:8u201-jre-alpine
  LABEL maintainer="steve.springett@owasp.org"
  LABEL vendor="OWASP"
  
  
negative.code: ARG APP_DIR=/opt/owasp/dependency-track
  ARG DATA_DIR=/data
  ARG USER=dtrack
  ARG EXT_LIB=/extlib
  
  # The default logging level
  ENV LOGGING_LEVEL=INFO
  
  # Environment variables that can be passed at runtime
  ENV JAVA_OPTIONS="-Xmx4G"
  
  # Create the application directory where Dependency-Track will be installed
  RUN mkdir -p ${APP_DIR}
  
  # Create the external library directory
  RUN mkdir -p ${EXT_LIB}
  
  # Create a user and assign home directory to a non-standard path
  RUN adduser -h ${DATA_DIR} -s bash -D ${USER}
  