Allow ptrace for Alpine static build

This commit is contained in:
Anton Kochkov 2021-01-20 13:28:19 +08:00 committed by Riccardo Schirone
parent a0be4e2e64
commit ed8988fce0

View file

@ -356,7 +356,9 @@ jobs:
name: Build static
if: contains(github.head_ref, 'dist') || contains(github.head_ref, 'static') || contains(github.ref, 'release-') || github.event_name == 'schedule'
runs-on: ubuntu-20.04
container: alpine:edge
container:
image: alpine:edge
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
steps:
- name: Install dependencies
run: apk add --no-cache git gcc g++ linux-headers cmake curl wget unzip py3-wheel py3-setuptools py3-pip meson ninja xz cabextract