21 lines
751 B
Docker
21 lines
751 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 startup.conf /etc/vpp/startup.conf
|
|
COPY bootstrap.vpp /etc/vpp/bootstrap.vpp
|
|
COPY manual-pre.vpp /etc/vpp/manual-pre.vpp
|
|
COPY clab.vpp /etc/vpp/clab.vpp
|
|
COPY manual-post.vpp /etc/vpp/manual-post.vpp
|
|
CMD ["/usr/bin/vpp","-c","/etc/vpp/startup.conf"]
|
|
|