summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-07-05 12:20:09 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-07-05 12:20:09 -0500
commit745a348bd155dd5778cdda177f6a463e9f86ae54 (patch)
tree18f9754890361bee76ef97a497a6ec3ce948a17d
parent337c69ce798124b31f3549ea5604119bd8cd0eb3 (diff)
downloadvyos-build-745a348bd155dd5778cdda177f6a463e9f86ae54.tar.gz
vyos-build-745a348bd155dd5778cdda177f6a463e9f86ae54.zip
T3663: build python3-inotify package using stdeb
-rw-r--r--docker/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index b3e98bc..6428ccf 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -319,10 +319,17 @@ RUN apt-get update && apt-get install -y \
python3-netifaces \
python3-jinja2 \
python3-psutil \
+ python3-stdeb \
+ python3-all \
python3-coverage \
quilt \
whois
+Run git clone https://github.com/dsoprea/PyInotify.git /tmp/inotify && \
+ cd /tmp/inotify && \
+ python3 setup.py --command-packages=stdeb.command bdist_deb && \
+ sudo dpkg -i ./deb_dist/python3-inotify*.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 \