Skip to content

Commit 4c43b49

Browse files
committed
Add linux-headers for Alpine seccomp build
1 parent 7997ecc commit 4c43b49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Install build tools (apk)
5050
if: contains(matrix.image, 'alpine')
5151
run: |
52-
apk add build-base git
52+
apk add build-base git linux-headers
5353
5454
- name: Install build tools (zypper)
5555
if: contains(matrix.image, 'opensuse')

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
178178
- name: Install tools (apk)
179179
if: contains(matrix.image, 'alpine')
180-
run: apk add build-base git file github-cli
180+
run: apk add build-base git file github-cli linux-headers
181181

182182
- name: Checkout
183183
uses: actions/checkout@v6
@@ -356,7 +356,7 @@ jobs:
356356
shell: sh
357357
steps:
358358
- name: Install tools
359-
run: apk add --no-cache git build-base abuild tar sudo github-cli
359+
run: apk add --no-cache git build-base abuild tar sudo github-cli linux-headers
360360

361361
- name: Mark workspace safe
362362
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

0 commit comments

Comments
 (0)