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

docker file lacks ffmpeg #75

Closed
Bovey0809 opened this issue Apr 15, 2021 · 1 comment · Fixed by #109
Closed

docker file lacks ffmpeg #75

Bovey0809 opened this issue Apr 15, 2021 · 1 comment · Fixed by #109
Assignees
Labels

Comments

@Bovey0809
Copy link

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug
The mmocr docker file can't passed "pytest" due to libgl.so.1 not found.

Reproduction

  1. What command or script did you run?
docker build -t docker/ .
pytest
  1. Did you make any modifications on the code or config? Did you understand what you have modified?
    No, I fixed it by adding "RUN apt-get install ffmpeg" to dockerfile.

Bug fix

RUN apt-get update && apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 ffmpeg\
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*
@innerlee
Copy link
Contributor

Thanks for the proposal. (Yes the libgl.so.1 error is quite common for docker)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants