hs-test: optimize size of docker image

Copy necessary only plugins in docker image

Type: improvement

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I5f60a8a1ccbbe099ac60774562dc5901f3b4fbed
diff --git a/extras/hs-test/Dockerfile.vpp b/extras/hs-test/Dockerfile.vpp
index e72c581..45b6287 100644
--- a/extras/hs-test/Dockerfile.vpp
+++ b/extras/hs-test/Dockerfile.vpp
@@ -6,9 +6,15 @@
     vim gdb \
  && rm -rf /var/lib/apt/lists/*
 
-COPY vpp-data/lib/vat2_plugins/ /usr/lib/vat2_plugins/
-COPY vpp-data/lib/vpp_api_test_plugins/ /usr/lib/vpp_api_test_plugins/
-COPY vpp-data/lib/vpp_plugins/ /usr/lib/x86_64-linux-gnu/vpp_plugins/
+ENV DIR=vpp-data/lib/vpp_plugins
+COPY \
+   $DIR/af_packet_plugin.so \
+   $DIR/hs_apps_plugin.so \
+   $DIR/http_plugin.so \
+   $DIR/unittest_plugin.so \
+   $DIR/quic_plugin.so \
+   /usr/lib/x86_64-linux-gnu/vpp_plugins/
+
 COPY vpp-data/bin/* /usr/bin/
 COPY vpp-data/lib/* /usr/lib/
 
diff --git a/extras/hs-test/utils.go b/extras/hs-test/utils.go
index e23ea81..f3b7ffa 100644
--- a/extras/hs-test/utils.go
+++ b/extras/hs-test/utils.go
@@ -39,11 +39,13 @@
 }
 
 plugins {
-	plugin unittest_plugin.so { enable }
-    plugin dpdk_plugin.so { disable }
-    plugin crypto_aesni_plugin.so { enable }
-    plugin quic_plugin.so { enable }
-    plugin crypto_ipsecmb_plugin.so { disable }
+  plugin default { disable }
+
+  plugin unittest_plugin.so { enable }
+  plugin quic_plugin.so { enable }
+  plugin af_packet_plugin.so { enable }
+  plugin hs_apps_plugin.so { enable }
+  plugin http_plugin.so { enable }
 }
 
 `