Skip to content

Draft: Add source-build Dockerfile for FRR container images#3560

Closed
jbemmel wants to merge 1 commit into
ipspace:devfrom
jbemmel:frr-dockerfile
Closed

Draft: Add source-build Dockerfile for FRR container images#3560
jbemmel wants to merge 1 commit into
ipspace:devfrom
jbemmel:frr-dockerfile

Conversation

@jbemmel

@jbemmel jbemmel commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Enable netlab clab build frr to compile FRR from GitHub sources on debian:trixie-slim, matching the layout and startup of the official image.

This allows us to test the latest features and bug fixes, like that EVPN IPv6 issue

I tried enabling the wait-for-dataplane logic such that the MPLS label setting gets applied before Zebra starts, but the workflow for FRR is different; initial uses vtysh which requires FRR to be running.

"Solved" in the Dockerfile for now, pending possible refactoring.

devices/frr/Dockerfile.j2 might be a better location for this?

Enable netlab clab build frr to compile FRR from GitHub sources on
debian:trixie-slim, matching the layout and startup of the official image.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ipspace

ipspace commented Jul 2, 2026

Copy link
Copy Markdown
Owner

What's wrong with https://blog.ipspace.net/2026/04/frr-pr-testing/

@jbemmel

jbemmel commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

What's wrong with https://blog.ipspace.net/2026/04/frr-pr-testing/

Well, it takes 5 minutes versus 2 for my build script, and I was anticipating putting in other things like Wireguard. But you're right that there are other ways to achieve the same - hence 'Draft'

@ipspace

ipspace commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Well, it takes 5 minutes versus 2 for my build scriptđ

I would still prefer the "official" build process, plus you can start the build from any commit in their repo.

and I was anticipating putting in other things like Wireguard.

For that, create your own Dockerfile, start with the official FRR container and add stuff. I don't think that needs to be integrated into netlab.

But you're right that there are other ways to achieve the same - hence 'Draft'

👍

@ipspace ipspace closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants