Tag: zlib

./configure:错误:HTTP gzip模块需要zlib库

我是新来的docker/容器。 我正在尝试运行一个修复程序,使用以下命令来修复mup-front的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. 我正在运行一个如此安装zlib与酿造的Mac。 我search了很长时间,但很难find这个错误。 由于这个错误,它也无法在docker.io中build立自动化

Node.js zlib gzip缓冲区作为档案内的“文件”

我想在node.js中将gzip中的utf-8缓冲区作为gzip归档文件中的“文件”进行压缩。 似乎没有在zlib页面上有关于如何做到这一点的任何文档,没有从我迄今为止发现的堆栈溢出的见解。 最后,我实际上并不想写一个文件到文件系统,而只是发送一个http请求的数据。 如果任何人有任何想法如何做到这一点(无论zlib是否已经支持它,或者是否有一个包可以做到这一点),这将是一个很大的帮助! 只是为了清楚这是什么,这是通过http发送一个Dockerfile(stringforms)到一个docker实例的build image命令。 谢谢!

静态编译PHP 5.6的Zlib

我正在使用docker图像5.6.30-alpine https://hub.docker.com/_/php/ 。 我收到错误 PHP Notice: getimagesize(): The image is a compressed SWF file, but you do not have a static version of the zlib extension enabled in /var/www/builds/stage81/platform/class/Wm/View/FileInfo.php on line 55 我找不到一个方法来使zlib静态编译。 我尝试了所有可能的选项包括 添加zlib-dev ./configure –with-zlib –with-zlib-dir=/usr ./configure –with-zlib=/usr –with-zlib-dir=/usr 他们都没有工作,仍然得到相同的信息。 有没有办法让zlib静态编译? 有没有解决方法?