chore: temporary privileged container probe
This commit is contained in:
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
name: Probe3
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
probe:
|
||||
runs-on: arch-host
|
||||
timeout-minutes: 10
|
||||
container:
|
||||
image: docker.io/library/archlinux:latest
|
||||
options: --privileged
|
||||
steps:
|
||||
- name: Conteneur privilégié ?
|
||||
run: |
|
||||
echo "image: $(grep PRETTY_NAME /etc/os-release)"
|
||||
echo "capsh: $(grep CapEff /proc/self/status)"
|
||||
pacman -Sy --noconfirm --needed git curl jq >/dev/null 2>&1 && echo "INSTALL-OK" || echo "INSTALL-KO"
|
||||
command -v git curl jq pacman
|
||||
if mount -t tmpfs tmpfs /mnt 2>&1; then echo "PRIV-MOUNT-OK"; umount /mnt; else echo "PRIV-MOUNT-KO"; fi
|
||||
losetup -f 2>&1 | head -1
|
||||
Reference in new issue
Block a user