Skip to content

fix: make plugin-test work on alpine linux#1778

Merged
Stratus3D merged 2 commits intoasdf-vm:masterfrom
vic1707:patch-1
Dec 16, 2024
Merged

fix: make plugin-test work on alpine linux#1778
Stratus3D merged 2 commits intoasdf-vm:masterfrom
vic1707:patch-1

Conversation

@vic1707
Copy link
Copy Markdown
Contributor

@vic1707 vic1707 commented Sep 11, 2024

Summary

the alpine (busbox) version of mktemp expects templates to end with exactly 6 Xs whereas GNU want at least 3.

Bumping to 6 Xs allows alpine users to run the plugin-test command without installing the coreutils package first

Other Information

On alpine anything with less than 6 Xs is an error
image

On ubuntu it doesn't matter if its 4 or 6
image

It will also fix running the asdf-vm/actions/plugin-test actions on an alpine container (for now an apk add coreutils is required)
image

@vic1707 vic1707 requested a review from a team as a code owner September 11, 2024 15:58
@vic1707 vic1707 changed the title make plugin-test work on alpine linux fix: make plugin-test work on alpine linux Sep 11, 2024
@Stratus3D
Copy link
Copy Markdown
Member

Thanks for the PR @vic1707 ! I think this is worth merging.

@Stratus3D
Copy link
Copy Markdown
Member

Merging now as I've already got a fix for the failing build on #1806.

@Stratus3D Stratus3D merged commit f5a1f3a into asdf-vm:master Dec 16, 2024
@vic1707 vic1707 deleted the patch-1 branch December 16, 2024 21:45
Stratus3D added a commit that referenced this pull request Dec 18, 2024
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants