Updated Dockerfiles and postinst for RO and LCM to use pip-9.0.3
Also replaces apt by apt-get in Dockerfiles
Change-Id: I54c8c45745e0550878d05f3c386ea7d633b50786
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/docker/Dockerfile-local b/docker/Dockerfile-local
index caf104b..67a3ca9 100644
--- a/docker/Dockerfile-local
+++ b/docker/Dockerfile-local
@@ -12,7 +12,7 @@
DEBIAN_FRONTEND=noninteractive add-apt-repository -y cloud-archive:ocata && \
DEBIAN_FRONTEND=noninteractive apt-get -y install git make python python-pip debhelper && \
DEBIAN_FRONTEND=noninteractive apt-get -y install wget tox && \
- DEBIAN_FRONTEND=noninteractive pip install -U pip && \
+ DEBIAN_FRONTEND=noninteractive pip install pip==9.0.3 && \
DEBIAN_FRONTEND=noninteractive pip install -U setuptools setuptools-version-command stdeb && \
DEBIAN_FRONTEND=noninteractive pip install -U pyang pyangbind && \
DEBIAN_FRONTEND=noninteractive apt-get -y install python-yaml python-netaddr python-boto && \