mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[GH-ISSUE #83] Docker image is too large because /app/.cache/trivy/trivy.db is copied into runtime image #53
Labels
No labels
bug
bug
enhancement
enhancement
fixed
fixed
invalid
needs-info
needs-testing
pull-request
question
upstream
wontfix
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro-gateway-jwadow#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jian53286 on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/jwadow/kiro-gateway/issues/83
Hi! Thanks for the great project.
I noticed the published Docker image is much larger than expected, and it looks like a packaging issue.
What I observed
ghcr.io/jwadow/kiro-gateway:latest/appis about 950MB/app/.cache/trivyis about 949MB/app/.cache/trivy/db/trivy.dbis about 947MBThis seems unrelated to runtime requirements and likely got copied into the image during build (
COPY . .).Why this matters
Suggested fix
.dockerignore, at least:.cache/.cache/trivy/COPY . ., e.g. only:main.pykiro/requirements.txt