Add oz-local dev tools to the agent-dev Docker image - #14631
Draft
warp-agent-staging[bot] wants to merge 1 commit into
Draft
Add oz-local dev tools to the agent-dev Docker image#14631warp-agent-staging[bot] wants to merge 1 commit into
warp-agent-staging[bot] wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the tools needed to run and test warp-server's
oz-locallocal dev stack todocker/agent-dev/Dockerfile, so agents whose environment includes this repo don't need to reinstall everything from scratch each session:docker.io) — foroz-local's docker worker backendpostgresql,postgresql-contrib,postgresql-16-pgvector) — the stack's backing databaseredis-server) — the stack's cacheopenjdk-17-jre-headless,google-cloud-cli-pubsub-emulator) — for local RTCjqprocess-compose— supervises the stack's processeswatchexec— powers warp-server'sscript/serverhot-reloadAlso adds
--batch --yesto the existing gcloud apt-keygpg --dearmorcall. This is a small, unrelated fix: the classic (non-buildx)docker buildwas failing on that step trying to open/dev/ttyin this sandboxed environment. It's a no-op everywhere else.Size impact
Built both images locally and compared with
docker image inspect --format '{{.Size}}':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, thegoogle-cloud-cli-pubsub-emulatorpackage,jq --version,process-compose version,watchexec --version, andtemporal --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.