X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=Dockerfile;h=81aa58769138f47973d4e6ddb5265ad63ee25f59;hp=97b2aad74382ff6ed40557e83829238032624cef;hb=8e9b59b6dc191adfeb8eb4f3050bb6642e9278b3;hpb=6503ba9fcbe13ca73c94d318157a1ba78ef26b5b diff --git a/Dockerfile b/Dockerfile index 97b2aad..81aa587 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,11 @@ RUN python3 setup.py develop RUN pip3 install "tinyrpc==1.0.3" RUN pip3 install wheel --upgrade +# Force python3 +RUN mv /usr/bin/python /usr/bin/python2 && \ + ln -s /usr/bin/python3 /usr/bin/python && \ + ln -s /usr/bin/pip3 /usr/bin/pip + # Important: This entrypoint is required to start the OVS service ENTRYPOINT ["/vim-emu/utils/docker/entrypoint.sh"] CMD ["python3", "examples/default_single_dc_topology.py"]