Skip to content

Add sox package installation in Dockerfile - #1021

Open
boessu wants to merge 1 commit into
jamiepine:mainfrom
boessu:patch-3
Open

Add sox package installation in Dockerfile#1021
boessu wants to merge 1 commit into
jamiepine:mainfrom
boessu:patch-3

Conversation

@boessu

@boessu boessu commented Aug 9, 2026

Copy link
Copy Markdown

This is really optional and not really a bugfix. It works without that, but removes a warning you'll face in working with voicebox. The background is completely harmless, but maybe someone triggers that as a "bug". It's up to you to add it or not.

install sox to silence startup warning

librosa/torchaudio probe for SoX as an optional legacy audio backend at
startup, logging:
WARNING: SoX could not be found!
This is harmless (soundfile is the active backend, already in requirements.txt)
but noisy in logs. Installing sox removes the warning at negligible image-size
cost.

Summary by CodeRabbit

  • New Features
    • Added SoX audio processing support to the runtime environment.

 install sox to silence startup warning
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c7bf9eee-a442-4d51-b422-2f75078691e1

📥 Commits

Reviewing files that changed from the base of the PR and between 51f49de and 7fccbbd.

📒 Files selected for processing (1)
  • Dockerfile

📝 Walkthrough

Walkthrough

The Docker runtime image now installs sox alongside its existing system dependencies.

Changes

Runtime dependency

Layer / File(s) Summary
Install SoX in runtime image
Dockerfile
The runtime image’s apt-installed dependencies now include sox.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: sridhar-3009

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the Dockerfile change to install the sox package.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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