[PR #12] [MERGED] Add DevContainer and Dockerfile for easy onboarding #24

Closed
opened 2026-03-02 04:07:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/gadievron/raptor/pull/12
Author: @mbrg
Created: 11/30/2025
Status: Merged
Merged: 12/1/2025
Merged by: @danielcuthbert

Base: mainHead: devcontainer


📝 Commits (10+)

  • 9a273c7 init GH Archive skill
  • 56af489 claude helps write gh archive skill
  • 5f74fbd restructure for clarity
  • d514f40 prune fluff
  • 4d5fb62 detect api access
  • 066ca4c prune "Automation vs Direct API Attribution"
  • 56d8437 restructure under github-analysis
  • 160ce93 claude helps
  • 0b1c411 Merge pull request #1 from mbrg/github-ti-agent
  • d1b8811 Add force push recovery techniques to GitHub analysis skills

📊 Changes

8 files changed (+1120 additions, -0 deletions)

View changed files

📝 .claude/skills/oss-forensics/github-evidence-kit/requirements.txt (+3 -0)
.devcontainer/Dockerfile (+168 -0)
.devcontainer/devcontainer.json (+40 -0)
.devcontainer/requirements-all-optional.txt (+16 -0)
.devcontainer/test_devcontainer.py (+871 -0)
📝 .gitignore (+2 -0)
packages/web/requirements.txt (+5 -0)
requirements-dev.txt (+15 -0)

📄 Description

Introduces a MASSIVE (almost 6GB) devcontainer with all prereqs pre-installed.

What's inside

Starts with the already bloated MSFT Debian-based Python 3.12 devcontainer, then adds:

Pre-installed security tools:

  • Semgrep (static analysis)
  • CodeQL CLI v2.15.5 (semantic code analysis)
  • AFL++ (fuzzing)
  • rr debugger (deterministic record-replay debugging)

Build & debugging tools:

  • gcc, g++, clang-format, make, cmake, autotools
  • gdb, gdb-multiarch, binutils

Web testing:

  • Playwright browser automation (Chromium, Firefox, Webkit browsers)

Python packages:

  • Installs every requirements.txt I could find:
    • requirements.txt + requirements-dev.txt (anthropic, pytest, ruff, mypy, gcovr, tabulate)
    • packages/web/requirements.txt (beautifulsoup4, playwright)

Runtime notes:

  • Runs with --privileged flag required for rr debugger
  • PYTHONPATH configured for /workspaces/raptor imports
  • All Playwright browsers pre-downloaded

Usage

Open in VS Code or any of its forks with Dev Container: Open Folder in Container command.

Or build it with docker:

docker build -f .devcontainer/Dockerfile -t raptor-devcontainer:latest .

Verification

I tested it by creating a giant test_devcontainer.py that runs all our tests and iterating until it worked.

docker run --rm --privileged raptor-devcontainer python3 .devcontainer/test_devcontainer.py

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/gadievron/raptor/pull/12 **Author:** [@mbrg](https://github.com/mbrg) **Created:** 11/30/2025 **Status:** ✅ Merged **Merged:** 12/1/2025 **Merged by:** [@danielcuthbert](https://github.com/danielcuthbert) **Base:** `main` ← **Head:** `devcontainer` --- ### 📝 Commits (10+) - [`9a273c7`](https://github.com/gadievron/raptor/commit/9a273c7a32166ba05f2efd6302148446a8d7fae5) init GH Archive skill - [`56af489`](https://github.com/gadievron/raptor/commit/56af4892cb02e8a2e140692d92dd4f207ec780b3) claude helps write gh archive skill - [`5f74fbd`](https://github.com/gadievron/raptor/commit/5f74fbd40d871a4e4e118bffa2d760c0b470ca04) restructure for clarity - [`d514f40`](https://github.com/gadievron/raptor/commit/d514f40eefc832973a260aa145382d8ff59cebd1) prune fluff - [`4d5fb62`](https://github.com/gadievron/raptor/commit/4d5fb6205b5197edf58a2f4a15b003daa4c7cf99) detect api access - [`066ca4c`](https://github.com/gadievron/raptor/commit/066ca4c88963ea27b1b193a82bedcfda34e79cb7) prune "Automation vs Direct API Attribution" - [`56d8437`](https://github.com/gadievron/raptor/commit/56d843710a8999c5e762770be200b6a3c17cb280) restructure under github-analysis - [`160ce93`](https://github.com/gadievron/raptor/commit/160ce93fdfda2d307f80f52478d2f22632de2e0a) claude helps - [`0b1c411`](https://github.com/gadievron/raptor/commit/0b1c411b1fc353c66b32fd8f260bc76617fb83b9) Merge pull request #1 from mbrg/github-ti-agent - [`d1b8811`](https://github.com/gadievron/raptor/commit/d1b881159e4edb6d9034cdd8a9a96c5199689927) Add force push recovery techniques to GitHub analysis skills ### 📊 Changes **8 files changed** (+1120 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.claude/skills/oss-forensics/github-evidence-kit/requirements.txt` (+3 -0) ➕ `.devcontainer/Dockerfile` (+168 -0) ➕ `.devcontainer/devcontainer.json` (+40 -0) ➕ `.devcontainer/requirements-all-optional.txt` (+16 -0) ➕ `.devcontainer/test_devcontainer.py` (+871 -0) 📝 `.gitignore` (+2 -0) ➕ `packages/web/requirements.txt` (+5 -0) ➕ `requirements-dev.txt` (+15 -0) </details> ### 📄 Description Introduces a MASSIVE (almost 6GB) devcontainer with all prereqs pre-installed. ## What's inside Starts with the already bloated MSFT Debian-based Python 3.12 devcontainer, then adds: Pre-installed security tools: - Semgrep (static analysis) - CodeQL CLI v2.15.5 (semantic code analysis) - AFL++ (fuzzing) - rr debugger (deterministic record-replay debugging) Build & debugging tools: - gcc, g++, clang-format, make, cmake, autotools - gdb, gdb-multiarch, binutils Web testing: - Playwright browser automation (Chromium, Firefox, Webkit browsers) Python packages: - Installs every requirements.txt I could find: - requirements.txt + requirements-dev.txt (anthropic, pytest, ruff, mypy, gcovr, tabulate) - packages/web/requirements.txt (beautifulsoup4, playwright) Runtime notes: - Runs with --privileged flag required for rr debugger - PYTHONPATH configured for /workspaces/raptor imports - All Playwright browsers pre-downloaded ## Usage Open in VS Code or any of its forks with `Dev Container: Open Folder in Container` command. Or build it with docker: ```bash docker build -f .devcontainer/Dockerfile -t raptor-devcontainer:latest . ``` ## Verification I tested it by creating a giant `test_devcontainer.py` that runs all our tests and iterating until it worked. ```bash docker run --rm --privileged raptor-devcontainer python3 .devcontainer/test_devcontainer.py ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:07:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/raptor#24
No description provided.