Run Gemma with Ollama on Cloud Run
Deploy Google's Gemma 2B open model on Cloud Run using Ollama for CPU-based inference with this sample project, providing an accessible way to run smaller LLMs in a serverless environment.
A hands-on look at how rebaseable container images are structured on Cloud Run, using Docker and FROM scratch.
Dumping verbose test logs into an AI coding agent wastes context window space. Wrapping test commands in a silent Make macro suppresses noise on success while preserving full stack traces on failure.
Deterministic directory hashing calculates unique local port numbers from absolute filesystem paths, preventing port collisions in Git worktrees without manual configuration.