T6311: Docker add dependency asciidoc-base for nftables

Add dependency `asciidob-base` for build nftables
This commit is contained in:
Viacheslav Hletenko 2024-05-07 10:30:15 +00:00
parent dc0bcca3cf
commit ac1b06cf2c

View File

@ -351,6 +351,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 && \