Initial config for a bare-bones VPP container lab image
This commit is contained in:
20
Dockerfile.bookworm
Normal file
20
Dockerfile.bookworm
Normal file
@ -0,0 +1,20 @@
|
||||
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"]
|
||||
|
Reference in New Issue
Block a user