feat(shell): add gnutar so GNU-tar install scripts work#61
Merged
Conversation
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 <noreply@anthropic.com>
ggrosseveurgg
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add the
gnutarpackage to theshellimage, providing/usr/bin/taras GNU tar (shadowing the busyboxtarapplet).Why
The image only shipped busybox tar. Many
curl | bashinstallers pass an empty-string argument to tar that GNU tar tolerates but busybox does not. Concretely, Railway's official installer (railway.com/install.sh) runs:With busybox tar that fails at extraction:
This is the second blocker (after #60 added
getconf) preventing theshellimage from running the public Railway installer in CI.Verification (linux/amd64)
Replicating the post-merge image (
posix-libc-utils+gnutar) inwolfi-base:Before (busybox tar):
tar: : not found in archive.🤖 Generated with Claude Code