Skip to content

Comments

refactor(docker): Reorganize Dockerfile into multi-stage build#504

Closed
nickv2002 wants to merge 1 commit intoYACReader:developfrom
nickv2002:feat/docker-multistage-optimization
Closed

refactor(docker): Reorganize Dockerfile into multi-stage build#504
nickv2002 wants to merge 1 commit intoYACReader:developfrom
nickv2002:feat/docker-multistage-optimization

Conversation

@nickv2002
Copy link

Description

Reorganizes the Dockerfile for better structure, caching, and build efficiency.

Changes

  • Split into 4 clear stages: base, sevenzip-builder, yacreader-builder, runtime
  • Improved build separation and caching
  • Separate 7zip build stage allows better parallelization
  • No functional changes - pure refactoring
  • Maintains all existing functionality

Testing

  • ✅ Docker image builds successfully
  • ✅ YACReaderLibraryServer binary works correctly
  • ✅ No change in runtime behavior

Notes

  • Dockerfile.aarch64 is NOT modified; ARM support can be addressed in a follow-up PR if this is approved
  • This PR is part of a stack: the next PR will add kimageformats support on top of this optimization

- Split into 4 stages: base, sevenzip-builder, yacreader-builder, runtime
- Improved build separation and caching efficiency
- Separate 7zip build stage allows better parallelization
- No functional changes - pure refactoring
- Maintains all existing functionality
- Minimized whitespace diffs for clarity
@nickv2002
Copy link
Author

Merged into PR #505. Closing in favor of the combined kimageformats PR.

@nickv2002 nickv2002 closed this Feb 17, 2026
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.

1 participant