diff options
author | Quentin Young <qlyoung@nvidia.com> | 2021-08-30 01:33:34 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@nvidia.com> | 2021-08-30 17:38:01 +0200 |
commit | 661d41c183597dfaf3ed972822e3d94c48ab5784 (patch) | |
tree | 7dfe8a551c4b90907be54ee38571a02d4c14df25 /alpine | |
parent | Merge pull request #9503 from opensourcerouting/ospf6d-redistribute-metrics (diff) | |
download | frr-661d41c183597dfaf3ed972822e3d94c48ab5784.tar.xz frr-661d41c183597dfaf3ed972822e3d94c48ab5784.zip |
docker: build libyang2 along with FRR
Alpine images have been broken for some time because libyang2 is not
available in Alpine. This patch updates our Dockerfile to build a
libyang2 APK and install it into the image to satisfy FRR's libyang2
dependency.
Unfortunately, libyang2 erroneously includes an internal header from
glibc, making it dependent on glibc to build. FRR's official Docker
images are based on Alpine, which only offers musl libc. Until libyang2
fixes this problem, the libyang2 source that is installed in this image
is a patched version that is compatible with musl libc and not an
official version.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'alpine')
-rw-r--r-- | alpine/APKBUILD.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/APKBUILD.in b/alpine/APKBUILD.in index e6776cb3a..138ec4f1d 100644 --- a/alpine/APKBUILD.in +++ b/alpine/APKBUILD.in @@ -13,7 +13,7 @@ makedepends="ncurses-dev net-snmp-dev gawk texinfo perl expat fakeroot flex fortify-headers gdbm git gmp isl json-c-dev kmod lddtree libacl libatomic libattr libblkid libburn libbz2 libc-dev libcap-dev libcurl libedit libffi libgcc libgomp libisoburn libisofs - libltdl libressl libssh2 libstdc++ libtool libuuid libyang-dev + libltdl libressl libssh2 libstdc++ libtool libuuid linux-headers lzip lzo m4 make mkinitfs mpc1 mpfr4 mtools musl-dev ncurses-libs ncurses-terminfo ncurses-terminfo-base patch pax-utils pcre perl pkgconf python3 python3-dev readline readline-dev sqlite-libs |