mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 10:32:00 +00:00
docker: Enable Lua (scripting) for Alpine images
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
74675f8d44
commit
9ad0c2f6b4
@ -18,7 +18,8 @@ makedepends="ncurses-dev net-snmp-dev gawk texinfo perl
|
|||||||
ncurses-libs ncurses-terminfo ncurses-terminfo-base patch pax-utils pcre2
|
ncurses-libs ncurses-terminfo ncurses-terminfo-base patch pax-utils pcre2
|
||||||
perl pkgconf python3 python3-dev readline readline-dev sqlite-libs pcre2-dev
|
perl pkgconf python3 python3-dev readline readline-dev sqlite-libs pcre2-dev
|
||||||
squashfs-tools sudo tar texinfo xorriso xz-libs py-pip rtrlib rtrlib-dev
|
squashfs-tools sudo tar texinfo xorriso xz-libs py-pip rtrlib rtrlib-dev
|
||||||
py3-sphinx elfutils elfutils-dev libyang-dev protobuf-c-compiler protobuf-c-dev"
|
py3-sphinx elfutils elfutils-dev libyang-dev protobuf-c-compiler protobuf-c-dev
|
||||||
|
lua5.3-dev lua5.3"
|
||||||
checkdepends="pytest py-setuptools"
|
checkdepends="pytest py-setuptools"
|
||||||
install="$pkgname.pre-install $pkgname.pre-deinstall $pkgname.post-deinstall"
|
install="$pkgname.pre-install $pkgname.pre-deinstall $pkgname.post-deinstall"
|
||||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
|
||||||
@ -47,7 +48,8 @@ build() {
|
|||||||
--enable-vty-group=frrvty \
|
--enable-vty-group=frrvty \
|
||||||
--enable-user=$_user \
|
--enable-user=$_user \
|
||||||
--enable-group=$_user \
|
--enable-group=$_user \
|
||||||
--enable-pcre2posix
|
--enable-pcre2posix \
|
||||||
|
--enable-scripting
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user