summaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile.j2
diff options
context:
space:
mode:
Diffstat (limited to 'docker/base/Dockerfile.j2')
-rw-r--r--docker/base/Dockerfile.j213
1 files changed, 9 insertions, 4 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index 89e0ac874..54730bd87 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -337,11 +337,13 @@ RUN yum-config-manager --enable rhel-7-server-optional-rpms \
] %}
{% if distro_python_version.startswith('3') %}
{% set base_centos_binary_packages = base_centos_binary_packages + [
- 'python3'
+ 'python3',
+ 'python3-pip'
] %}
{% else %}
{% set base_centos_binary_packages = base_centos_binary_packages + [
- 'python'
+ 'python',
+ 'python-pip'
] %}
{% endif %}
{% if distro_package_manager == 'dnf' %}
@@ -376,11 +378,13 @@ RUN yum-config-manager --enable rhel-7-server-optional-rpms \
] %}
{% if distro_python_version.startswith('3') %}
{% set base_centos_source_packages = base_centos_source_packages + [
- 'python3'
+ 'python3',
+ 'python3-pip'
] %}
{% else %}
{% set base_centos_source_packages = base_centos_source_packages + [
- 'python'
+ 'python',
+ 'python-pip'
] %}
{% endif %}
{% if distro_package_manager == 'dnf' %}
@@ -455,6 +459,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
'open-iscsi',
'procps',
'python3',
+ 'python3-pip',
'socat',
'sudo',
'tgt']