python3-osm-rovim-openstack${RO_VERSION} python3-osm-rovim-openvim${RO_VERSION} \
python3-osm-rovim-vmware${RO_VERSION}
-# ensure right version is installed as pyhton3-ccryptography install an old version
+# ensure right version is installed as python3-cryptography install an old version
+# Since release 3.4 of python3-cryptography rust is an dependency
+
+RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libssl-dev libffi-dev \
+ python3-dev cargo
+
RUN python3 -m pip install --upgrade "cryptography>=2.5"
VOLUME /var/log/osm
CMD curl --silent --fail http://localhost:9090/ro || exit 1
# CMD curl --silent --fail localhost:9090/openmano/tenants || exit 1
# CMD /usr/bin/RO-start.sh
-CMD python3 -m osm_ng_ro.ro_main
+CMD ["python3", "-u", "-m", "osm_ng_ro.ro_main"]