From: garciadeblas Date: Fri, 5 Oct 2018 14:04:39 +0000 (+0200) Subject: Dockerfile: pip installs using python2 -m X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2e8107bb01f36325a504906a235a1c15c9993375;p=osm%2FIM.git Dockerfile: pip installs using python2 -m Change-Id: If7c44df62fd5fa37a0c1c0e289e73e13f5c6aa14 Signed-off-by: garciadeblas --- 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