Skip to content

Commit

Permalink
Dockerfile: Avoid conflict with curl-minimal package
Browse files Browse the repository at this point in the history
With CentOS Stream 8 reaching end of builds phase most of our ceph
images are migrating their bases to CentOS Stream 9. Since they come
with curl by default in a minimal rpm package we switch to attempt the
install by directly linking the binary than the package name. This is
due to the conflict between curl and curl-minimal packages in CentOS
Stream 9 images.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 authored and phlogistonjohn committed Jun 3, 2024
1 parent 96aac32 commit 26ac6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/containers/ceph/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN true && \
yum update -y --disablerepo=ganesha && \
cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" && \
yum install -y \
git wget curl make \
git wget /usr/bin/curl make \
/usr/bin/cc /usr/bin/c++ \
"libcephfs-devel-${cv}" "librados-devel-${cv}" "librbd-devel-${cv}" \
gdb libcephfs2-debuginfo librados2-debuginfo librbd1-debuginfo && \
Expand Down

0 comments on commit 26ac6fa

Please sign in to comment.