Skip to content

Commit

Permalink
Lock ubi version to 9.3 to prevent conflicts
Browse files Browse the repository at this point in the history
ubi base image in 9.4 and latest uses openssl-libs-1:3.2.1-1.el9.x86_64
that conflicts with openssl-fips-provider-3.0.7-2.el9.x86_64 from
mirror.stream.centos.org_9-stream_BaseOS_x86_64_os because the centos
contains openssl-libs-3.2.1-1.el9.x86_64.rpm. we cannot remove the
older version because systemd depends on it. So lock the version
until its resolved in upstream

Signed-off-by: Madhu Challa <challa@gmail.com>
  • Loading branch information
mchalla committed May 14, 2024
1 parent cfe6382 commit 207cc74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/travis/Dockerfile-opflex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3
RUN microdnf install -y yum yum-utils
RUN yum update -y --nogpgcheck --disablerepo=* --repofrompath=centos,https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os --repofrompath=centos-app,https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os && rm -rf /var/cache/yum
RUN yum install -y --nogpgcheck --disablerepo=* --repofrompath=centos,https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os --repofrompath=centos-app,https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os \
Expand Down
2 changes: 1 addition & 1 deletion docker/travis/Dockerfile-opflex-build-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3
ENV ROOT=/usr/local
ARG make_args=-j1
RUN microdnf install -y yum yum-utils \
Expand Down
2 changes: 1 addition & 1 deletion docker/travis/Dockerfile-opflexserver
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3
RUN microdnf install -y yum yum-utils \
&& yum-config-manager --add-repo=https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os \
&& yum-config-manager --add-repo=https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os \
Expand Down

0 comments on commit 207cc74

Please sign in to comment.