From cb492959da07aec203ed83d008f153265fe020f7 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 28 Aug 2024 09:45:56 +0800 Subject: [PATCH] Use fixed image tag instead of floating latest for Container file --- image/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image/Containerfile b/image/Containerfile index 6ee0c02..267cb9f 100644 --- a/image/Containerfile +++ b/image/Containerfile @@ -19,16 +19,16 @@ # 4. Start using uploader # charon upload/delete from /home/charon/upload/... ### -FROM registry.access.redhat.com/ubi8-minimal:latest as builder +FROM registry.access.redhat.com/ubi8-minimal:8.10-1052 as builder -ARG GIT_BRANCH=main +ARG GIT_BRANCH=release RUN microdnf install -y git-core python3.12 python3.12-pip && microdnf clean all RUN git clone -b ${GIT_BRANCH} --depth 1 https://github.com/Commonjava/charon.git RUN pip3 install --no-cache-dir --upgrade pip RUN pip3 wheel ./charon -FROM registry.access.redhat.com/ubi8-minimal:latest +FROM registry.access.redhat.com/ubi8-minimal:8.10-1052 ARG USER=charon ARG UID=10000