diff options
Diffstat (limited to 'docker/storm')
| -rw-r--r-- | docker/storm/Dockerfile.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/storm/Dockerfile.j2 b/docker/storm/Dockerfile.j2 index 42f03897f..2f04cf306 100644 --- a/docker/storm/Dockerfile.j2 +++ b/docker/storm/Dockerfile.j2 @@ -42,6 +42,13 @@ RUN curl -sSL -o /tmp/storm.tgz ${storm_url} \ {% endblock %} +{% block storm_python_version %} +# NOTE(dszumski): Storm needs to be told where the Py3 interpreter lives +{% if distro_python_version.startswith('3') %} +ENV PYTHON={{ '/usr/bin/python' ~ distro_python_version }} +{% endif %} +{% endblock %} + COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start |
