d573bb01de
This commit updates the stable-wheels.cfg to align with the stable/train upper-constraints.txt file, to ensure the train images built have the proper content: - If an appropriate prebuilt wheel is available at pypi.org, remove the entry from stable-wheels.cfg to avoid changing the configured train constraint. - If building from a tar or zip and the configured train constraint has changed, update the entry with the new version. - Added entres to build pyrsistent, psycopg2, and thriftpy2 from tarballs, as they are needed for various images and no prebuilt wheels are available. Change-Id: I6cebb9a9867c37746500e3d6d4762ed7668d60df Story: 2006544 Task: 37427 Signed-off-by: Don Penney <don.penney@windriver.com>
22 lines
813 B
Plaintext
22 lines
813 B
Plaintext
ARG RELEASE=7.5.1804
|
|
FROM centos:${RELEASE}
|
|
|
|
ARG BUILD_STREAM=stable
|
|
|
|
# Install the necessary packages for building the python modules.
|
|
# Some of these are dependencies of the specific modules, and could
|
|
# instead be added to the wheels.cfg file in the future.
|
|
RUN set -ex ;\
|
|
sed -i '/\[main\]/ atimeout=120' /etc/yum.conf ;\
|
|
yum install -y epel-release centos-release-openstack-queens ;\
|
|
yum install -y git gcc zip bzip2 unzip \
|
|
python python-devel python-pip python-wheel \
|
|
wget openldap-devel mariadb mariadb-devel \
|
|
libvirt libvirt-devel liberasurecode-devel nss-devel \
|
|
systemd-devel postgresql-devel ;\
|
|
pip install --upgrade pip setuptools
|
|
|
|
COPY docker-build-wheel.sh /
|
|
COPY ${BUILD_STREAM}-wheels.cfg /wheels.cfg
|
|
|