当我在来自this GitHub repo的代码的根目录中键入docker build -t nameOfImageToBeBuilt .
时,我得到以下错误:
ERROR: unsatisfiable constraints:
openjdk8-8.171.11-r0:
breaks: world[openjdk8=8.151.12-r0]
为了不抛出这个错误,我需要对the GitHub repo中的代码进行哪些具体的更改?
发布于 2018-07-25 20:05:44
它说版本8-8.171.11-r0中断(不确定这意味着什么)版本8.151.12-r0,这就是你要安装的。
我通过在Dockerfile中指定8-8.171.11-r0修复了这个问题。
https://stackoverflow.com/questions/51506784
复制相似问题