diff options
Diffstat (limited to 'test/scripts')
| -rw-r--r-- | test/scripts/Dockerfile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/scripts/Dockerfile b/test/scripts/Dockerfile index 9e6fe20f80..bf2a08e90e 100644 --- a/test/scripts/Dockerfile +++ b/test/scripts/Dockerfile @@ -1,7 +1,23 @@ 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 + 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 |
