Skip to content

refactor: use /app/bento-bench as direct Docker entrypoint - #24

Merged
mintybasil merged 6 commits into
mainfrom
refactor/dockerfile-entrypoint
Apr 20, 2026
Merged

refactor: use /app/bento-bench as direct Docker entrypoint#24
mintybasil merged 6 commits into
mainfrom
refactor/dockerfile-entrypoint

Conversation

@zeroklaw

Copy link
Copy Markdown
Member

What

Simplifies the Docker image by removing the indirection layer:

  • Drop VOLUME ["/manifest.json"] — manifest is not a volume target, it's passed in at runtime via bind-mount or CMD arg
  • Remove COPY scripts/docker-run-benchmarks.sh and delete the script
  • Set ENTRYPOINT ["/app/bento-bench"] directly — callers pass args/flags to the binary instead of routing through a shell wrapper

Why

The shell wrapper adds complexity without benefit now that the binary handles its own arg parsing. Direct entrypoint is the right pattern for a CLI benchmark tool.

Diff summary

  • Dockerfile: removed /manifest.json VOLUME, removed script COPY, changed ENTRYPOINT
  • scripts/docker-run-benchmarks.sh: deleted

@mintybasil
mintybasil merged commit 8de240c into main Apr 20, 2026
2 checks passed
@mintybasil
mintybasil deleted the refactor/dockerfile-entrypoint branch April 20, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants