X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=Dockerfile;h=a15ddc94f1fa1aded7a03879ed541dc4d5de0578;hp=4b8627a4c06bf66428a6d8fd30d48c8559b253f6;hb=d87400255e1997f85b9cdebc583811b70cca4ab7;hpb=4e5c81ecd37e7383c52dad55079f91b90dec22fe diff --git a/Dockerfile b/Dockerfile index 4b8627a..a15ddc9 100755 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,9 @@ RUN apt-get update \ sudo # install containernet (using its Ansible playbook) -RUN git clone https://github.com/containernet/containernet.git +# Attention: Containernet installation fixed to specific commit. Change to update to latest Containernet version. +RUN git clone https://github.com/containernet/containernet.git && \ + (cd containernet && git checkout 6fcee82e192c8c0e6447650d6f512842185529ee) WORKDIR /containernet/ansible RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install.yml @@ -58,6 +60,9 @@ RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install. WORKDIR /son-emu RUN python setup.py develop +# Hotfix: https://github.com/pytest-dev/pytest/issues/4770 +RUN pip2 install "more-itertools<=5.0.0" + # 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"]