&& 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
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