fix(docker): prevent privilege regain after bootstrap

Co-authored-by: yu-xin-c <175149126+yu-xin-c@users.noreply.github.com>
This commit is contained in:
Xubin Renandyu-xin-c committed 2026-08-13 02:13:51 +09:00
1 parent 3741ecda0b
commit b571d3b9ff
3 files changed
+56 -8

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ x-common-config: &common-config
- CHOWN
- SETGID
- SETUID
# Prevent the non-root process from regaining capabilities through setuid
# binaries or file capabilities left inside the container image.
security_opt:
- no-new-privileges:true
services:
nanobot-gateway: