From 77176357da9ef13766e84e1254af40122849c1da Mon Sep 17 00:00:00 2001 From: Rishi Anand Date: Fri, 15 Sep 2023 09:23:31 -0700 Subject: [PATCH] PE-2605 Adding apparmor-parser as se_linux is disabled (#56) --- Earthfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Earthfile b/Earthfile index 1f7ee38..48f13ee 100644 --- a/Earthfile +++ b/Earthfile @@ -266,6 +266,13 @@ base-image: RUN zypper cc && \ zypper clean END + + IF [ "$OS_DISTRIBUTION" = "opensuse-leap" ] + RUN zypper install -y apparmor-parser apparmor-profiles + RUN zypper cc && \ + zypper clean + END + IF [ "$ARCH" = "arm64" ] RUN mkdir -p /etc/luet/repos.conf.d && luet repo add spectro --type docker --url gcr.io/spectro-dev-public/luet-repo-arm --priority 1 -y && luet repo update ELSE IF [ "$ARCH" = "amd64" ]