X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FNBI%2FDockerfile;h=9b9ccde24e3a521708a8a75c25c803e8daf4c8b8;hb=794fa72d51b56931596d9c93330d97be69966e47;hp=51f273f8aa781d9f8ccab175e805e80ab9747681;hpb=02feb8ef9ae5f545a111759cbbe9f01b1741cc85;p=osm%2Fdevops.git diff --git a/docker/NBI/Dockerfile b/docker/NBI/Dockerfile index 51f273f8..9b9ccde2 100644 --- a/docker/NBI/Dockerfile +++ b/docker/NBI/Dockerfile @@ -33,7 +33,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ && rm -rf /var/lib/apt/lists/* ####################################################################################### -# End of common prepration +# End of common preparation ARG PYTHON3_OSM_COMMON_URL ARG PYTHON3_OSM_IM_URL @@ -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 @@ -71,7 +74,7 @@ COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-package COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages ####################################################################################### -# End of common prepration +# End of common preparation RUN rm -f /etc/apt/apt.conf.d/proxy.conf