From 80ed2ef0ed4e29dede7c1d929184097ec898f006 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Tue, 16 Apr 2024 08:38:49 -0400 Subject: [PATCH] install libbpf in the controller image --- dist/docker-images/ziti-controller/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dist/docker-images/ziti-controller/Dockerfile b/dist/docker-images/ziti-controller/Dockerfile index 83e093562..e529b5e75 100644 --- a/dist/docker-images/ziti-controller/Dockerfile +++ b/dist/docker-images/ziti-controller/Dockerfile @@ -16,6 +16,10 @@ LABEL name="openziti/ziti-controller" \ # set up image as root, then drop privs to ziggy USER root +RUN INSTALL_PKGS="util-linux libbpf" && \ + microdnf -y update --setopt=install_weak_deps=0 --setopt=tsflags=nodocs && \ + microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS} + # used by entrypoint.bash to source the bootstrapping script in this image ENV ZITI_CTRL_BOOTSTRAP_BASH=/bootstrap.bash