Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions image/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
# 4. Start using uploader
# charon upload/delete from /home/charon/upload/...
###
FROM registry.access.redhat.com/ubi8-minimal:8.10-1052 as builder
FROM registry.access.redhat.com/ubi8-minimal:8.10-1295 as builder

ARG GIT_BRANCH=main

RUN microdnf install -y git-core python3.12 python3.12-pip && microdnf clean all
RUN microdnf install -y git-core python3.12-devel python3.12-pip gcc openssl-devel && 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:8.10-1052
FROM registry.access.redhat.com/ubi8-minimal:8.10-1295

ARG USER=charon
ARG UID=10000
Expand All @@ -38,7 +38,7 @@ WORKDIR ${HOME_DIR}

USER root

RUN microdnf install -y python3.12 python3.12-pip shadow-utils && microdnf clean all
RUN microdnf install -y python3.12-devel python3.12-pip shadow-utils gcc openssl-devel && 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} \
Expand Down