From 341a554b3a8904bce2c8b881d4077dd62e8ad4f4 Mon Sep 17 00:00:00 2001 From: Matthias Tafelmeier Date: Fri, 24 Nov 2023 11:37:30 +0100 Subject: [PATCH] no extra full install of pyroute2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2ff24b3..1c90920 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN set -ex \ RUN /bin/bash -c "git clone https://github.com/cherusk/pyroute2.git \ && pushd pyroute2 \ && git checkout origin/ss2_patch_class_level_data \ - && python3 setup.py install \ + && cp pyroute2/netlink/diag/ss2.py /usr/local/lib/python3.7/site-packages/pyroute2-0.7.8-py3.7.egg/pyroute2/netlink/diag/ss2.py \ && popd \ && rmdir --ignore-fail-on-non-empty pyroute2"