Browse Source

Fix dev install (yum -y...)

Fixes an issue in 410408ef1b where
we removed the -y options for the pip RPM install. This functionally
broke the dev mode playbook unless you had manually installed pip
in the container (not normally the case for RDO images).

Change-Id: Ic96d9eb708bff763cbe4395cf7770b5239879309
Closes-bug: #1816775
master
Dan Prince 3 months ago
parent
commit
8f0c6bf141
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/Dockerfile-dev.j2

+ 1
- 1
templates/Dockerfile-dev.j2 View File

@@ -6,7 +6,7 @@ USER root
6 6
 COPY refspec_projects /root/refspec_projects
7 7
 RUN /bin/bash -c 'PKG="$(command -v dnf || command -v yum)"; \
8 8
     PKG_MGR="$(echo ${PKG:(-3)})"; \
9
-    if [ $PKG_MGR == "dnf" ]; then $PKG install python3-pip; PIP=pip3; else $PKG install python-pip; \
9
+    if [ $PKG_MGR == "dnf" ]; then $PKG install -y python3-pip; PIP=pip3; else $PKG install -y python-pip; \
10 10
     PIP=pip; fi; \
11 11
     cd /; \
12 12
     for X in $(ls /root/refspec_projects/*.tar.gz); do $PIP install $X; done; \

Loading…
Cancel
Save