summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-05-07 10:30:15 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-07 10:51:19 +0000
commit053b292633a2f703c369ac9f02a348c1172ddb0e (patch)
treee9e10ffd96859bde3dfa3f1e5710b557b96fb3c8
parent17e09a5804259eb80df074f75fb86cc169759455 (diff)
downloadvyos-build-053b292633a2f703c369ac9f02a348c1172ddb0e.tar.gz
vyos-build-053b292633a2f703c369ac9f02a348c1172ddb0e.zip
T6311: Docker add dependency asciidoc-base for nftables
Add dependency `asciidob-base` for build nftables (cherry picked from commit ac1b06cf2c54e16547fef102e9e4245d5b4885bd)
-rw-r--r--docker/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 6c3ac888..21d4baa8 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -348,6 +348,10 @@ RUN apt-get update && apt-get install -y \
libnl-genl-3-dev \
libxtables-dev
+# Packages needed for nftables
+RUN apt-get update && apt-get install -y \
+ asciidoc-base
+
# Allow password-less 'sudo' for all users in group 'sudo'
RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \
echo "vyos_bld\tALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \