Skip to content

Add oz-local dev tools to the agent-dev Docker image - #14631

Draft
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
oz-agent/agent-dev-oz-local-tools
Draft

Add oz-local dev tools to the agent-dev Docker image#14631
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
oz-agent/agent-dev-oz-local-tools

Conversation

@warp-agent-staging

Copy link
Copy Markdown
Contributor

What

Adds the tools needed to run and test warp-server's oz-local local dev stack to docker/agent-dev/Dockerfile, so agents whose environment includes this repo don't need to reinstall everything from scratch each session:

  • Docker CLI/daemon (docker.io) — for oz-local's docker worker backend
  • Postgres + pgvector (postgresql, postgresql-contrib, postgresql-16-pgvector) — the stack's backing database
  • Redis (redis-server) — the stack's cache
  • A JRE + the GCP Pub/Sub emulator (openjdk-17-jre-headless, google-cloud-cli-pubsub-emulator) — for local RTC
  • jq
  • process-compose — supervises the stack's processes
  • watchexec — powers warp-server's script/server hot-reload
  • Temporal CLI — runs the stack's local Temporal dev server

Also adds --batch --yes to the existing gcloud apt-key gpg --dearmor call. This is a small, unrelated fix: the classic (non-buildx) docker build was failing on that step trying to open /dev/tty in this sandboxed environment. It's a no-op everywhere else.

Size impact

Built both images locally and compared with docker image inspect --format '{{.Size}}':

  • Baseline: 1,623,166,023 bytes (~1.62 GB)
  • With new tools: 2,120,106,119 bytes (~2.12 GB)
  • Delta: ~497 MB (~31% larger)

No single tool dominates — Docker, Postgres+pgvector, Redis, the JRE, and the Pub/Sub emulator together account for most of it; process-compose, watchexec, and the Temporal CLI are each small (10–150 MB as prebuilt binaries).

Verification

Ran a container from the built image and confirmed every new tool resolves and runs: docker --version, psql --version / pg_lsclusters / pg_ctlcluster, redis-server --version, java -version, the google-cloud-cli-pubsub-emulator package, jq --version, process-compose version, watchexec --version, and temporal --version.

This is a Dockerfile-only infrastructure change with no testable application logic, matching the same testing-exemption used for the prior Terraform-tooling change to this image.

Conversation: https://staging.warp.dev/conversation/0d8b292b-b001-475f-bdc7-4fc223eeaf49
Run: https://oz.staging.warp.dev/runs/019fbf6f-74b9-77b9-8e38-c2204c1a3eae

This PR was generated with Oz.

Adds Docker CLI/daemon, Postgres (+pgvector), Redis, a JRE + the GCP
Pub/Sub emulator, and small process-compose/watchexec/temporal
binaries, so agents working in this repo can run and test
warp-server's oz-local stack (both the direct and docker worker
backends) without reinstalling everything from scratch each session.

Also adds --batch --yes to the existing gcloud apt-key gpg --dearmor
call: the classic (non-buildx) docker build otherwise fails trying to
open /dev/tty for the dearmor step in some sandboxed environments.

Measured with docker image inspect --format '{{.Size}}':
- baseline: 1,623,166,023 bytes (~1.62 GB)
- with new tools: 2,120,106,119 bytes (~2.12 GB)
- delta: ~497 MB (~31% larger)

Verified all new tools resolve and run in a built container: docker,
psql/pg_ctlcluster, redis-server, java, the pubsub emulator package,
jq, process-compose, watchexec, and temporal.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant