aboutsummaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile.j2
diff options
context:
space:
mode:
authorGaël THEROND (Fl1nt) <gael.therond@bitswalk.com>2020-09-17 14:38:21 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-09-17 13:50:15 +0000
commitb93c40a3635fbce72e48dc29120e50484cba36ca (patch)
treef4a83f50ad713be09684db076ec083d3732fec66 /docker/base/Dockerfile.j2
parent9a9ae6e295301cc8e60f81e62ec8fc9fd12c852b (diff)
downloadkolla-b93c40a3635fbce72e48dc29120e50484cba36ca.tar.gz
kolla-b93c40a3635fbce72e48dc29120e50484cba36ca.zip
Improve pip install process for offline deployment.
* "Use distribution-provided pip" * "Use python's pip module invocation method" * "Install pip earlier in order to avoid multiple installation" * "Remove pip_version variable requirement and call" Change-Id: Id0e738044a1931f9d611a7281a48ea4a593f1cf1 Closes-bug: #1893204
Diffstat (limited to 'docker/base/Dockerfile.j2')
-rw-r--r--docker/base/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index cef4ba628..55a2e1829 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -258,6 +258,7 @@ RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("cen
'ncurses',
'procps-ng',
'python3',
+ 'python3-pip',
'socat',
'sudo',
'tar',
@@ -329,6 +330,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
'open-iscsi',
'procps',
'python3',
+ 'python3-pip',
'socat',
'sudo',
'tgt']