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 打包镜像报错 #96

Open
HakunamatataLeo opened this issue Sep 9, 2019 · 1 comment
Open

Docker 打包镜像报错 #96

HakunamatataLeo opened this issue Sep 9, 2019 · 1 comment

Comments

@HakunamatataLeo
Copy link

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
The command '/bin/sh -c apt-get update && apt-get install -y locales locales-all ttf-wqy-microhei ffmpeg cron' returned a non-zero code: 100

@zhengzangw
Copy link

Though I cannot figure out clearly what is wrong, at least following changes to Dockerfile can make it work:

RUN apt-get update
RUN apt-get install -y --allow-remove-essential libncursesw5 libslang2 libtinfo5 libcaca0 libavdevice57 ffmpeg 
RUN apt-get install -y ttf-wqy-microhei cron

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

No branches or pull requests

2 participants