summaryrefslogtreecommitdiffhomepage
path: root/test/scripts/Dockerfile
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-08-14 09:29:38 +0200
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-08-14 10:51:41 +0200
commitc487ae59daf6d924cf853e7829ddb95d931772d9 (patch)
treec5bad5978a75aedf9316bee61a6141875dddcdfa /test/scripts/Dockerfile
parentce5b989473dafef31adf51105041381227ab0ff3 (diff)
downloadmullvadvpn-c487ae59daf6d924cf853e7829ddb95d931772d9.tar.xz
mullvadvpn-c487ae59daf6d924cf853e7829ddb95d931772d9.zip
Add script for building test framework artifacts
Pass `TEST_MANAGER_STATIC` when building the `test-manager` crate to have it link statically against `libpcap`. This is optional, but building the with the provided container will produce a statically linked binary.
Diffstat (limited to 'test/scripts/Dockerfile')
-rw-r--r--test/scripts/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scripts/Dockerfile b/test/scripts/Dockerfile
index bf2a08e90e..4501dd279e 100644
--- a/test/scripts/Dockerfile
+++ b/test/scripts/Dockerfile
@@ -3,7 +3,8 @@ FROM $IMAGE
ENV OPENSSL_STATIC=1 \
OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu \
- OPENSSL_INCLUDE_DIR=/usr/include/openssl
+ OPENSSL_INCLUDE_DIR=/usr/include/openssl \
+ TEST_MANAGER_STATIC=1
RUN rustup target add x86_64-pc-windows-gnu