Skip to content

Commit b97965a

Browse files
JayjeetAtGithubpitrou
authored andcommitted
ARROW-14516: [CI] Disable privileged mode for Docker runs
Closes #11626 from JayjeetAtGithub/bugfix/remove-privileged-ci Authored-by: Jayjeet Chakraborty <jc.github@rediffmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
1 parent 01b4caa commit b97965a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker-compose.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,13 @@ services:
329329
llvm: ${LLVM}
330330
gcc_version: ${GCC_VERSION}
331331
shm_size: *shm-size
332+
cap_add:
333+
- SYS_ADMIN
334+
devices:
335+
- "/dev/fuse:/dev/fuse"
336+
security_opt:
337+
- apparmor:unconfined
332338
ulimits: *ulimits
333-
privileged: true
334339
environment:
335340
<<: *ccache
336341
ARROW_ENABLE_TIMING_TESTS: # inherit

0 commit comments

Comments
 (0)