From 7d22572fed57e8d4ae80a5f76cf0999053836d27 Mon Sep 17 00:00:00 2001 From: Jan Stourac Date: Fri, 2 Feb 2024 19:33:58 +0100 Subject: [PATCH] wip --- base/anaconda-python-3.8/Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/base/anaconda-python-3.8/Dockerfile b/base/anaconda-python-3.8/Dockerfile index 7230f6016..c23c5c8df 100644 --- a/base/anaconda-python-3.8/Dockerfile +++ b/base/anaconda-python-3.8/Dockerfile @@ -2,6 +2,10 @@ # Python applications. FROM registry.access.redhat.com/ubi8/s2i-base AS s2i-python-anaconda-38-base +ARG AUTHORITATIVE_SOURCE_URL +ARG BUILD_COMMIT_REF +ARG IMAGE_REGISTRY + EXPOSE 8080 # TODO(Spryor): ensure these are right, add Anaconda versions @@ -88,7 +92,11 @@ LABEL name="odh-notebook-base-ubi8-anaconda-python-3.8" \ summary="Anaconda based Python 3.8 base image for ODH notebooks" \ description="Anaconda Base Python 3.8 builder image based on UBI8 for ODH notebooks" \ io.k8s.display-name="Anaconda Python 3.8 base image for ODH notebooks" \ - io.k8s.description="Anaconda Base Python 3.8 builder image based on UBI8 for ODH notebooks" + io.k8s.description="Anaconda Base Python 3.8 builder image based on UBI8 for ODH notebooks" \ + authoritative-source-url="${AUTHORITATIVE_SOURCE_URL}" \ + io.openshift.build.commit.ref="${BUILD_COMMIT_REF}" \ + io.openshift.build.source-location="${AUTHORITATIVE_SOURCE_URL}/tree/${BUILD_COMMIT_REF}/base/anaconda-python-3.8" \ + io.openshift.build.image="${IMAGE_REGISTRY}:base-c9s-python-3.9" TODO ????? WORKDIR /opt/app-root/bin