From: jhh Date: Tue, 18 Feb 2020 18:33:42 +0000 (-0600) Subject: pip should point to pip3 in docker X-Git-Tag: 1.6.0~22 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F101928%2F1;p=policy%2Fdrools-pdp.git pip should point to pip3 in docker This causes a problem building the drools-pdp image, failing the actual merge operation and pushing a new image. Issue-ID: POLICY-2181 Signed-off-by: jhh Change-Id: Ibd6e3ddf469d4e56d330450fb2064200ce504740 --- diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile index 076a84b0..3653405b 100644 --- a/packages/docker/src/main/docker/Dockerfile +++ b/packages/docker/src/main/docker/Dockerfile @@ -28,6 +28,7 @@ RUN apt-get update \ file bash-completion \ net-tools netcat sudo \ && update-alternatives --install /usr/bin/python python /usr/bin/python3 0 \ + && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 \ && adduser policy sudo \ && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \ && pip install http-prompt