Allow filtering ports by device_id
[osm/vim-emu.git] / Dockerfile
index 84fa586..4b8627a 100755 (executable)
@@ -27,6 +27,7 @@
 FROM ubuntu:xenial
 
 ENV SON_EMU_IN_DOCKER 1
+ENV PIP_DEFAULT_TIMEOUT=100
 
 # install required packages
 RUN apt-get clean
@@ -42,6 +43,7 @@ RUN apt-get update \
     ansible \
     curl \
     iptables \
+    iputils-ping \
     sudo
 
 # install containernet (using its Ansible playbook)
@@ -56,11 +58,9 @@ RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install.
 WORKDIR /son-emu
 RUN python setup.py develop
 
-WORKDIR /
-
 # Important: This entrypoint is required to start the OVS service
 ENTRYPOINT ["/son-emu/utils/docker/entrypoint.sh"]
-CMD ["python", "son-emu/examples/default_single_dc_topology.py"]
+CMD ["python", "examples/default_single_dc_topology.py"]
 
 # open ports for emulator APIs
 # SONATA GK