Skip to content

Add support for short SELinux relabel flags on bind mounts#108

Merged
m-ildefons merged 1 commit into
hadolint:masterfrom
eyupcanakman:feat/run-mount-selinux-short-relabel
Jun 8, 2026
Merged

Add support for short SELinux relabel flags on bind mounts#108
m-ildefons merged 1 commit into
hadolint:masterfrom
eyupcanakman:feat/run-mount-selinux-short-relabel

Conversation

@eyupcanakman

Copy link
Copy Markdown
Contributor

Add support for the short SELinux relabel flags z and Z on bind mounts. They reuse the existing Relabel AST, so the pretty-printer normalizes them to relabel=shared/relabel=private.

related-to: hadolint/hadolint#974

Map the bare z/Z mount options to the existing shared and private
relabel forms.

related-to: hadolint/hadolint#974
@m-ildefons

Copy link
Copy Markdown
Member

Thanks for the PR.

@m-ildefons m-ildefons merged commit e262ffe into hadolint:master Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants