Skip to content

Commit

Permalink
Add in 'libbacktrace'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Aug 8, 2024
1 parent e1502e7 commit 3fd05e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ RUN cd /opt/sources && wget -q -O- https://roumenpetrov.info/secsh/src/pkixssh-1
# Install udp/tcp-proxy
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/.

RUN git clone --depth=1 --single-branch https://github.com/ianlancetaylor/libbacktrace.git && cd libbacktrace && mkdir build && cd build && ../configure && make && make install

# Allow non-root to use tcpdump (will need NET_RAW and NET_ADMIN capability when running the container)
RUN setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/tcpdump
# Allow non-root to use gdb on processes (will need SYS_PTRACE capability when running the container)
Expand Down

0 comments on commit 3fd05e6

Please sign in to comment.