refactor: remove BOT_BOTTLE_IMAGE env override

Unused in tests, docs, or examples. Can be added back if/when merited.
This commit is contained in:
2026-06-08 04:05:29 +00:00
committed by didericis (codex)
parent 11935ed842
commit e7bc59054b
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ def resolve_plan(
dockerfile_path = str(p_dockerfile)
else:
image_default = provider_runtime.image
image = os.environ.get("BOT_BOTTLE_IMAGE", image_default)
image = image_default
derived_image = ""
runtime_image = image
if spec.copy_cwd:
+1 -4
View File
@@ -116,9 +116,6 @@ def resolve_plan(
prompt_file.chmod(0o600)
machine_name = f"bot-bottle-{slug}"
# Stash the agent image ref — `launch.launch` runs the
# build → pack pipeline at bringup. Honors BOT_BOTTLE_IMAGE
# to match the docker backend's `resolve_plan` default.
agent_dockerfile_path = ""
if provider.dockerfile:
agent_dockerfile_path = _resolve_manifest_dockerfile(provider.dockerfile, spec)
@@ -133,7 +130,7 @@ def resolve_plan(
image_default = f"bot-bottle-{provider.template}:{slug}"
else:
image_default = provider_runtime.image
agent_image_ref = os.environ.get("BOT_BOTTLE_IMAGE", image_default)
agent_image_ref = image_default
agent_provision = agent_provision_plan(
template=provider.template,
dockerfile=agent_dockerfile_path,