upstream/openstack/python-gnocchi/centos/stx-gnocchi.stable_docker_image
Zhipeng Liu e96d8b7177 Fix gnocchi-api could not start up issue
After using python3 to build image, need change related
profile and customization like we did for other service
in directives file.

Test pass for openstack apply with 4 additional services enabled

Partial-Bug: 1886819

Change-Id: Ifdfce220b43166345888b1384f62c4ab8f46ba27
Signed-off-by: Zhipeng Liu <zhipengs.liu@intel.com>
2020-07-15 01:41:54 +00:00

15 lines
549 B
Plaintext

BUILDER=loci
LABEL=stx-gnocchi
PROJECT=gnocchi
PROJECT_REPO=https://github.com/gnocchixyz/gnocchi.git
PROJECT_REF=4.3.2
PIP_PACKAGES="pylint SQLAlchemy SQLAlchemy-Utils oslo.db keystonemiddleware gnocchiclient pymemcache psycopg2"
DIST_PACKAGES="python3-rados"
PROFILES="gnocchi apache"
CUSTOMIZATION="\
sudo cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-rh-python36-wsgi.conf /etc/httpd/conf.modules.d/10-wsgi.conf && \
sudo cp /opt/rh/httpd24/root/usr/lib64/httpd/modules/mod_rh-python36-wsgi.so /etc/httpd/modules/ \
"
PYTHON3=yes