You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The orb uses the --gunzip option with tar but that is unsupported in Alpine's version of tar. It does however support -z. This should be updated to use the more compatible parameter.
Hello @FriedCircuits . Supporting golang in Alpine turned to be harder than expected because of the following:
The available binaries in the golang release page do not include a binary of golang compatible with the Alpine filesystem, in particular with the muslibc implementation of C.
Adding Alpine, or a specific Linux distribution, logic to this orb would be out of scope given that Linux distributions might have some dependencies installed or not.
If using Alpine I would rather recommend installing the tool using apk add go.
Once installed you can use other commands available in this orb.
Thanks for the reply. I tried to use apk first but Alpine ships an older version of go. Using the orb was a last resort. Alpine has the short form of those options vs the full name. I used the script from the orb and changed those options and it works fine.
The orb uses the
--gunzip
option with tar but that is unsupported in Alpine's version oftar
. It does however support-z
. This should be updated to use the more compatible parameter.See:
go-orb/src/scripts/install.sh
Line 26 in 6ed27bc
Error is
tar: unrecognized option: gunzip
Thanks.
Edit:
Also the same for
--no-same-owner
should be-o
.The text was updated successfully, but these errors were encountered: