Skip to content

Optimizes the Docker build, reducing the build time from 6 minutes to ~2.5 minutes (58% reduction).#203

Merged
Aravinda-HWK merged 1 commit intomainfrom
189-bug-building-raven-image-takes-a-lot-of-time
Jan 21, 2026
Merged

Optimizes the Docker build, reducing the build time from 6 minutes to ~2.5 minutes (58% reduction).#203
Aravinda-HWK merged 1 commit intomainfrom
189-bug-building-raven-image-takes-a-lot-of-time

Conversation

@maneeshaxyz
Copy link
Copy Markdown
Member

📌 Description


🔍 Changes Made

  • Removed -a from build and moved all build commands into one docker command.
  • Moved entrypoint in /script/entrypoint.sh

✅ Checklist (Email System)

  • Core IMAP commands tested (LOGIN, CAPABILITY, LIST, SELECT, FETCH, LOGOUT).
  • Authentication is tested.
  • Docker build & run validated.
  • Configuration loading verified for default and custom paths.
  • Persistent storage with Docker volume verified.
  • Error handling and logging verified
  • Documentation updated (README, config samples).

🧪 Testing Instructions

time docker build --pull --no-cache -t raven .

To test the server, use the instructions in the README in the test directory.


⚠️ Notes for Reviewers

@maneeshaxyz maneeshaxyz linked an issue Jan 20, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@Aravinda-HWK Aravinda-HWK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes actually reduced the build time.

@Aravinda-HWK Aravinda-HWK merged commit 7f2fcd7 into main Jan 21, 2026
2 checks passed
@Aravinda-HWK Aravinda-HWK deleted the 189-bug-building-raven-image-takes-a-lot-of-time branch January 21, 2026 07:39
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.

[BUG] Building Raven image takes a lot of time

2 participants