Do not use distro_python_version for interpreter

We can just use python3 - not longer need to tell which exactly like it
was in py2/py3 times.

Change-Id: Ib02f13cd2ad0037228e8975bd3fc37f41f23846f
This commit is contained in:
Marcin Juszkiewicz 2021-09-16 16:28:00 +02:00
parent f98ad9462b
commit a11815cd96
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
{% macro install_pip(packages, constraints = true) %}
{%- if packages is sequence and packages|length > 0 -%}
python{{ distro_python_version }} -m pip --no-cache-dir install --upgrade{{ ' ' }}
python3 -m pip --no-cache-dir install --upgrade{{ ' ' }}
{%- if constraints %}-c /requirements/upper-constraints.txt {% endif -%}
{{ packages | join(' ') }}
{%- else -%}

View File

@ -44,7 +44,7 @@ RUN curl -o /tmp/storm.tgz ${storm_url} \
{% block storm_python_version %}
# NOTE(dszumski): Storm needs to be told where the Py3 interpreter lives
ENV PYTHON={{ '/usr/bin/python' ~ distro_python_version }}
ENV PYTHON='/usr/bin/python3'
{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start