Skip to content

Commit a38e565

Browse files
committed
RADAS: update Containerfile for radas support
* Update base image to new version of ubi8-minimal * Add gcc, openssl-devel as dependencies for build * Use python12-devel instead of python12 because qpid-proton
1 parent 7240d17 commit a38e565

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

image/Containerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
# 4. Start using uploader
2020
# charon upload/delete from /home/charon/upload/...
2121
###
22-
FROM registry.access.redhat.com/ubi8-minimal:8.10-1052 as builder
22+
FROM registry.access.redhat.com/ubi8-minimal:8.10-1295 as builder
2323

2424
ARG GIT_BRANCH=main
2525

26-
RUN microdnf install -y git-core python3.12 python3.12-pip && microdnf clean all
26+
RUN microdnf install -y git-core python3.12-devel python3.12-pip gcc openssl-devel && microdnf clean all
2727
RUN git clone -b ${GIT_BRANCH} --depth 1 https://github.com/Commonjava/charon.git
2828
RUN pip3 install --no-cache-dir --upgrade pip
2929
RUN pip3 wheel ./charon
3030

31-
FROM registry.access.redhat.com/ubi8-minimal:8.10-1052
31+
FROM registry.access.redhat.com/ubi8-minimal:8.10-1295
3232

3333
ARG USER=charon
3434
ARG UID=10000
@@ -38,7 +38,7 @@ WORKDIR ${HOME_DIR}
3838

3939
USER root
4040

41-
RUN microdnf install -y python3.12 python3.12-pip shadow-utils && microdnf clean all
41+
RUN microdnf install -y python3.12-devel python3.12-pip shadow-utils gcc openssl-devel && microdnf clean all
4242
RUN useradd -d ${HOME_DIR} -u ${UID} -g 0 -m -s /bin/bash ${USER} \
4343
&& chown ${USER}:0 ${HOME_DIR} \
4444
&& chmod -R g+rwx ${HOME_DIR} \

0 commit comments

Comments
 (0)