summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/Dockerfile.vpp
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-01-11 10:58:58 +0100
committerFlorin Coras <florin.coras@gmail.com>2023-01-11 19:23:22 +0000
commit058237e5811ab0b2d2ffb119228349737dea4a54 (patch)
tree723adfbafdcb274c9674b9812983b139fe3b521e /extras/hs-test/Dockerfile.vpp
parentf719adfa8970d2e530b0303889d2bbee7cf859db (diff)
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
Diffstat (limited to 'extras/hs-test/Dockerfile.vpp')
-rw-r--r--extras/hs-test/Dockerfile.vpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/extras/hs-test/Dockerfile.vpp b/extras/hs-test/Dockerfile.vpp
index e72c581c142..45b6287cdbd 100644
--- a/extras/hs-test/Dockerfile.vpp
+++ b/extras/hs-test/Dockerfile.vpp
@@ -6,9 +6,15 @@ RUN apt-get update \
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/