Skip to content

Commit d6d5790

Browse files
committed
Fix python3 compatibility for barbican
Barbican refers to python3 but uwsgi refers to python2. This change fixes this issue. Change-Id: I508bb082a319955b3e008235e158eaa07a1e8a74 Closes-Bug: #1849128 (cherry picked from commit 823e45a)
1 parent 6a26cf5 commit d6d5790

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/barbican/barbican-api/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
3535
'apache2',
3636
'barbican-api',
3737
'libapache2-mod-wsgi-py3',
38-
'uwsgi-plugin-python'
38+
'uwsgi-plugin-python3'
3939
] %}
4040

4141
{{ macros.install_packages(barbican_api_packages | customizable("packages")) }}

docker/barbican/barbican-base/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
2525
{% endif %}
2626

2727
{% elif base_package_type == 'deb' %}
28-
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
28+
{% set barbican_base_packages = ['uwsgi-plugin-python3'] %}
2929
{% endif %}
3030

3131
{{ macros.install_packages(barbican_base_packages | customizable("packages")) }}

0 commit comments

Comments
 (0)