diff options
Diffstat (limited to 'test/scripts/Dockerfile')
| -rw-r--r-- | test/scripts/Dockerfile | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/test/scripts/Dockerfile b/test/scripts/Dockerfile index 9e6fe20f80..4501dd279e 100644 --- a/test/scripts/Dockerfile +++ b/test/scripts/Dockerfile @@ -1,7 +1,24 @@ ARG IMAGE=ghcr.io/mullvad/mullvadvpn-app-build:latest FROM $IMAGE +ENV OPENSSL_STATIC=1 \ + OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu \ + OPENSSL_INCLUDE_DIR=/usr/include/openssl \ + TEST_MANAGER_STATIC=1 + RUN rustup target add x86_64-pc-windows-gnu RUN apt-get update && apt-get install -y \ - mtools pkg-config libssl-dev libpcap-dev + mtools pkg-config libssl-dev + +RUN git clone https://github.com/the-tcpdump-group/libpcap.git +RUN apt-get install -y autoconf flex bison + +RUN cd libpcap \ + && ./autogen.sh \ + && ./configure --enable-remote=yes --enable-dbus=no --enable-shared=no \ + && make \ + && make install + +RUN rm -rf libpcap +RUN apt-get remove -y autoconf flex bison |
