Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions agents/autowebcompat-repro/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ RUN apt-get update \
fonts-liberation \
# Codecs and audio/video related dependencies
ffmpeg \
# Window manager and display backend
fluxbox \
xvfb \
&& rm -rf /var/lib/apt/lists/*

# Install the DevTools MCP servers and Puppeteer from the pinned
Expand All @@ -65,6 +68,11 @@ RUN useradd --create-home --shell /bin/bash agent \
&& mkdir -p /workspace \
&& chown agent:agent /workspace /app/repro

ENV SCREEN_WIDTH=1280
ENV SCREEN_HEIGHT=1024
ENV SCREEN_DEPTH=24
ENV DISPLAY=:99.0

USER agent

COPY --from=builder /opt/venv /opt/venv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class AgentInputs(BaseSettings):
| Literal["max"]
| None
) = None
headless: bool = False

model_config = SettingsConfigDict(extra="ignore")

Expand Down Expand Up @@ -66,6 +67,7 @@ async def main(ctx: HackbotContext) -> AutowebcompatResult:
effort=inputs.effort,
log=ctx.log_path,
verbose=True,
headless=inputs.headless,
),
tracker,
input_data,
Expand Down
Loading