Date created: 05/25/22 15:23:36. Last modified: 05/25/22 15:40:54

Dockerfile

Example Dockerfile to package BIRD 2.0.9 into an Ubuntu based container:

FROM ubuntu:20.04

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive && \
# System packages:
apt-get install -y --no-install-recommends ca-certificates wget iputils-ping iproute2 vim less && \
# BIRD requirements:
apt-get install -y gcc binutils m4 make perl flex bison && \
wget https://bird.network.cz/download/bird-2.0.9.tar.gz && \
tar -zxvf bird-2.0.9.tar.gz && \
rm bird-2.0.9.tar.gz && \
cd bird-2.0.9 && \
./configure --disable-client --prefix=/opt/bird && \
make install && \
apt autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Installed as:
# /opt/bird/sbin/bird
# /opt/bird/sbin/birdcl

 


Previous page: BIRD Commands
Next page: Example BIRD Config