anchor.diff:    org.label-schema.schema-version="1.0" \
     org.label-schema.url="${REPOSITORY_URL}" \
     org.label-schema.usage="https://docs.b2i.sg/snow-owl" \
  -  org.label-schema.vcs-url="${REPOSITORY_URL}" \
  +  org.label-schema.vcs-url="${REPOSITORY_URL}/tree/${GIT_BRANCH}" \
     org.label-schema.vendor="B2i Healthcare" \
     org.opencontainers.image.created="${BUILD_TIMESTAMP}" \
     org.opencontainers.image.revision="${GIT_REVISION}" \
  
positive.code: COPY config/snowowl.yml configuration/
  RUN chmod 0660 configuration/snowowl.yml
  
  FROM b2ihealthcare/centos7:latest
  
  ARG BUILD_TIMESTAMP
  ARG TAG
  ARG GIT_REVISION
  ARG PRODUCT_NAME="Snow Owl OSS"
  ARG REPOSITORY_URL="https://github.com/b2ihealthcare/snow-owl"
  
  
negative.code:   org.opencontainers.image.title="${PRODUCT_NAME}" \
    org.opencontainers.image.url="${REPOSITORY_URL}" \
    org.opencontainers.image.documentation="https://docs.b2i.sg/snow-owl" \
    org.opencontainers.image.source="${REPOSITORY_URL}/tree/${GIT_BRANCH}" \
    org.opencontainers.image.vendor="B2i Healthcare"
  
  USER snowowl:root
  