Files
vpp-containerlab/Dockerfile.bookworm
2025-05-03 13:30:04 +02:00

17 lines
619 B
Docker

FROM debian:bookworm
ARG DEBIAN_FRONTEND=noninteractive
ARG VPP_INSTALL_SKIP_SYSCTL=true
ARG REPO=release
RUN apt-get update
RUN apt-get -y install curl procps tcpdump iproute2 iptables binutils \
bridge-utils iputils-ping netcat-traditional net-tools nmap \
python3 python3-dev python3-pip
RUN mkdir -p /var/log/vpp
RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.deb.sh | bash
RUN apt-get update
RUN apt-get -y install vpp vpp-plugin-core
RUN apt-get -y clean
COPY files/startup.conf /etc/vpp/startup.conf
COPY files/*.vpp /etc/vpp/
CMD ["/usr/bin/vpp","-c","/etc/vpp/startup.conf"]