diff options
author | Christian Hopps <chopps@labn.net> | 2021-08-06 10:04:58 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2021-09-04 15:04:46 +0200 |
commit | a3cecfb608d0ca7b6f94828f7adb9d03a77250df (patch) | |
tree | 885b1ed021fdf97530c69d9ae0f436202925550e /docker | |
parent | doc: minor update based on mininet removal (diff) | |
download | frr-a3cecfb608d0ca7b6f94828f7adb9d03a77250df.tar.xz frr-a3cecfb608d0ca7b6f94828f7adb9d03a77250df.zip |
docker: update with micronet changes
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/ubuntu18-ci/Dockerfile | 16 | ||||
-rw-r--r-- | docker/ubuntu20-ci/Dockerfile | 16 |
2 files changed, 18 insertions, 14 deletions
diff --git a/docker/ubuntu18-ci/Dockerfile b/docker/ubuntu18-ci/Dockerfile index 766f06dfc..07a5a2f7e 100644 --- a/docker/ubuntu18-ci/Dockerfile +++ b/docker/ubuntu18-ci/Dockerfile @@ -6,16 +6,18 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn RUN apt update && \ apt-get install -y \ git autoconf automake libtool make libreadline-dev texinfo \ - pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \ - libc-ares-dev python3-dev python-ipaddress python3-sphinx \ + pkg-config libpam0g-dev libjson-c-dev bison flex python3-pip \ + libc-ares-dev python3-dev python3-sphinx \ install-info build-essential libsnmp-dev perl libcap-dev \ libelf-dev \ sudo gdb iputils-ping time \ - mininet python-pip iproute2 iperf && \ - pip install ipaddr && \ - pip install "pytest<5" && \ - pip install "scapy>=2.4.2" && \ - pip install exabgp==3.4.17 + python-pip net-tools iproute2 && \ + python3 -m pip install wheel && \ + python3 -m pip install pytest && \ + python3 -m pip install pytest-xdist && \ + 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 && \ groupadd -r -g 85 frrvty && \ diff --git a/docker/ubuntu20-ci/Dockerfile b/docker/ubuntu20-ci/Dockerfile index b5df98f23..032db8b8e 100644 --- a/docker/ubuntu20-ci/Dockerfile +++ b/docker/ubuntu20-ci/Dockerfile @@ -6,21 +6,23 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn RUN apt update && \ apt-get install -y \ git autoconf automake libtool make libreadline-dev texinfo \ - pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \ - libc-ares-dev python3-dev python-ipaddress python3-sphinx \ + pkg-config libpam0g-dev libjson-c-dev bison flex python3-pip \ + libc-ares-dev python3-dev python3-sphinx \ install-info build-essential libsnmp-dev perl \ libcap-dev python2 libelf-dev \ sudo gdb curl iputils-ping time \ libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \ 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 && \ python2 /tmp/get-pip.py && \ rm -f /tmp/get-pip.py && \ - pip2 install ipaddr && \ - pip2 install "pytest<5" && \ - pip2 install "scapy>=2.4.2" && \ - pip2 install exabgp==3.4.17 + python3 -m pip install wheel && \ + python3 -m pip install pytest && \ + python3 -m pip install pytest-xdist && \ + 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 && \ groupadd -r -g 85 frrvty && \ |