Skip to content

Commit 74cf99a

Browse files
committed
Update devcontainer to match jupyter app
1 parent 8d27d6f commit 74cf99a

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

src/workbench-jupyter-with-llm/.devcontainer.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
{
2-
"name": "Navid Workbench Jupyter",
2+
"name": "Workbench Jupyter with LLM tools",
33
"dockerComposeFile": ["docker-compose.yaml", "../jupyter-common/jupyter-common-compose.yaml"],
44
"service": "app",
55
"runServices": ["app"],
66
"shutdownAction": "none",
77
"workspaceFolder": "/workspace",
88
"postCreateCommand": [
9-
"bash",
10-
"-c",
11-
"./startupscript/post-startup.sh jupyter /home/jupyter \"${templateOption:cloud}\" \"${templateOption:login}\" && echo '' >> /home/jupyter/.bashrc && echo '# Unset GOOGLE_CLOUD_PROJECT for Gemini CLI compatibility' >> /home/jupyter/.bashrc && echo 'unset GOOGLE_CLOUD_PROJECT' >> /home/jupyter/.bashrc"
9+
"./startupscript/post-startup.sh",
10+
"jupyter",
11+
"/home/jupyter",
12+
"${templateOption:cloud}",
13+
"${templateOption:login}"
1214
],
1315
// re-mount bucket files on container start up, then generate LLM context
14-
"postStartCommand": [
15-
"bash",
16-
"-c",
17-
"./startupscript/remount-on-restart.sh jupyter /home/jupyter \"${templateOption:cloud}\" \"${templateOption:login}\"; /opt/llm-context/generate-context.sh /home/jupyter || true"
18-
],
16+
"postStartCommand": "./startupscript/remount-on-restart.sh jupyter /home/jupyter \"${templateOption:cloud}\" \"${templateOption:login}\"; /opt/llm-context/generate-context.sh /home/jupyter || true",
1917
"features": {
18+
"ghcr.io/devcontainers/features/node@sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6": {
19+
"version": "24.11.0"
20+
},
21+
"ghcr.io/anthropics/devcontainer-features/claude-code@sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a": {},
22+
"./.devcontainer/features/gemini-cli": { "username": "jupyter" },
2023
"./.devcontainer/features/workbench-tools": {
24+
"libEnv": "/opt/conda/envs/jupyter", // Use the jupyter conda environment
2125
"cloud": "${templateOption:cloud}",
2226
"username": "jupyter",
2327
"userHomeDir": "/home/jupyter"
2428
},
25-
"./.devcontainer/features/gemini": {
26-
"version": "latest",
27-
"username": "jupyter",
28-
"userHomeDir": "/home/jupyter"
29+
"./.devcontainer/features/postgres-client": {
30+
"version": "16"
2931
},
30-
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {},
3132
"./.devcontainer/features/wb-mcp-server": {
3233
"username": "jupyter",
3334
"userHomeDir": "/home/jupyter"

src/workbench-jupyter-with-llm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM us-west2-docker.pkg.dev/shared-pub-buckets-94mvrf/workbench-artifacts/app-workbench-jupyter@sha256:8261521e5433b6997c4b323c4b391b02ea3fc3f059e33ccedc36af2554ef70f9
1+
FROM us-west2-docker.pkg.dev/shared-pub-buckets-94mvrf/workbench-artifacts/app-workbench-jupyter@sha256:62089d6cef2015e08361928c6bb6ae003afd0800a3e682a536171b3bcb0765b1
22

33
# Install jupyter extensions
44
RUN --mount=type=bind,from=jupyter-extension-builder,source=/dist,target=/tmp/extensions \

src/workbench-jupyter-with-llm/devcontainer-template.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"id": "navid-workbench-jupyter",
2+
"id": "workbench-jupyter-with-llm",
33
"description": "Workbench JupyterLab with Gemini, Claude CLI, and MCP server integration",
44
"version": "0.0.1",
5-
"name": "Navid Workbench Jupyter",
6-
"documentationURL": "https://github.com/verily-src/workbench-app-devcontainers/tree/master/src/navid-workbench-jupyter",
5+
"name": "Workbench Jupyter with LLM tools",
6+
"documentationURL": "https://github.com/verily-src/workbench-app-devcontainers/tree/master/src/workbench-jupyter-with-llm",
77
"licenseURL": "https://github.com/verily-src/workbench-app-devcontainers/blob/master/LICENSE",
88
"options": {
99
"cloud": {

0 commit comments

Comments
 (0)