X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=Dockerfile;h=38adc2a1306a9b9a485216fcbc5e27fec6d51f51;hp=cccecdf4493c828ab2befa455399ab1485f9a1ea;hb=655815663bf8234c837793db7a5e2e3c50164d3f;hpb=5b8ac4faded6386d8e32751b689876c12800924b diff --git a/Dockerfile b/Dockerfile index cccecdf..38adc2a 100755 --- a/Dockerfile +++ b/Dockerfile @@ -44,9 +44,12 @@ RUN apt-get update \ curl \ iptables \ iputils-ping \ - sudo + sudo \ + vim # install containernet (using its Ansible playbook) +#RUN git clone https://github.com/containernet/containernet.git && \ +# (cd containernet && git checkout 6fcee82e192c8c0e6447650d6f512842185529ee) RUN git clone https://github.com/containernet/containernet.git WORKDIR /containernet/ansible RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install.yml @@ -61,6 +64,9 @@ RUN python setup.py develop # Hotfix: https://github.com/pytest-dev/pytest/issues/4770 RUN pip2 install "more-itertools<=5.0.0" +# Hotfix: Do not use latest tinyrpc lib, since it breaks Ryu +RUN pip2 install "tinyrpc==1.0.3" + # Important: This entrypoint is required to start the OVS service ENTRYPOINT ["/son-emu/utils/docker/entrypoint.sh"] CMD ["python", "examples/default_single_dc_topology.py"]