Skip to content

Commit 52441f7

Browse files
authored
Enforce shell in devcontainers
Enforce shell in devcontainers
2 parents a4eaad5 + 7614d21 commit 52441f7

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1313
curl \
1414
ssh \
1515
mesa-utils \
16+
bash \
1617
&& rm -rf /var/lib/apt/lists/* && apt-get clean
1718

1819
# Create symbolic links for python
@@ -63,7 +64,7 @@ RUN pip install --no-cache-dir ruff
6364
# Create a temporary directory for installation with proper permissions
6465
WORKDIR /tmp/install
6566

66-
# Copy pyproject.toml with correct ownership
67+
# Copy project with correct ownership
6768
COPY --chown=$USERNAME:$USERNAME . .
6869

6970
# Install dependencies as non-root user

.devcontainer/devcontainer.linux.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"ms-toolsai.jupyter-keymap"
2020
],
2121
"settings": {
22+
"terminal.integrated.shell.linux": "/bin/bash",
2223
"python.defaultInterpreterPath": "/home/vscode/venv/bin/python",
2324
"jupyter.kernels.excludePythonEnvironments": [
2425
"/usr/bin/python",

.devcontainer/devcontainer.wsl2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"ms-toolsai.jupyter-keymap"
2020
],
2121
"settings": {
22+
"terminal.integrated.shell.linux": "/bin/bash",
2223
"python.defaultInterpreterPath": "/home/vscode/venv/bin/python",
2324
"jupyter.kernels.excludePythonEnvironments": [
2425
"/usr/bin/python",

0 commit comments

Comments
 (0)