-
Notifications
You must be signed in to change notification settings - Fork 0
Build Custom Docker Image
All standard images corresponding to Dockerfiles in Docker-Images are already published on Docker Hub (
kathara/*): https://hub.docker.com/u/kathara.
This page only covers building custom local images (for example, custom versions or local variants) that are not pushed to Docker Hub.
- Docker installed and running
- Git installed
git clone git@github.com:KatharaFramework/Docker-Images.git
cd Docker-ImagesUse this procedure when you need a local image for a software version that is not provided as a ready-made Dockerfile in the repository.
- For BIRD, copy an existing version file as a custom starting point:
cp bird2/Dockerfile-2.15.1 bird2/Dockerfile-2.17.1-custom- Edit
bird2/Dockerfile-2.17.1-customand update the pinned package in theapt installline:
# before
bird2=2.15.1-cznic.1~jammy
# after (example target version)
bird2=2.17.1-cznic.1~jammyNote: You can check available versions of BIRD (1/2/3) packages on the official Launchpad repository.
- Build the custom image locally:
docker build -f bird2/Dockerfile-2.17.1-custom -t kathara/bird2:2.17.1-custom bird2- Verify the local image:
docker images | grep "kathara/bird2"For OpenBGPD package versions, refer to Debian Tracker. If you need a custom
local OpenBGPD image, use the same copy/edit/build flow with the openbgpd Dockerfile and a custom local tag.
In the dashboard route server settings, set Docker Image to your local tag (for example,
kathara/bird2:2.17.1-custom).
If you need help with custom images, please contact us or directly open an issue on the Docker-Images repository.