Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile to use python:3.6-buster and fix dependencies #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loopassembly
Copy link

  • Change base image from python:3.6-stretch to python:3.6-buster to avoid outdated package repositories causing build failures.
  • Add installation of numba==0.48.0 and resampy==0.2.2 to resolve ImportError and TypeError issues related to librosa and resampy.
  • Ensure compatibility with updated dependencies and improve build reliability.

These changes address the following issues encountered during the Docker build process:

  • The python:3.6-stretch image references outdated Debian Stretch repositories, causing apt-get update failures.
  • Missing numba.decorators module required by librosa.
  • TypeError: guvectorize() missing 1 required positional argument: 'signature' caused by an incompatible resampy version.

By switching to python:3.6-buster and explicitly installing numba and resampy, Docker image builds successfully and the application runs without import errors.

- Change base image from `python:3.6-stretch` to `python:3.6-buster` to avoid outdated package repositories causing build failures.
- Add installation of `numba==0.48.0` and `resampy==0.2.2` to resolve ImportError and TypeError issues related to `librosa` and `resampy`.
- Ensure compatibility with updated dependencies and improve build reliability.

These changes address the following issues encountered during the Docker build process:
- The `python:3.6-stretch` image references outdated Debian Stretch repositories, causing apt-get update failures.
- Missing `numba.decorators` module required by `librosa`.
- `TypeError: guvectorize() missing 1 required positional argument: 'signature'` caused by an incompatible `resampy` version.

By switching to `python:3.6-buster` and explicitly installing `numba` and `resampy`, Docker image builds successfully and the application runs without import errors.
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