From 76ab38a06b18ef3d05058cfaeb4906c3b17341c4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 1 Apr 2021 11:35:03 +1100 Subject: [PATCH] Add docker info --- docker/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index c0b088d952..a0f0595c93 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -15,6 +15,16 @@ ENV INVENTREE_LOG_DIR="$INVENTREE_HOME/log" ENV INVENTREE_BACKUP_DIR="$INVENTREE_HOME/backup" ENV INVENTREE_VENV="$INVENTREE_HOME/env" +LABEL org.label-schema.schema-version="1.0" \ + org.label-schema.build-date=$DATE \ + org.label-schema.vendor="inventree" \ + org.label-schema.name="inventree/inventree" \ + org.label-schema.url="https://hub.docker.com/r/inventree/inventree-docker" \ + org.label-schema.version=$INVENTREE_VERSION \ + org.label-schema.vcs-url=$INVENTREE_REPO \ + org.label-schema.vcs-branch=$BRANCH \ + org.label-schema.vcs-ref=$COMMIT + RUN echo "Installing InvenTree '${INVENTREE_VERSION}' from ${INVENTREE_REPO}" # Create user account