sorry
sorry copied to clipboard
Docker 打包镜像报错
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
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