Skip to content

dev: Add devcontainer.json configuration#4684

Open
sayboras wants to merge 1 commit intomainfrom
pr/tammach/dev-container
Open

dev: Add devcontainer.json configuration#4684
sayboras wants to merge 1 commit intomainfrom
pr/tammach/dev-container

Conversation

@sayboras
Copy link
Copy Markdown
Member

@sayboras sayboras commented Feb 20, 2026

Description

Changelog

dev: Add devcontainer.json configuration

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 20, 2026

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit e606eb6
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/6998613af83aa100088fce46
😎 Deploy Preview https://deploy-preview-4684--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sayboras sayboras force-pushed the pr/tammach/dev-container branch from e606eb6 to 822b670 Compare February 21, 2026 02:35
@sayboras sayboras added the release-note/misc This PR makes changes that have no direct user impact. label Feb 21, 2026
Signed-off-by: Tam Mach <tam.mach@cilium.io>
@sayboras sayboras force-pushed the pr/tammach/dev-container branch from e7a4ec2 to 4df85e6 Compare February 21, 2026 09:44
@sayboras sayboras marked this pull request as ready for review February 23, 2026 14:06
@sayboras sayboras requested review from a team and mtardy as code owners February 23, 2026 14:06
Copy link
Copy Markdown
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 not against adding some tooling for making the project easier to interact with but this seems pretty specific so I'd be happier if we can put this under contrib with the rest of tooling.

Comment on lines +73 to +75
The repository includes a [devcontainer](.devcontainer/) for a
ready-to-use development environment — open the project in VS Code and
select **"Reopen in Container"** to get started instantly.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't add that stuff directly in the README, I think it's enough it's in the contribution development guide

description: "This will help you getting started with your development setup to build Tetragon"
---

## Development container
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put that at the end as an option for development setup maybe instead of at the beginning?

Comment on lines +33 to +37
- **Go** matching the version in `go.mod`
- **Clang/LLVM 20** for BPF compilation (`LOCAL_CLANG=1`)
- **bpftool**, **golangci-lint**, **goimports**, **gops**
- **kubectl**, **helm**, **kind** for Kubernetes development
- **Docker-outside-of-Docker** for building container images
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in general I'd drop the bold if it's not necessary

Suggested change
- **Go** matching the version in `go.mod`
- **Clang/LLVM 20** for BPF compilation (`LOCAL_CLANG=1`)
- **bpftool**, **golangci-lint**, **goimports**, **gops**
- **kubectl**, **helm**, **kind** for Kubernetes development
- **Docker-outside-of-Docker** for building container images
- Go matching the version in `go.mod`
- Clang/LLVM 20 for BPF compilation (`LOCAL_CLANG=1`)
- bpftool, golangci-lint, goimports, gops
- kubectl, helm, kind for Kubernetes development
- Docker-outside-of-Docker for building container images


1. Install the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
2. Open the Tetragon repository in VS Code.
3. When prompted, click **"Reopen in Container"** (or run the command
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. When prompted, click **"Reopen in Container"** (or run the command
3. When prompted, click "Reopen in Container" (or run the command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants