Closed qlyoung closed 5 years ago
@ajones-rvbd could you take a quick look at this? I'll try to reproduce on a more mainstream stretch
system soon since I know Raspbian has some quirks, but I suspect this is generalized to regular stretch
as well.
Edit: It fails on Ubuntu as well.
Looks like we'll need to add libyang
to Alpine as well, to get this working cleanly.
Was a solution ever found for this issue?
Also bumping up on this. I tried the binary docker build from https://hub.docker.com/r/ajones17/frr/, but its 3mo out of date.
I too get this error when I tried building my docker container via Dockerfile. When I issue ./configure on my CLI, it works fine. However, when I have this command in Dockerfile and when I tried building docker image, I get the above error.
checking for res_init in -lresolv... no checking for CARES (libcares)... yes checking for LIBYANG (libyang >= 0.16.7)... no configure: error: libyang (>= 0.16.7) was not found on your system.
Any known solution to move forward ?
I think the only good solution for this would be to have a libyang package in Alpine Linux. There is a relatively longstanding bug at https://bugs.alpinelinux.org/issues/9133 for this.
I have just opened https://github.com/alpinelinux/aports/pull/6840 to address this, let's see if we can make any progress. :slightly_smiling_face:
Things you may try first
(put "x" in "[ ]" if you already tried following)
Description
Building Docker container with steps documented here fails.
Steps to Reproduce
root@raspberrypi:/home/pi/frr# docker build --rm -f docker/alpine/Dockerfile -t frr:latest .
Expected behavior: Docker image builds successfully
Actual behavior:
Components
build
Versions
git master