aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/script/build.sh
blob: b8962ec989e0cea1d0be1a524b482fd3e3bf0148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

source vars

bin=vpp-data/bin
lib=vpp-data/lib

mkdir -p ${bin} ${lib} || true

cp ${VPP_WS}/build-root/build-vpp_debug-native/vpp/bin/* ${bin}
cp -r ${VPP_WS}/build-root/build-vpp_debug-native/vpp/lib/x86_64-linux-gnu/* ${lib}

docker build -t hs-test/vpp -f Dockerfile.vpp .
docker build -t hs-test/nginx-ldp -f Dockerfile.nginx .