From d88b5cb120c021ffc599e95d606663b2f0a028fb Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 1 Nov 2022 14:14:57 -0500 Subject: Docker: T4791: python3-humps now a build dependency for vyos-1x nosetest On importing humps.decamelize in vyos/opmode.py, python3-pyhumps becomes a build dependency for the test test_op_mode.py. Create the package in the Docker image. --- docker/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 02311fc8..71ba81ad 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -335,6 +335,11 @@ Run git clone https://github.com/dsoprea/PyInotify.git /tmp/inotify && \ python3 setup.py --command-packages=stdeb.command bdist_deb && \ sudo dpkg -i ./deb_dist/python3-inotify*.deb +Run git clone https://github.com/nficano/humps.git /tmp/humps && \ + cd /tmp/humps && git checkout v3.8.0 && \ + python3 setup.py --command-packages=stdeb.command bdist_deb; cp deb_dist/*.deb .. && \ + dpkg -i /tmp/python3-pyhumps_*_all.deb + # Packages needed for vyos-1x-xdp package, gcc-multilib is not available on # arm64 but required by XDP RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \ -- cgit v1.2.3