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
This commit is contained in:
parent
410408ef1b
commit
8f0c6bf141
@ -6,7 +6,7 @@ USER root
|
||||
COPY refspec_projects /root/refspec_projects
|
||||
RUN /bin/bash -c 'PKG="$(command -v dnf || command -v yum)"; \
|
||||
PKG_MGR="$(echo ${PKG:(-3)})"; \
|
||||
if [ $PKG_MGR == "dnf" ]; then $PKG install python3-pip; PIP=pip3; else $PKG install python-pip; \
|
||||
if [ $PKG_MGR == "dnf" ]; then $PKG install -y python3-pip; PIP=pip3; else $PKG install -y python-pip; \
|
||||
PIP=pip; fi; \
|
||||
cd /; \
|
||||
for X in $(ls /root/refspec_projects/*.tar.gz); do $PIP install $X; done; \
|
||||
|
Loading…
Reference in New Issue
Block a user