netconf-pnp-simulator: fix supervisor patching failure 96/109596/4
authorebo <eliezio.oliveira@est.tech>
Fri, 26 Jun 2020 11:51:06 +0000 (12:51 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 2 Jul 2020 13:35:52 +0000 (13:35 +0000)
Issue-ID: INT-1639
Change-Id: I28980712fc4b4bff6100ba97489958c0428be26d
Signed-off-by: ebo <eliezio.oliveira@est.tech>
test/mocks/netconf-pnp-simulator/engine/Dockerfile
test/mocks/netconf-pnp-simulator/engine/container-tag.yaml

index 3afca4b..fb91d00 100644 (file)
@@ -168,7 +168,8 @@ ENV PYTHONPATH=/opt/lib/python3.7/site-packages
 COPY patches/supervisor/ /usr/src/patches/supervisor/
 
 RUN set -eux \
-      && pip install loguru supervisor supervisor virtualenv \
+      # the patches for supervisor package only work for 4.1 release
+      && pip install --no-cache-dir loguru supervisor==4.1.0 virtualenv \
       && cd /usr/local/lib/python3.7/site-packages \
       && for p in /usr/src/patches/supervisor/*.patch; do patch -p1 -i $p; done