Update tests and NBI Dockerfile to patch pyangbing and install libmagic1
[osm/devops.git] / docker / NBI / Dockerfile
index 51f273f..d09ee05 100644 (file)
@@ -53,6 +53,9 @@ RUN pip3 install \
     -r /usr/lib/python3/dist-packages/osm_im/requirements.txt \
     -r /usr/lib/python3/dist-packages/osm_nbi/requirements.txt
 
+COPY pyangbind.patch ./
+RUN patch /usr/local/lib/python3.10/dist-packages/pyangbind/lib/yangtypes.py < ./pyangbind.patch
+
 #######################################################################################
 FROM ubuntu:22.04 as FINAL