From: garciadeblas Date: Tue, 17 Apr 2018 15:22:46 +0000 (+0200) Subject: Updated Dockerfiles for MON and PM to use pip-9.0.3 X-Git-Tag: v4.0.0~13 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=811031fbbdb7fa80d298453bb6f53fffd391912e;p=osm%2FMON.git Updated Dockerfiles for MON and PM to use pip-9.0.3 Change-Id: I20b59fb87ffdd0e3715dc1f0e8e188deea34c542 Signed-off-by: garciadeblas --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 1963ede..e93bce5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -28,8 +28,8 @@ RUN apt-get --yes update \ && apt-get --yes install git python python-pip sudo libmysqlclient-dev libxext-dev libxrender-dev libxtst-dev \ && cd /root/ \ && git clone https://osm.etsi.org/gerrit/osm/MON MON \ - && pip install /root/MON \ - && pip install --upgrade pip \ - && pip install -r /root/MON/requirements.txt + && pip install pip==9.0.3 \ + && pip install -r /root/MON/requirements.txt \ + && pip install /root/MON -CMD /bin/bash /root/MON/docker/scripts/runInstall.sh \ No newline at end of file +CMD /bin/bash /root/MON/docker/scripts/runInstall.sh diff --git a/policy_module/Dockerfile b/policy_module/Dockerfile index aa882bc..8bb614b 100644 --- a/policy_module/Dockerfile +++ b/policy_module/Dockerfile @@ -29,8 +29,8 @@ ADD . /policy_module RUN apt-get --yes update \ && apt-get --yes install software-properties-common python-software-properties \ && apt-get --yes install git python python-pip sudo libmysqlclient-dev libxext-dev libxrender-dev libxtst-dev \ - && pip install /policy_module \ - && pip install --upgrade pip \ - && pip install -r /policy_module/requirements.txt + && pip install pip==9.0.3 \ + && pip install -r /policy_module/requirements.txt \ + && pip install /policy_module -CMD bash /policy_module/scripts/gen_config_from_env.sh && osm-policy-agent --config osm_policy_agent.cfg \ No newline at end of file +CMD bash /policy_module/scripts/gen_config_from_env.sh && osm-policy-agent --config osm_policy_agent.cfg