Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
set -euo pipefail
featureDir=$(cd "$(dirname "$0")"; pwd)

# Get claude from the buildimages /root/.local/bin
# cp /root/.local/bin/claude /home/bits/.local/bin/claude
# Install tailscale so workspace devcontainers can connect to the Headscale
# overlay network and reach agent-sandbox private VMs
curl -fsSL https://tailscale.com/install.sh | sh

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We actually tested this manually before opening the PR. We ran tailscaled inside the devcontainer without any /dev/net/tun device mount and it worked end to end -- tailscale status showed connected, we could ping the subnet router, SSH to an agent sandbox VM returned permission denied (correct, SSH worked but Kevin's key was needed), and curl to the fakeintake ECS service returned live data. The existing SYS_ADMIN + apparmor:unconfined capabilities in the devcontainer already grant access to /dev/net/tun without needing an explicit device mount.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Pin and verify the Tailscale installer

Every devcontainer prebuild now executes whatever tailscale.com/install.sh serves at that moment as root, so rebuilding this commit after an upstream installer or package change can produce a different—or broken—image, and a compromised response would gain root execution in the workspace image. Install a reviewed, version-pinned artifact and verify its signature or checksum instead of piping a mutable remote script directly to sh.

Useful? React with 👍 / 👎.


# Add bits user to the docker group. This should probably be handled by the base feature. But not working for now.
usermod -aG docker bits
Expand Down
Loading