Skip to content

[M3.3] Builds and registry #215

Done
2 of 2 issues completed
Done

Description

@samuelmbabhazi

Task id

M3.3

Track

A: agent, C: control plane

Scope

  • BuildImage with rootless BuildKit; Dockerfile, Railpack, Nixpacks, image; internal registry on WireGuard with short-lived tokens; build logs streamed.

Acceptance criteria

Builds for Node, Python, Go, PHP sample repos; malicious Dockerfile cannot reach the host Docker socket.

Depends on

M1.2, M1.4, M3.1

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    priority:P1
    on Nov 7, 2026
  2. added
    v0.1-stable
    on Nov 21, 2026
  3. 13 remaining items

  4. samuelmbabhazi commented on Nov 28, 2026

    @samuelmbabhazi
    CollaboratorAuthor

    The acceptance criteria are met on main, checked against a real rootless BuildKit in CI. The "Agent against Docker and Caddy" job ran on #561's last head commit before merge, e08016c, job 141035959696.

    Builds for Node, Python, Go and PHP sample repositories. Each one is built from the repository at its commit and pushed to the registry:

    A malicious Dockerfile cannot reach the host's Docker socket. In TestRealBuildKitKeepsADockerfileOffTheHost (#561):

    • A bind mount of /var/run/docker.sock is looked up in the repository, not on the host. The build fails with BuildKit's checksum error for that path.
    • A step on the host's network is refused (network.host is not allowed), and so is a privileged one (security.insecure is not allowed).
    • None of them prints what it would have printed had it run.

    A Dockerfile can also run only the official Dockerfile frontend or Railpack's (TestRealBuildKitRunsOnlyTheAllowedFrontends, #551).

    The rest of the scope:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P1security-reviewtasktrack:agenttrack:control-planev0.1-stable

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions