[DEVOPS] Fix building pipeline failing for both linux and windows build
The linux build stage fails with the error
fuse: device not found, try 'modprobe fuse' first
When linuxdeploy
is called
A related issue is this: https://github.com/s3fs-fuse/s3fs-fuse/issues/647
A brief from the discussion is:
- Either run docker with
--privileged
- Or run it with
--cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined
to allow the container to use the fuse device without priviledged access (which is way safer)