我是码头工人/容器的新手。./configure:error:HTTP gzip模块需要zlib库
我试图运行与我曾尝试使用下面的命令放在为mup-frontend OpenSSL的漏洞的修复分叉:
docker build ./
它编译成一个点,则错误与
./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using --without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.
我正在运行一个mac,所以安装了zlib和brew。我搜索了很长时间,但很难找到这个错误。
由于此错误,也不能建立在自动化docker.io
你需要在容器中安装zlib的,所以你的Dockerfile将有安装的zlib – user2915097
的我如何做到这一点本地?我习惯于使用npm模块,而不是使用apt-get等。 – Allreadyhome