diff --git a/.devcontainer/README.md b/.devcontainer/README.md index 9085c9765f..859ec3645a 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -9,7 +9,7 @@ The goal is to provide a web browser experience of the OpenROAD GUI. Solution wo 3. Open VSCode and install the [GitHub Codespaces](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces) extension 4. Connect to the generated codespace 5. Open a web browser and connect to url: `localhost:6080` -6. Alternatively, you can use a VNC client to connect to `localhost:5980` +6. Alternatively, you can use a VNC client to connect to `localhost:5901` ## Developer @@ -17,4 +17,5 @@ OpenROAD Flow Scripts provide a docker image generation script `etc/DockerHelper Useful resources: * [Development loop](https://code.visualstudio.com/docs/devcontainers/create-dev-container#_full-configuration-edit-loop) -* [devcontainer json reference](https://containers.dev/implementors/json_reference/) +* [devcontainer JSON reference](https://containers.dev/implementors/json_reference/) +* [Desktop lite feature](https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md) diff --git a/.devcontainer/ubuntu2204-gui/devcontainer.json b/.devcontainer/ubuntu2204-gui/devcontainer.json index 44d486b770..01fb00c0cd 100644 --- a/.devcontainer/ubuntu2204-gui/devcontainer.json +++ b/.devcontainer/ubuntu2204-gui/devcontainer.json @@ -1,12 +1,20 @@ { "image": "ghcr.io/antmicro/openroad-flow-scripts/ubuntu22.04:latest", "features": { - "ghcr.io/devcontainers/features/desktop-lite:1": {} - }, - "forwardPorts": [6080], - "portsAttributes": { - "6080": { - "label": "desktop" + "desktop-lite": { + "password": "vscode", + "webPort": "6080", + "vncPort": "5901" } } + // "features": { + // "ghcr.io/devcontainers/features/desktop-lite:1": {} + // }, + // "forwardPorts": [6080, 5901], + // "portsAttributes": { + // "6080": { + // "label": "desktop" + // } + // } + }