-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/tools/cmd/getgo: installer does not work on alpine using sh #21264
Comments
set -e SHELL=sh on the container |
Thanks! I didn't realize it was getting the name from
|
so the point of the installer is to mod the rc file for the shell so we
should probably add sh but also this is mainly geared towards people
setting up their dev env and i dont know how common sh will be
…On Wed, Aug 23, 2017 at 3:03 PM, Sam Whited ***@***.***> wrote:
Thanks! I didn't realize it was getting the name from $SHELL. Either way,
sh does not appear to be supported sadly:
"/bin/sh" is not a supported shell
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21264 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYNbGg4VWdtqinvf86MgVisafDo-o9zks5sbHeUgaJpZM4OqT7s>
.
--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu <http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3>
|
The fact is that Also rc file isn't mandatory by POSIX spec, so I see the installer only support I think a more friendly approach is printing all the export lines, and convince the user to export them when start the shell (when the shell is not |
I ran in that problem while creating a Docker with the latest version of Go. Somehow, the
Then it worked as expected. |
Closing - |
What version of Go are you using (
go version
)?None yet, trying to install it!
What operating system and processor architecture are you using (
go env
)?Linux amd64
What did you do?
What did you expect to see?
Go installed (or at least
"sh" is not a supported shell
if bourne shells are required or something similar)What did you see instead?
"" is not a supported shell
The text was updated successfully, but these errors were encountered: