]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(alpine-busybox): alpine container with busybox
authorJo Zzsi <jozzsicsataban@gmail.com>
Thu, 8 Jan 2026 02:20:54 +0000 (21:20 -0500)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Thu, 8 Jan 2026 18:58:50 +0000 (13:58 -0500)
The coreutils binaries are not installed and only busybox
binaries are available.

This container is meant to prevent regressions when running
basic test with busybox.

.github/workflows/container.yml
test/container/Dockerfile-alpine-busybox [new file with mode: 0644]

index 8c251467ac4e450a8c2203bd6a9bd50bf32b8320..d7c152732ef80fe51066e114b4a5082ac745846c 100644 (file)
@@ -42,6 +42,7 @@ jobs:
                     - {dockerfile: 'Dockerfile-debian', tag: 'ubuntu:devel'}
                     - {dockerfile: 'Dockerfile-debian', tag: 'ubuntu:rolling'}
                     - {dockerfile: 'Dockerfile-alpine', tag: 'alpine:edge'}
+                    - {dockerfile: 'Dockerfile-alpine-busybox', tag: 'alpine-busybox:edge'}
                     - {dockerfile: 'Dockerfile-void', tag: 'void:latest'}
                 exclude:
                     - config: {tag: 'arch:latest'}
diff --git a/test/container/Dockerfile-alpine-busybox b/test/container/Dockerfile-alpine-busybox
new file mode 100644 (file)
index 0000000..bbd1198
--- /dev/null
@@ -0,0 +1,18 @@
+# Tiny container with busybox
+# GNU coreutils should not be installed
+
+FROM docker.io/alpine:edge
+
+RUN apk add --no-cache \
+    bash \
+    e2fsprogs \
+    eudev \
+    findmnt \
+    gcc \
+    grep \
+    kmod-dev \
+    linux-virt \
+    make \
+    musl-dev  \
+    musl-fts-dev \
+    qemu-system-$(uname -m)