Hello everyone,

below you find an initial version of a Dockerfile allowing to build
images for bird directly from the git repository.

It can be used as follows:

--------------------------------------------------------------------------------
VERSION=v2.0.12
docker build  -t docker-bird:$VERSION --build-arg VERSION=$VERSION .
--------------------------------------------------------------------------------

Or if you want to (re-)build the images for some older versions:

--------------------------------------------------------------------------------
for VERSION in v2.0.10 v2.0.11 v2.0.12 v3.0-alpha2; do
    docker build -t docker-bird:$VERSION --build-arg VERSION=$VERSION .;
done
--------------------------------------------------------------------------------

And then you can run all the different birds in different versions:

--------------------------------------------------------------------------------
for VERSION in v2.0.12 v2.0.10 v2.0.11 v3.0-alpha2; do
    docker run -ti docker-bird:$VERSION --version;
done
BIRD version v2.0.12
BIRD version 2.0.10-0-gb867c798
BIRD version v2.0.11
BIRD version v3.0-alpha2
--------------------------------------------------------------------------------

I chose to use alpine as the target, because it's small and what we use 
everyday,
adjusting the dockerfile for glibc/debian or similar should be easy.
If hosting this officially I suggest the usual convention of providing -alpine 
and -debian
based tags.

I haven taken the liberty to push the generated images to harbor.k8s.ungleich.ch
for the moment to make them available for anyone, thus you can run above images 
directly
using:

--------------------------------------------------------------------------------
for VERSION in v2.0.10 v2.0.11 v2.0.12 v3.0-alpha2; do
    docker run -ti 
harbor.k8s.ungleich.ch/ungleich-public/bird:${VERSION}-alpine --version
done
--------------------------------------------------------------------------------

Maria/Ondrej, are you interested to build/host these images as official images?

Best regards,

Nico

p.s.: I used alpine 3.18.0 to avoid CVEs present in 3.17 from libcrypto 3.0.7

Attachment: Dockerfile
Description: Binary data



Maria Matejka <[email protected]> writes:

> Hello!
>
> The right command is
>
> autoreconf -i && ./configure && make
>
> Maria
>
> On 12 May 2023 20:46:37 CEST, Nico Schottelius <[email protected]> 
> wrote:
>
>  Hey Maria,
>
> I am currently trying to give it a shot of creating a Dockerfile, but
> building bird from git using
>
>          autoconf && ./configure
>
> fails with
>
> checking for rl_ding in -lreadline... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: error: cannot find input file: `sysdep/autoconf.h.in'
>
> I have that error both on master and v3.0-alpha2, my build environment
> is Alpine Linux.
>
> If you can hint me on how to fix this, I might be able to provide a
> Dockerfile for provding docker images for bird.
>
> Best regards,
>
> Nico
>
> Maria Matejka <[email protected]> writes:
>
>   Hello!
>
>  No, we don't publish Docker images. We'll consider it, yet I can't promise 
> any timeline now. We are used to different methods of
>  virtualization and Docker has been under our radar.
>
>  Best Regards,
>  Maria
>
>  On 12 May 2023 19:34:52 CEST, Nico Schottelius via Bird-users 
> <[email protected]> wrote:
>
>   Hello Ondrej,
>
>  do you by any chance publish docker images? We run a lot of routers
>  inside k8s and I could give bird 3.0 a try in some network partitions
>  easily if we had something we can use as a container.
>
>  Best regards,
>
>  Nico
>
>  Ondrej Filip <[email protected]> writes:
>
>    [[PGP Signed Part:Undecided]]
>   Dear BIRD Users,
>   we are releasing another alpha version of BIRD 3. We've found some
>   annoying bugs and fixed some usability issues as well as several
>   issues with BIRD crashing. We also added a simple work balancing
>   algorithm between threads. MRT is still switched off, BMP is not
>   merged; they will get into some future alpha version.
>
>   Measured performance in BGP is approx. 6-10x better (with 20 threads)
>   than version 2.13, depending on the actual configuration. Kernel
>   synchronization is slow with a large number of routes; we will look
>   into it soon.
>
>   If you have some time for trying this version out, we would love to
>   hear your feedback.
>
>   I thank my colleagues and namely Maria for this release!
>
>   Cheers
>       Ondrej
>
>   [[End of PGP Signed Part]]


--
Sustainable and modern Infrastructures by ungleich.ch

Reply via email to