mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
2. Multi-image Docker architecture - Created role-specific Dockerfiles: - agent-base.Dockerfile (shared foundation) - agent-pm.Dockerfile, agent-dev-be.Dockerfile, agent-dev-fe.Dockerfile - agent-qa-be.Dockerfile, agent-qa-fe.Dockerfile, agent-doc.Dockerfile, agent-ux.Dockerfile 3. Orchestrator updates - roboco/runtime/orchestrator.py: - Added AGENT_IMAGES mapping and get_agent_image() function - Updated _ensure_agent_image() to build base + specialized images - Updated _spawn_container() to use role-specific image - Made _generate_mcp_config() role-aware (though kept notify for all since they need to receive)
37 lines
803 B
Docker
37 lines
803 B
Docker
# Frontend Developer Agent
|
|
# React/TypeScript development with browser automation
|
|
|
|
FROM roboco-agent-base
|
|
|
|
USER root
|
|
|
|
# Playwright system dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libnss3 \
|
|
libnspr4 \
|
|
libatk1.0-0 \
|
|
libatk-bridge2.0-0 \
|
|
libcups2 \
|
|
libdrm2 \
|
|
libxkbcommon0 \
|
|
libxcomposite1 \
|
|
libxdamage1 \
|
|
libxfixes3 \
|
|
libxrandr2 \
|
|
libgbm1 \
|
|
libasound2 \
|
|
libpango-1.0-0 \
|
|
libcairo2 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install pnpm globally
|
|
RUN npm install -g pnpm
|
|
|
|
USER agent
|
|
|
|
# Install Playwright (browsers will be installed on first run or can be cached)
|
|
RUN npx playwright install chromium
|
|
|
|
LABEL role="frontend-developer"
|
|
LABEL description="Frontend developer agent - React, TypeScript, Playwright"
|