Pixel-CLI/pixel / .agents/skills/docker-setup-smoke
docker-setup-smoke
VerifiedReplay Pixel's new-user setup in Docker without an LLM — install through a release archive, install.sh, the Homebrew tap, or sources from main, a PR head or a pinned commit; then personal Claude/Codex/pi settings kept, idempotent reinstall, first pixel audit, doctor and --fix, project install, disabled classify and uninstall; with --agents, Claude Code, Codex and pi sessions against a scripted fake model show whether each receives the Pixel prompt, runs pixel and routes grep. Use for Linux setup smoke checks, not macOS behavior or real model inference.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.7 KB |
| scripts/Dockerfile | other | 1.8 KB |
| scripts/agents.sh | script | 7.6 KB |
| scripts/bootstrap.sh | script | 1.0 KB |
| scripts/brew.sh | script | 2.6 KB |
| scripts/checks.sh | script | 11.8 KB |
| scripts/fake-llm.py | script | 8.8 KB |
| scripts/installer.sh | script | 934 B |
| scripts/run.sh | script | 5.6 KB |
| scripts/source.sh | script | 1.0 KB |
| scripts/test-runner.py | script | 11.1 KB |
scripts/Dockerfile
View on GitHub# The smoke environment only: packages, the unprivileged test user and, for
# --agents, Node and the pinned agent CLIs. run.sh passes the pinned base
# image; fetching or building pixel and the checks stay in `docker run`, so a
# failed run still exports its evidence.
# The digest is its own argument so the FROM line pins by hash: a base passed
# without a digest fails the build instead of pulling whatever the tag holds.
ARG BASE_IMAGE
ARG BASE_DIGEST
FROM ${BASE_IMAGE}@sha256:${BASE_DIGEST}
# homebrew/brew defaults to its linuxbrew user; the bootstrap runs as root.
USER root
# homebrew/brew adds a third-party apt source whose key rotation breaks
# `apt-get update`; run.sh points this at a missing directory for that base.
ARG APT_SOURCE_PARTS=/etc/apt/sources.list.d/
RUN apt-get -o "Dir::Etc::SourceParts=$APT_SOURCE_PARTS" update -qq \
&& apt-get -o "Dir::Etc::SourceParts=$APT_SOURCE_PARTS" install -y -qq \
curl ca-certificates git python3 xz-utils >/dev/null \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -m -U -s /bin/bash tester \
&& install -d -o tester -g tester /evidence /home/tester/.local /home/tester/.local/bin
# Empty unless --agents: Node from nodejs.org, checked against its SHASUMS256.
ARG NODE_VERSION=""
ARG AGENT_PACKAGES=""
RUN if [ -n "$NODE_VERSION" ]; then \
case "$(uname -m)" in aarch64) arch=arm64 ;; x86_64) arch=x64 ;; *) exit 2 ;; esac; \
tarball="node-$NODE_VERSION-linux-$arch.tar.xz"; \
cd /tmp \
&& curl -fsSLO "https://nodejs.org/dist/$NODE_VERSION/$tarball" \
&& curl -fsSL "https://nodejs.org/dist/$NODE_VERSION/SHASUMS256.txt" | grep " $tarball\$" | sha256sum -c - \
&& tar -xJf "$tarball" -C /usr/local --strip-components 1 \
&& rm "$tarball" \
&& npm install --global --no-fund --no-audit $AGENT_PACKAGES; \
fi
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |