我正在尝试为工作设置docker映像,但是我遇到libssl1.0.0的问题。当我运行docker-compose build
时,这是我返回的输出
---> Running in 1d506ae8e916
dpkg: regarding libssl1.0.0_1.0.1t-1+deb8u11_amd64.deb containing libssl1.0.0:amd64, pre-dependency problem:
libssl1.0.0 pre-depends on multiarch-support
multiarch-support is not installed.
dpkg: error processing archive libssl1.0.0_1.0.1t-1+deb8u11_amd64.deb (--install):
pre-dependency problem - not installing libssl1.0.0:amd64
Selecting previously unselected package libssl1.0.0:amd64.
Errors were encountered while processing:
libssl1.0.0_1.0.1t-1+deb8u11_amd64.deb
ERROR: Service 'app' failed to build: The command '/bin/sh -c dpkg -i libssl1.0.0_1.0.1t-1+deb8u11_amd64.deb' returned a non-zero code:
我已经安装了mutliarch-support,甚至sudo apt-get remove multiarch-support
并重新安装了它。与libssl1.0.0
相同,我什至删除了libssl1.1.0
。
答案 0 :(得分:0)
您需要映像中的软件包而不是主机中的软件包。在发出错误的命令之前的一个RUN命令中安装multiarch-support。