这个周末,我们的docker形象崩溃了,因为它不能再建造了。在查看统计数据时,我看到了这一行:
crypt_blowfish-1.2/crypt.h:17:23: fatal error: gnu-crypt.h: No such file or directory
更详细地说:
^{pr2}$我们的实现与使用bcrypt的包cryptacular一起工作。上周所有的软件包都没有更新,我不知道从哪里开始。在
作为附加信息,错误发生在Dockerfile
的这个块中
RUN apt-get install -y build-essential libfontconfig && \
pip install -q -U pip && \
pip install -q -r requirements.txt && \
apt-get remove -y --purge build-essential && \
apt-get autoremove -y && \
apt-get clean -y
其中requirements.txt
使用cryptacular==1.4.1
编辑:我们正在处理python:3.6-slim
图像
我能够使用virtualenv与python2.7.14一起安装,通过venv安装
我们不知道确切的错误,但上周末在基础映像中进行了安全更新。因此,我们将python映像固定到3.6.4。在
我在运行python3.6.6时也遇到了同样的问题。有了这一行程序,我就可以安装最新提交的密码。在
您需要安装mercurial
^{pr2}$有关this thread的详细信息
相关问题 更多 >
编程相关推荐