Skip to content

Commit

Permalink
PE-2605 Adding apparmor-parser as se_linux is disabled (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-anand authored Sep 15, 2023
1 parent 0e25f70 commit 7717635
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 7717635

Please sign in to comment.