
pyScss tries to import a module called "Feature" from setuptools, which was removed from setuptools 46.0.0 (mar 8 2020). This causes compilation erros. The fix updates "pip install" in Dockerfile to install setuptools < 46.0.0 Change-Id: Ib5c00aafb934efaf1413e72ede30638f2dc35230 Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Closes-Bug: 1866699
22 lines
822 B
Plaintext
22 lines
822 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<46.0.0'
|
|
|
|
COPY docker-build-wheel.sh /
|
|
COPY ${BUILD_STREAM}-wheels.cfg /wheels.cfg
|
|
|