
This reverts commit 965e897c71b378ee895d2ca6a00d0a892df6177e. The yum plugin called yum-priorities was added to make sure that the build system use the ussuri-ceph repo. This was done because StarlingX used to build ceph without its python3 packages. Now that ceph is generating its python3 packages this plugin is removed as well as the ussuri-ceph repo. This way StarlingX base image will use the packages built by it's own build system. Test plan: Complete build run Starlingx installation stx-openstack apply - check that the helm chart can create ceph pools Depends-On: https://review.opendev.org/c/starlingx/integ/+/824582 Story: 2009074 Task: 44281 Signed-off-by: Delfino Curado <delfinogomes.curadofilho@windriver.com> Change-Id: I4390c9bc9ec9dbc9ff077c4bcc1adb7d4fbfdbe5
32 lines
757 B
Docker
32 lines
757 B
Docker
# Expected build arguments:
|
|
# RELEASE: centos release
|
|
# REPO_OPTS: yum options to enable StarlingX repo
|
|
#
|
|
ARG RELEASE=7.5.1804
|
|
FROM centos:${RELEASE}
|
|
|
|
ARG REPO_OPTS
|
|
|
|
# The stx.repo file must be generated by the build tool first
|
|
COPY stx.repo /
|
|
|
|
RUN set -ex ;\
|
|
sed -i '/\[main\]/ atimeout=120' /etc/yum.conf ;\
|
|
mv /stx.repo /etc/yum.repos.d/ ;\
|
|
yum upgrade --disablerepo=* ${REPO_OPTS} -y ;\
|
|
yum install --disablerepo=* ${REPO_OPTS} -y \
|
|
qemu-img \
|
|
openssh-clients \
|
|
python3 \
|
|
python3-pip \
|
|
python3-wheel \
|
|
rh-python36-mod_wsgi \
|
|
;\
|
|
rm -rf \
|
|
/var/log/* \
|
|
/tmp/* \
|
|
/var/tmp/*
|
|
|
|
# root CA cert expired on October 1st, 2021
|
|
RUN yum update -y ca-certificates
|