[Bug] Fix Docker build/runtime issues on Windows checkouts#152
Merged
versun merged 2 commits intoversun:mainfrom Mar 16, 2026
Merged
[Bug] Fix Docker build/runtime issues on Windows checkouts#152versun merged 2 commits intoversun:mainfrom
versun merged 2 commits intoversun:mainfrom
Conversation
Owner
|
补了一个 follow-up commit(78fd48f),把 感谢PR贡献 |
versun
added a commit
that referenced
this pull request
Mar 16, 2026
)" This reverts commit 0dae4af.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix Docker build/runtime issues that appear when building RSSBox from a Windows checkout.
What Changed
scripts/entrypoint.shto LF during Docker build to avoid CRLF-related startup failures/etc/cron.d/rt_cronviacrontab, since files under/etc/cron.dalready use system-cron format with username fields*/60to0 * * * *for clearer, more portable behaviorProblem
When building from a Windows checkout, the container could fail to start because
entrypoint.shwas copied with CRLF line endings. This caused errors such as:exec /usr/local/bin/entrypoint.sh: no such file or directory\rline endingsIn addition, the Docker build attempted to install
/etc/cron.d/rt_cronwithcrontab, even though the file uses/etc/cron.dsystem-cron format with a username field.Verification
Verified locally by rebuilding and starting the Docker-based test instance successfully after these changes.