试图用docker做apt-get,导致错误100

我有一个node.js应用程序,我dockerizing,它有一个系统依赖magicgraph。 我似乎无法安装它,我尝试apt-get在Dockerfile像这样RUN apt-get install --force-yes -y graphicsmagick和一些变化,但我不断收到错误The command '/bin/sh -c apt-get install --force-yes -y graphicsmagick' returned a non-zero code: 100

不知道如何解决这个问题,有没有一步教程如何安装gz文件与http://www.graphicsmagick.org/INSTALL-unix.htmlurl也许?

在安装新软件包之前,您需要更新可用软件包列表。

RUN apt-get install --force-yes -y graphicsmagickreplace为

RUN apt-get update && apt-get install -y graphicsmagick

如果它不解决问题显示日志请