Skip to content

Commit 4167a51

Browse files
author
Andras Fekete
committed
Add in 'udp-proxy'
1 parent 568bf35 commit 4167a51

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Docker/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ USER root
55

66
ARG DEPS_WOLFSSL="build-essential autoconf libtool clang clang-tools zlib1g-dev libuv1-dev libpam0g-dev valgrind git linux-headers-generic gcc-multilib g++-multilib libpcap-dev bubblewrap gdb iputils-ping lldb bsdmainutils netcat binutils-arm-linux-gnueabi binutils-aarch64-linux-gnu"
77
ARG DEPS_LIBOQS="astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz python3-yaml valgrind git"
8+
ARG DEPS_UDP_PROXY="wget libevent-dev"
89
ARG DEPS_TESTS="abi-dumper libcurl4-openssl-dev tcpdump"
910
RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y apt-utils \
10-
&& apt install -y ${DEPS_WOLFSSL} ${DEPS_LIBOQS} ${DEPS_TESTS} \
11+
&& apt install -y ${DEPS_WOLFSSL} ${DEPS_LIBOQS} ${DEPS_UDP_PROXY} ${DEPS_TESTS} \
1112
&& apt clean -y && rm -rf /var/lib/apt/lists/*
1213

1314
ARG USER=docker
@@ -29,6 +30,9 @@ RUN cd /opt/sources && git clone --single-branch https://github.com/cisco/hash-s
2930
RUN mkdir /var/empty
3031
RUN cd /opt/sources && wget -q -O- https://roumenpetrov.info/secsh/src/pkixssh-14.1.1.tar.gz | tar xzf - && cd pkixssh-14.1.1 && ./configure --prefix=/opt/pkixssh/ --exec-prefix=/opt/pkixssh/ && make install
3132

33+
# Install udp/tcp-proxy
34+
RUN cd /opt/sources && git clone --depth=1 --single-branch --branch=main http://github.com/wolfssl/udp-proxy && cd udp-proxy && make && cp tcp_proxy udp_proxy /bin/.
35+
3236
# Allow non-root to use tcpdump (will need NET_RAW and NET_ADMIN capability when running the container)
3337
RUN setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/tcpdump
3438

0 commit comments

Comments
 (0)