docker: update with micronet changes

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2021-08-06 04:04:58 -04:00
parent 77f3acb45e
commit a3cecfb608
2 changed files with 18 additions and 14 deletions

View File

@ -6,16 +6,18 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
RUN apt update && \ RUN apt update && \
apt-get install -y \ apt-get install -y \
git autoconf automake libtool make libreadline-dev texinfo \ git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \ pkg-config libpam0g-dev libjson-c-dev bison flex python3-pip \
libc-ares-dev python3-dev python-ipaddress python3-sphinx \ libc-ares-dev python3-dev python3-sphinx \
install-info build-essential libsnmp-dev perl libcap-dev \ install-info build-essential libsnmp-dev perl libcap-dev \
libelf-dev \ libelf-dev \
sudo gdb iputils-ping time \ sudo gdb iputils-ping time \
mininet python-pip iproute2 iperf && \ python-pip net-tools iproute2 && \
pip install ipaddr && \ python3 -m pip install wheel && \
pip install "pytest<5" && \ python3 -m pip install pytest && \
pip install "scapy>=2.4.2" && \ python3 -m pip install pytest-xdist && \
pip install exabgp==3.4.17 python3 -m pip install "scapy>=2.4.2" && \
python3 -m pip install xmltodict && \
python2 -m pip install 'exabgp<4.0.0'
RUN groupadd -r -g 92 frr && \ RUN groupadd -r -g 92 frr && \
groupadd -r -g 85 frrvty && \ groupadd -r -g 85 frrvty && \

View File

@ -6,21 +6,23 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
RUN apt update && \ RUN apt update && \
apt-get install -y \ apt-get install -y \
git autoconf automake libtool make libreadline-dev texinfo \ git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \ pkg-config libpam0g-dev libjson-c-dev bison flex python3-pip \
libc-ares-dev python3-dev python-ipaddress python3-sphinx \ libc-ares-dev python3-dev python3-sphinx \
install-info build-essential libsnmp-dev perl \ install-info build-essential libsnmp-dev perl \
libcap-dev python2 libelf-dev \ libcap-dev python2 libelf-dev \
sudo gdb curl iputils-ping time \ sudo gdb curl iputils-ping time \
libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \ libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \
lua5.3 liblua5.3-dev \ lua5.3 liblua5.3-dev \
mininet iproute2 iperf && \ net-tools iproute2 && \
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \
python2 /tmp/get-pip.py && \ python2 /tmp/get-pip.py && \
rm -f /tmp/get-pip.py && \ rm -f /tmp/get-pip.py && \
pip2 install ipaddr && \ python3 -m pip install wheel && \
pip2 install "pytest<5" && \ python3 -m pip install pytest && \
pip2 install "scapy>=2.4.2" && \ python3 -m pip install pytest-xdist && \
pip2 install exabgp==3.4.17 python3 -m pip install "scapy>=2.4.2" && \
python3 -m pip install xmltodict && \
python2 -m pip install 'exabgp<4.0.0'
RUN groupadd -r -g 92 frr && \ RUN groupadd -r -g 92 frr && \
groupadd -r -g 85 frrvty && \ groupadd -r -g 85 frrvty && \