File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 19
19
runs-on : ubuntu-latest
20
20
container :
21
21
image : ghcr.io/bb-ur/umf-${{ matrix.os }}:latest
22
- options : --privileged
22
+ options : --user test_user --cap-add=SYS_NICE --cap-add=SYS_ADMIN --cap-add=CAP_SYS_RESOURCE --cap-add=CAP_SETUID --cap-add=CAP_KILL --cap-add=SYS_PTRACE --cgroupns=host
23
23
volumes :
24
24
- ${{ github.workspace }}:${{ github.workspace }}
25
25
strategy :
@@ -157,7 +157,6 @@ jobs:
157
157
158
158
- name : Install oneAPI basekit
159
159
if : matrix.compiler.cxx == 'icpx'
160
- # Installing via script to avoid installing multi-line bash command by root
161
160
run : |
162
161
echo "${USERPASS}" | sudo -Sk ./.github/scripts/install_oneAPI.sh
163
162
Original file line number Diff line number Diff line change 17
17
runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-22.04' }}
18
18
container :
19
19
image : ghcr.io/bb-ur/umf-${{ matrix.os }}:latest
20
- options : --user test_user --privileged
20
+ options : --user test_user --cap-add=SYS_NICE --cap-add=SYS_ADMIN --cap-add=CAP_SYS_RESOURCE --cap-add=CAP_SETUID --cap-add=CAP_KILL --cap-add=SYS_PTRACE --cgroupns=host
21
21
volumes :
22
22
- ${{ github.workspace }}:${{ github.workspace }}
23
23
strategy :
You can’t perform that action at this time.
0 commit comments