aboutsummaryrefslogtreecommitdiff
path: root/Containerfile.networking
blob: c0accd96f2554f11d97d388e9752eecc3ae14238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM alpine:latest

# Install all networking tools we need
RUN apk update && \
    apk add --no-cache \
        iproute2 \
        iproute2-tc \
        nftables \
        bpftool \
        clang \
        llvm \
        linux-headers \
        build-base \
        git \
        python3 \
        py3-pip \
        bash \
        curl \
        tcpdump \
        iperf3 \
        netcat-openbsd \
        bind-tools \
    && rm -rf /var/cache/apk/*

# Set bash as default shell
SHELL ["/bin/bash", "-c"]

# Verify tools are working
RUN tc --version && \
    ip --version && \
    bpftool version || echo "bpftool not available but continuing" && \
    clang --version

WORKDIR /work
ENTRYPOINT ["/bin/bash"]