summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-11-01 14:14:57 -0500
committerJohn Estabrook <jestabro@vyos.io>2022-11-01 14:22:00 -0500
commitd88b5cb120c021ffc599e95d606663b2f0a028fb (patch)
treea6c19dda653423bcf33a7d1a752f3fc00d0a0973 /docker/Dockerfile
parent64e77f12f66ce4031cf858fc1455e275b106d56e (diff)
downloadvyos-build-d88b5cb120c021ffc599e95d606663b2f0a028fb.tar.gz
vyos-build-d88b5cb120c021ffc599e95d606663b2f0a028fb.zip
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.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
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 \