From: Eduardo Sousa Date: Thu, 6 Sep 2018 13:43:08 +0000 (+0100) Subject: Adding IM python3 dependencies X-Git-Tag: v5.0.0~38 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=425154ea99d39ae2673504e307390a4bf035dcf6;p=osm%2FRO.git Adding IM python3 dependencies Change-Id: Ib55fa999b79302833030e55d5e7b897d1e120bbd Signed-off-by: Eduardo Sousa --- diff --git a/Dockerfile b/Dockerfile index 0a7a1d42..6f2acac7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ FROM ubuntu:16.04 RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get -y install git make python python-pip debhelper && \ + DEBIAN_FRONTEND=noninteractive apt-get -y install git make python python-pip debhelper python3 python3-all python3-pip python3-setuptools && \ DEBIAN_FRONTEND=noninteractive apt-get -y install wget tox && \ DEBIAN_FRONTEND=noninteractive pip install pip==9.0.3 && \ + DEBIAN_FRONTEND=noninteractive pip3 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 pip3 install -U pyang pyangbind && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python-yaml python-netaddr python-boto && \ DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \ DEBIAN_FRONTEND=noninteractive add-apt-repository -y cloud-archive:queens && \ diff --git a/docker/Dockerfile-local b/docker/Dockerfile-local index 7d4c82b7..aad357c3 100644 --- a/docker/Dockerfile-local +++ b/docker/Dockerfile-local @@ -10,11 +10,13 @@ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \ DEBIAN_FRONTEND=noninteractive add-apt-repository -y cloud-archive:queens && \ apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get -y install git make python python-pip debhelper && \ + DEBIAN_FRONTEND=noninteractive apt-get -y install git make python python-pip debhelper python3 python3-all python3-pip python3-setuptools && \ DEBIAN_FRONTEND=noninteractive apt-get -y install wget tox && \ DEBIAN_FRONTEND=noninteractive pip install pip==9.0.3 && \ + DEBIAN_FRONTEND=noninteractive pip3 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 pip3 install -U pyang pyangbind && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python-yaml python-netaddr python-boto && \ DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python-novaclient python-keystoneclient python-glanceclient python-cinderclient python-neutronclient && \