Fix container permission issues for apt operations
- Remove overly restrictive --cap-drop=ALL that blocks apt - Add --user=root to ensure proper permissions - Keep security-opt=no-new-privileges for basic security - Container should now be able to install packages successfully
This commit is contained in:
parent
7ce68ee36d
commit
3495b126c1
1 changed files with 3 additions and 3 deletions
|
|
@ -53,9 +53,9 @@ jobs:
|
|||
--shm-size=2g
|
||||
--tmpfs=/tmp:size=4g,exec
|
||||
--tmpfs=/var/tmp:size=2g,exec
|
||||
# Security and stability options
|
||||
# Security and stability options (relaxed for apt operations)
|
||||
--security-opt=no-new-privileges
|
||||
--cap-drop=ALL
|
||||
--user=root
|
||||
--ulimit=nofile=65536:65536
|
||||
--ulimit=nproc=32768:32768
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue