From 681e8d89aff35d5a2724e2ea68b5be3571346a5a Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 4 Feb 2026 14:53:51 +0800 Subject: [PATCH] Update Dockerfile * Update base image to more recent version * Add file installation --- image/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image/Containerfile b/image/Containerfile index a84a8da9..6fc0fa17 100644 --- a/image/Containerfile +++ b/image/Containerfile @@ -19,7 +19,7 @@ # 4. Start using uploader # charon upload/delete from /home/charon/upload/... ### -FROM registry.access.redhat.com/ubi8-minimal:8.10-1295 as builder +FROM registry.access.redhat.com/ubi8-minimal:8.10-1770021813 as builder ARG GIT_BRANCH=release @@ -28,7 +28,7 @@ RUN git clone -b ${GIT_BRANCH} --depth 1 https://github.com/Commonjava/charon.gi RUN pip3 install --no-cache-dir --upgrade pip RUN pip3 wheel ./charon -FROM registry.access.redhat.com/ubi8-minimal:8.10-1295 +FROM registry.access.redhat.com/ubi8-minimal:8.10-1770021813 ARG USER=charon ARG UID=10000 @@ -38,7 +38,7 @@ WORKDIR ${HOME_DIR} USER root -RUN microdnf install -y python3.12-devel python3.12-pip shadow-utils gcc openssl-devel && microdnf clean all +RUN microdnf install -y python3.12-devel python3.12-pip shadow-utils gcc openssl-devel file && microdnf clean all RUN useradd -d ${HOME_DIR} -u ${UID} -g 0 -m -s /bin/bash ${USER} \ && chown ${USER}:0 ${HOME_DIR} \ && chmod -R g+rwx ${HOME_DIR} \