-
Notifications
You must be signed in to change notification settings - Fork 160
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
feat(lang): Set PATH in envd #1127
Comments
Currently in envd, environment variable is set by passing arguments to docker client. Line 44 in 8776a25
This means |
Yep. It does not work. We need to implement the substitution in envd by ourselves, like buildkit docker frontend does. |
It is not in high priority I think. We have a workaround def build():
shell("zsh")
install_golang_1_18_4()
def install_golang_1_18_4():
run(
[
"wget https://go.dev/dl/go1.18.4.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz",
]
)
# Make PATH substitution in another run enable wget cache.
run([
'echo "export PATH=$PATH:/usr/local/go/bin" >> /home/envd/.bashrc',
'echo "export PATH=$PATH:/usr/local/go/bin" >> /home/envd/.zshrc',
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Ref #1103
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: