Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine Does Not Support B64 Decode Long Flag #353

Closed
tgoodsell-tempus opened this issue Feb 17, 2023 · 2 comments
Closed

Alpine Does Not Support B64 Decode Long Flag #353

tgoodsell-tempus opened this issue Feb 17, 2023 · 2 comments

Comments

@tgoodsell-tempus
Copy link

In the latest version of Alpine, it does not support the base64 --decode option:

➜ docker run --rm -it alpine:latest /bin/sh
/ # base64 --help
BusyBox v1.35.0 (2022-11-19 10:13:10 UTC) multi-call binary.

Usage: base64 [-d] [-w COL] [FILE]

Base64 encode or decode FILE to standard output

	-d	Decode data
	-w COL	Wrap lines at COL (default 76, 0 disables)

Therefore, using the additional_private_registries option crashes the alpine image. Since ubuntu support both -d and --decode, using d should fix this.

@tgoodsell-tempus tgoodsell-tempus changed the title Alpine Does Not Support B64 Decode Alpine Does Not Support B64 Decode Full Flag Feb 17, 2023
@tgoodsell-tempus tgoodsell-tempus changed the title Alpine Does Not Support B64 Decode Full Flag Alpine Does Not Support B64 Decode Long Flag Feb 17, 2023
@tgoodsell-tempus
Copy link
Author

#352 Is the fix for this.

@mstandley-tempus
Copy link
Contributor

To help others find this issue, here is the console output associated with this problem:

base64: unrecognized option: decode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants