summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-07-21 20:48:08 +0200
committerChristian Breunig <christian@breunig.cc>2025-07-21 20:48:08 +0200
commita9a552bb4411b9f039f0ac6bf3fcb3ec38f59da0 (patch)
tree51a18c5f92526bec10fe803a18ada107e8bc292d /docker/Dockerfile
parentd59967adf99d46d23ca3be132ad13c4d67ebdcc4 (diff)
downloadvyos-build-a9a552bb4411b9f039f0ac6bf3fcb3ec38f59da0.tar.gz
vyos-build-a9a552bb4411b9f039f0ac6bf3fcb3ec38f59da0.zip
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.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile15
1 files changed, 14 insertions, 1 deletions
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 \