From 31760be37260ec7d374717c3ee28b388d63e633e Mon Sep 17 00:00:00 2001 From: Charles Brossollet Date: Wed, 24 Jun 2026 12:17:23 +0200 Subject: [PATCH] feat(shell): add gnutar so GNU-tar install scripts work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shell image only shipped busybox tar, which aborts on the empty-string argument that common `curl | bash` installers pass to tar. Railway's install.sh, for example, runs `tar "${flags}" -xzf ...` where `flags` comes from `flags=$(test -n)` and is always empty — so it executes `tar "" -xzf`. GNU tar ignores the empty arg; busybox tar treats it as a missing archive member and fails with `tar: : not found in archive`. Adding `gnutar` provides `/usr/bin/tar` as GNU tar (shadowing the busybox applet), unblocking those installers. Verified on linux/amd64: `wolfi-base` + `posix-libc-utils` + `gnutar` runs `curl -fsSL https://railway.com/install.sh | bash` to completion (`railway 5.20.0`), whereas with busybox tar it failed at extraction. Co-Authored-By: Claude Opus 4.8 --- images/shell/prod.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/images/shell/prod.yaml b/images/shell/prod.yaml index f5d4f5c..e3f15c0 100644 --- a/images/shell/prod.yaml +++ b/images/shell/prod.yaml @@ -9,6 +9,7 @@ contents: - dockerize - gettext - glibc-locale-posix + - gnutar - jq - netcat-openbsd - posix-libc-utils