mirror of
https://github.com/ceph/go-ceph
synced 2024-12-24 07:03:00 +00:00
Revert "containers: work around protobuf package issues"
This reverts commit df3b6a95ad
.
This commit is contained in:
parent
87d3ae154b
commit
ea04c0fac8
@ -11,11 +11,10 @@ ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION}
|
||||
RUN true \
|
||||
&& echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" \
|
||||
&& [ "${CEPH_VERSION}" = "${GO_CEPH_VERSION}" ] \
|
||||
&& enablerepos="--enablerepo=crb" \
|
||||
&& . /etc/os-release ; if [ "$ID" = centos -a "$VERSION" = 8 ]; then enablerepos=""; find /etc/yum.repos.d/ -name '*.repo' -exec sed -i -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' {} \; ; fi \
|
||||
&& yum update -y $enablerepos \
|
||||
&& (. /etc/os-release ; if [ "$ID" = centos -a "$VERSION" = 8 ]; then find /etc/yum.repos.d/ -name '*.repo' -exec sed -i -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' {} \; ; fi ) \
|
||||
&& yum update -y --disablerepo=ganesha \
|
||||
&& cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" \
|
||||
&& yum install $enablerepos -y \
|
||||
&& yum install -y \
|
||||
git wget /usr/bin/curl make \
|
||||
/usr/bin/cc /usr/bin/c++ gdb \
|
||||
"libcephfs-devel-${cv}" \
|
||||
|
Loading…
Reference in New Issue
Block a user