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/?p=osm%2FIM.git;a=commitdiff_plain;h=refs%2Fheads%2Fv4.0;hp=477fa2f4507530b53044183cedd69addf92449c1 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