-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[v2] Use bash by default in the Docker container #918
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
Comments
In my experience it just uses your login shell. Could you try |
vscode also has a setting to override the default shell used. In our case, it was easier to do something like: cat << EOF > /home/coder/.config/code-server/User/settings.json
{
"terminal.integrated.shell.linux": "/bin/bash"
}
EOF since we also needed to override other settings. |
For anyone wondering, VS Code uses $SHELL by default so this
happens when that environment variable isn't set.
|
Closing since I don't believe there is anything reasonable we can do here. If |
Reopening because in the Docker container at least we should be able to set the default shell to bash. |
just slap this in and this will make it the default ENV SHELL /bin/bash |
I was thinking the same thing but then I wondered if we could pull it from the user. Normally I think |
It's Works - saved my time |
Hm, does not work for some strange reason. `FROM ubuntu:focal ENV PYTHONUNBUFFERED=1 ENV SHELL /bin/bash RUN mkdir /data /compute /static /appmedia RUN apt update && apt install -y build-essential wget RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && WORKDIR /app returns:
|
@soerendip I believe 127 means command not found so you probably need to install conda. |
Description
Terminal does not start with bash shell when opened for the first time.
The text was updated successfully, but these errors were encountered: