Local Development Guide
June 10, 2026 ยท View on GitHub
This guide explains how to build a image with your local source code.
1. Make Code Changes
Edit your source code locally in your project directory (e.g., routing-release or other relevant Cloud Foundry project).
2. Build Image
Build a Docker image with your local changes:
docker buildx bake <image> --set <image>.contexts.src=<path-to-local-source>
Example:
In the directory routing:
docker buildx bake gorouter --set gorouter.contexts.src=/Users/user/routing-release/src
This creates an image tagged as <image>:latest (e.g., gorouter:latest) in your local Docker daemon.
View all available images
To see all buildable images:
docker buildx bake --print