From 2e8107bb01f36325a504906a235a1c15c9993375 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 5 Oct 2018 16:04:39 +0200 Subject: [PATCH] Dockerfile: pip installs using python2 -m Change-Id: If7c44df62fd5fa37a0c1c0e289e73e13f5c6aa14 Signed-off-by: garciadeblas --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c30bf91..9c78473 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ FROM ubuntu:16.04 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install git make wget python python-pip debhelper tox && \ - DEBIAN_FRONTEND=noninteractive pip install pip==9.0.3 && \ - DEBIAN_FRONTEND=noninteractive pip install -U pyang pyangbind && \ - DEBIAN_FRONTEND=noninteractive pip install -U stdeb + DEBIAN_FRONTEND=noninteractive python2 -m pip install pip==9.0.3 && \ + DEBIAN_FRONTEND=noninteractive python2 -m pip install -U pyang pyangbind && \ + DEBIAN_FRONTEND=noninteractive python2 -m pip install -U stdeb -- 2.17.1