Skip to content

Commit

Permalink
copy apparmor to path for sles
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshdaivajna committed Dec 8, 2023
1 parent 204e691 commit 12bc481
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ base-image:
RUN cp /sbin/apparmor_parser /usr/bin/apparmor_parser
END

IF [ "$OS_DISTRIBUTION" = "sles" ]
RUN cp /sbin/apparmor_parser /usr/bin/apparmor_parser
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 12bc481

Please sign in to comment.