Skip to content

Commit

Permalink
containers: add a workaround for missing SELinux on macOS with podman
Browse files Browse the repository at this point in the history
Hopefully, this is only a temporary solution as noted by podman upstream
in containers/podman#13631 (comment).
  • Loading branch information
lzaoral committed Jul 19, 2023
1 parent 846e256 commit 6141219
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions containers/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ test_build_env() (

# test if *-compose is installed
command -v podman-compose

if [[ -n "$IS_PODMAN" ]] && [[ "$OSTYPE" = *darwin* ]] && grep ':z$' compose.yaml; then
echo "podman on macOS does not support SELinux labeling at the moment."
echo "Please, remove them from compose.yaml and execute this script again."
exit 1
fi
)


Expand Down

0 comments on commit 6141219

Please sign in to comment.