From: yadavmr Date: Tue, 19 Nov 2019 12:32:23 +0000 (+0530) Subject: Adding missing python3 packages for build in osmclient's dockerfile for jenkins X-Git-Tag: v7.0.0rc1~37 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F8194%2F1;p=osm%2Fdevops.git Adding missing python3 packages for build in osmclient's dockerfile for jenkins Change-Id: I2a89209a3d936e0d108edec7cd8ce578af070cfa Signed-off-by: yadavmr --- diff --git a/docker/osmclient/Dockerfile b/docker/osmclient/Dockerfile index 6afddbba..95515ec2 100644 --- a/docker/osmclient/Dockerfile +++ b/docker/osmclient/Dockerfile @@ -25,9 +25,10 @@ RUN apt-get update && apt-get -y install curl software-properties-common RUN apt-get update && apt-get -y install python \ libcurl4-gnutls-dev libgnutls-dev iputils-ping python-pip \ - python-openstackclient wget + python-openstackclient wget python3-pip RUN pip install -U pip && python -m pip install python-magic pyangbind pytest==4.6.3 +RUN python3 -m pip install -U pip && python3 -m pip install pyyaml python-magic pyangbind pytest==4.6.3 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian ARG RELEASE=ReleaseFOUR-daily @@ -41,8 +42,8 @@ ARG OSMCLIENT_VERSION ARG DEVOPS_VERSION ARG IM_VERSION -RUN apt-get update && apt-get -y install osm-devops${DEVOPS_VERSION} python-osmclient${OSMCLIENT_VERSION} python-osm-im${IM_VERSION} - +RUN apt-get update && apt-get -y install osm-devops${DEVOPS_VERSION} python-osm-im${IM_VERSION} +RUN apt-get -y install python3-osm-im${IM_VERSION} python3-osmclient${OSMCLIENT_VERSION} ENV OSM_SOL005=True ENV OSM_HOSTNAME=nbi:9999 ENV OSM_RO_HOSTNAME=ro:9090