pip should point to pip3 in docker 28/101928/1
authorjhh <jorge.hernandez-herrero@att.com>
Tue, 18 Feb 2020 18:33:42 +0000 (12:33 -0600)
committerjhh <jorge.hernandez-herrero@att.com>
Tue, 18 Feb 2020 18:33:42 +0000 (12:33 -0600)
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 <jorge.hernandez-herrero@att.com>
Change-Id: Ibd6e3ddf469d4e56d330450fb2064200ce504740

packages/docker/src/main/docker/Dockerfile

index 076a84b..3653405 100644 (file)
@@ -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