From 10879c2c45ac231d89c25cde42e812515ad9b7be Mon Sep 17 00:00:00 2001 From: Travis Thieman Date: Mon, 9 Mar 2026 15:35:04 -0400 Subject: [PATCH] Switch bash comparison test image to debian:bookworm-slim bash:5.2 uses Alpine/BusyBox head which lacks GNU long-form flags (--lines=N, --bytes=N, --silent). debian:bookworm-slim is an official Docker image (1B+ pulls) with GNU bash 5.2 and GNU coreutils 9.1, giving byte-for-byte GNU compatibility without BusyBox limitations. Co-Authored-By: Claude Sonnet 4.6 --- tests/scenarios_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenarios_test.go b/tests/scenarios_test.go index 875bf93c..e3240c32 100644 --- a/tests/scenarios_test.go +++ b/tests/scenarios_test.go @@ -26,7 +26,7 @@ import ( "github.com/DataDog/rshell/interp" ) -const dockerBashImage = "bash:5.2" +const dockerBashImage = "debian:bookworm-slim" // scenario represents a single test scenario. type scenario struct {