feat: add back container policy hardening

This commit is contained in:
qoijjj
2024-05-16 13:18:12 -07:00
committed by GitHub
parent 459acc2fb5
commit c4b73ca409
2 changed files with 7 additions and 0 deletions

View File

@@ -4,4 +4,5 @@ scripts:
- setfilepermissions.sh
- disablesealertpopups.sh
- homebrewanalyticsoptout.sh
- hardencontainerpolicy.sh
- httpsmirrors.sh

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
sed -i 's/insecureAcceptAnything/reject/' /usr/etc/containers/policy.json