Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
corest committed Feb 7, 2024
1 parent fc9e278 commit d71baa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
file: ./modules/Dockerfile.all
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64,darwin
platforms: linux/amd64,linux/arm64,darwin/amd64,darwin/arm64

upload-modules-to-s3:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion modules/Dockerfile.all
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build container with all available modules
FROM alpine:3.18
FROM debian:bookworm-slim

COPY ko/*.ko /tmp/modules/
COPY scripts/load-all-modules.sh /opt/scripts/load-all-modules.sh
Expand Down
3 changes: 2 additions & 1 deletion modules/scripts/load-all-modules.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

apk add kmod
apt update
apt install kmod -y

for f in $(ls /tmp/modules/*.ko); do
kernel_version=$(echo $f | sed -E 's/.*pf-ring-(.*)\.ko/\1/');
Expand Down

0 comments on commit d71baa5

Please sign in to comment.