Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions containers/frr/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# See the OWNERS docs at https://www.kubernetes.dev/docs/guide/owners/
approvers:
- averdagu
- eduolivares
- karelyatin
- slawqo

reviewers:
- averdagu
- eduolivares
- karelyatin
- slawqo
19 changes: 19 additions & 0 deletions containers/frr/frr/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ARG BASE_IMAGE=localhost/openstack/openstack-base:latest

# RPM-only image: no Python source is built, package comes from the
# distro repos already enabled in the base image's rpms.repo.
FROM ${BASE_IMAGE}

LABEL summary="FRR (FRRouting)" \
io.k8s.description="FRR dynamic routing suite (bgpd/zebra/staticd/watchfrr) with kolla interface"

RUN uid_gid_manage frrvty frr

COPY frr/bindeps.txt /tmp/bindeps.txt
RUN pkgs=$(cat /tmp/bindeps.txt | grep -v '^#' | grep -v '^$' | tr '\n' ' ') && \
if [ -n "${pkgs}" ]; then microdnf -y install ${pkgs} && microdnf clean all && rm -rf /var/cache/dnf; fi && \
rm /tmp/bindeps.txt

RUN mkdir -p /var/lock/subsys && chown frr: /var/lock/subsys

USER frr
2 changes: 2 additions & 0 deletions containers/frr/frr/bindeps.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# FRR dynamic routing suite (bgpd, zebra, staticd, watchfrr, etc.)
frr
12 changes: 12 additions & 0 deletions containers/frr/rpms.in.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
contentOrigin:
repofiles:
- ./rpms.repo
context:
bare: true

arches:
- x86_64
- aarch64

packages:
- frr