-RUN apt-get update && apt-get -y install python \
- libcurl4-gnutls-dev libgnutls-dev iputils-ping python-pip \
- python-openstackclient wget
-RUN pip install -U pip && python -m pip install python-magic pyangbind pytest==4.6.3
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install wget python3 python3-pip \
+ libcurl4-openssl-dev libssl-dev python3-openstackclient
+
+RUN python3 -m pip install -U pip && python3 -m pip install pyyaml python-magic pyangbind pytest==4.6.3 verboselogs