You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix dind: normalize os-release before features + in published image
- Add .devcontainer/Dockerfile that patches /usr/lib/os-release and
/etc/os-release to bookworm before docker-in-docker runs (works even
when GHCR :latest is stale).
- Switch devcontainer.json from image to build using that Dockerfile.
- Mirror the same normalization in the repo root Dockerfile for CI builds.
Made-with: Cursor
* Revert devcontainer on-demand build; use CI image only
Drop .devcontainer/Dockerfile and restore image: in devcontainer.json.
os-release normalization stays in the root Dockerfile (built by Actions).
Made-with: Cursor
* Update .gitignore, README, and Taskfile for improved setup and clarity
- Added .cursor/rules/ to .gitignore to prevent committing generated Cursor rules.
- Updated README to clarify the location of installed skills and the symlink for codecollection.
- Modified Taskfile to create a symlink for codecollection during setup and improved messaging for clarity.
- Removed the on-create.sh script as its functionality is now handled by Taskfile.
These changes enhance the developer experience by streamlining the setup process and providing clearer instructions.
* Enhance Dockerfile and devcontainer configuration for SSH setup
- Updated Dockerfile to create the .ssh directory and set appropriate permissions for SSH access.
- Added a postCreateCommand in devcontainer.json to ensure the .ssh directory and authorized_keys file are created with correct permissions automatically.
- Revised documentation to clarify that SSH permission errors should not occur due to these automated setups.
These changes improve the security and usability of the development environment.
Copy file name to clipboardExpand all lines: docs/cursor-remote-devcontainer.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,20 +75,14 @@ sed -i.bak \
75
75
~/.ssh/codespaces
76
76
```
77
77
78
-
In Cursor: **Remote-SSH: Connect to Host…** → select that host → **Open Folder** → **`/home/runwhen`**.
78
+
In Cursor: **Remote-SSH: Connect to Host…** → select that host → **Open Folder** → **`/workspaces/codecollection-devtools`** (the devcontainer workspace root). After `task setup`, the `codecollection/` symlink gives you direct access to codebundles.
79
79
80
80
---
81
81
82
82
## 5. Troubleshooting
83
83
84
84
- Run **`gh codespace ssh -c YOUR_CODESPACE_NAME --`** again if the connection or auth state seems off.
85
-
- For **`authorized_keys`** permission errors inside the codespace:
86
-
87
-
```bash
88
-
sudo chmod 755 /home/runwhen
89
-
sudo chmod 700 /home/runwhen/.ssh
90
-
sudo chmod 600 /home/runwhen/.ssh/authorized_keys
91
-
```
85
+
- SSH permission errors should not occur — the image and `postCreateCommand` set `/home/runwhen` (755), `.ssh` (700), and `authorized_keys` (600) automatically.
0 commit comments