-
Notifications
You must be signed in to change notification settings - Fork 1
Dev #77
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
base: main
Are you sure you want to change the base?
Dev #77
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,6 @@ | ||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||
| "image": "ghcr.io/zombiezen/codespaces-nix", | ||||||||||||||||||||||||||||||
| "features": { | ||||||||||||||||||||||||||||||
| "ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
Comment on lines
+1
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Consider adding By default the container runs as "features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
- }
+ },
+ "remoteUser": "vscode",
+ "workspaceFolder": "/workspace"This follows Dev Container best-practices and prevents accidental root-owned artefacts on the host. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
❓ Verification inconclusive
Pin the container image to a digest for deterministic builds
Referencing the image without a digest means every rebuild could silently pull a newer, potentially incompatible layer set. Pinning to a sha256 digest guarantees reproducibility and guards against supply-chain surprises.
Pin the devcontainer image to a specific digest for deterministic builds
Referencing the image without a digest means every rebuild could pull a newer, incompatible layer set. Pinning to a
sha256digest guarantees reproducible, supply-chain hardened builds.• File:
.devcontainer.json(line 2)• Replace:
📝 Committable suggestion
🤖 Prompt for AI Agents