Upgrade grafana-sidecar 1.28.0 → 2.6.0 + container.py port #332

Merged
eblume merged 4 commits from grafana-sidecar-2.6.0 into main 2026-04-13 07:57:14 -07:00
Showing only changes of commit b94792168b - Show all commits

Add comment explaining venv cleanup find command

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Erich Blume 2026-04-13 07:33:31 -07:00

View file

@ -32,6 +32,7 @@ async def build(src: dagger.Directory) -> dagger.Container:
.with_file("/app/pyproject.toml", source.file("pyproject.toml")) .with_file("/app/pyproject.toml", source.file("pyproject.toml"))
.with_directory("/app/src", source.directory("src")) .with_directory("/app/src", source.directory("src"))
.with_exec([".venv/bin/pip", "install", "--no-cache-dir", "."]) .with_exec([".venv/bin/pip", "install", "--no-cache-dir", "."])
# Strip test dirs and bytecode from venv to shrink the image
.with_exec( .with_exec(
[ [
"sh", "sh",