summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-02-18 12:33:42 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-02-18 12:33:42 -0600
commitac05ba7429cc31fbc2299f3b9823c19bc07a8b3a (patch)
tree929ea81aaab70a14e5472c9296c7bac32eabc7ee
parent6aad6f374b8e239e7cd4a468fce0d85d90637857 (diff)
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 <jorge.hernandez-herrero@att.com> Change-Id: Ibd6e3ddf469d4e56d330450fb2064200ce504740
-rw-r--r--packages/docker/src/main/docker/Dockerfile1
1 files changed, 1 insertions, 0 deletions
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