From a9a552bb4411b9f039f0ac6bf3fcb3ec38f59da0 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 21 Jul 2025 20:48:08 +0200 Subject: Docker: T7648: add additional vyos-1x build dependencies In order to run pylint and check for missing import statements we need to install additional build dependencies. --- docker/Dockerfile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 2733a32a..5a4e1db2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -91,7 +91,8 @@ RUN apt-get update && apt-get install -y \ openssh-client \ jq \ socat \ - python-is-python3 + python-is-python3 \ + apt-transport-https # Packages needed for vyos-build RUN apt-get update && apt-get install -y \ @@ -203,6 +204,11 @@ RUN wget https://salsa.debian.org/klausenbusk-guest/debootstrap/commit/a9a603b17 # FPM is used when generation Debian pckages for e.g. Intel QAT drivers RUN gem install --no-document fpm +# Add vyos package repo +COPY vyos-dev.list /etc/apt/sources.list.d/vyos-dev.list +COPY vyos-dev.key /usr/share/keyrings/vyos-dev-archive-keyring.gpg +RUN apt-key add /usr/share/keyrings/vyos-dev-archive-keyring.gpg + # Packages needed for vyos-1x RUN pip --no-cache --no-cache-dir install --break-system-packages \ git+https://github.com/aristanetworks/j2lint.git@341b5d5db86 \ @@ -235,6 +241,13 @@ RUN pip --no-cache --no-cache-dir install --break-system-packages \ python3-protobuf \ python3-tabulate \ python3-zmq \ + python3-vici \ + python3-fastapi \ + python3-pyudev \ + python3-systemd \ + python3-certbot-nginx \ + python3-pam \ + python3-dbus \ pylint \ quilt \ whois \ -- cgit v1.2.3