Skip to content

Feature request: add Pi coding agent sandbox #34

@shaftoe

Description

@shaftoe

Hello developers! I'm part of the growing https://pi.dev/ community and I wonder if there's any plan to also add support for Pi coding agent? if not, what does it take for contributors to develop such feature?

Pi and OpenCode are very similar projects and they both install via npm , I see OpenCode is already supported as sandbox and Node.js is installed in the shell template image so I assume adding an image like this or similar should be all needed from Docker side?

FROM docker/sandbox-templates:shell
ARG PI_VERSION=latest

LABEL org.opencontainers.image.title="Docker Sandbox Template for Pi Coding Agent"
LABEL org.opencontainers.image.description="Sandboxed environment for running Pi coding agent"
LABEL org.opencontainers.image.version="${PI_VERSION}"
LABEL org.opencontainers.image.licenses="MIT"
LABEL com.docker.sandboxes="templates"
LABEL com.docker.sandboxes.base="docker/sandbox-templates:shell"
LABEL com.docker.sandboxes.flavor="pi"

# Install Pi coding agent globally as the agent user
USER agent
RUN npm install -g @mariozechner/pi-coding-agent@${PI_VERSION} \
    && npm cache clean --force

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions