summaryrefslogtreecommitdiffstats
path: root/alpine
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-04-08 17:00:20 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-04-08 20:04:07 +0200
commit9ad0c2f6b4227d73f01c8f7fe9a7422987b9f031 (patch)
tree83e915c3778e337f4a348ab0c7169c8891e7aff2 /alpine
parentbuild: Take LUA_LIBS from pkg-config (diff)
downloadfrr-9ad0c2f6b4227d73f01c8f7fe9a7422987b9f031.tar.xz
frr-9ad0c2f6b4227d73f01c8f7fe9a7422987b9f031.zip
docker: Enable Lua (scripting) for Alpine images
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'alpine')
-rw-r--r--alpine/APKBUILD.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/alpine/APKBUILD.in b/alpine/APKBUILD.in
index 676f9a7a3..fd3c02f47 100644
--- a/alpine/APKBUILD.in
+++ b/alpine/APKBUILD.in
@@ -18,7 +18,8 @@ makedepends="ncurses-dev net-snmp-dev gawk texinfo perl
ncurses-libs ncurses-terminfo ncurses-terminfo-base patch pax-utils pcre2
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
- 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"
install="$pkgname.pre-install $pkgname.pre-deinstall $pkgname.post-deinstall"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
@@ -47,7 +48,8 @@ build() {
--enable-vty-group=frrvty \
--enable-user=$_user \
--enable-group=$_user \
- --enable-pcre2posix
+ --enable-pcre2posix \
+ --enable-scripting
make -j $(nproc)
}