From a53a0ab1f2cbd8078d2706774c937508278354cd Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Fri, 3 Oct 2025 22:38:07 +0200 Subject: [PATCH] added labels for traceability --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 521a164..c93a72e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,13 @@ FROM ghcr.io/mlflow/mlflow:latest +ARG BASE_IMAGE_DIGEST=unknown + +# Set a label with the base image digest for traceability +LABEL base-image.digest="${BASE_IMAGE_DIGEST}" \ + build-date="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \ + maintainer="Brian Jensen" # Use --no-cache-dir to avoid storing pip cache in the image -RUN pip install --no-cache-dir psycopg2-binary +RUN pip install --no-cache-dir \ + psycopg2-binary ENTRYPOINT [ "mlflow", "server" ]