2017-07-08 26 views
0

ドッキングステーション/コンテナの新機能です。./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. 

とのエラー、その後のポイントにコンパイル私は醸造でzlibをインストールしたMacを実行しています。私は長く頑張ったが、このエラーではあまり見つけられなかった。

このエラーのそれはまた、あなたがそうあなたが

FROM debian

https://github.com/meteorhacks/mup-frontend-server/blob/master/Dockerfile

開始時に参照する

+0

あなたのコンテナ内のzlibをインストールする必要があるので、あなたのDockerfileが、私はこれをどのように行うのですかzlibの – user2915097

+0

のインストールを持っていますローカル?私はnpmモジュールを扱うのに慣れています - それほど多くのapt-getではなく – Allreadyhome

答えて

0

Dockerfile docker.ioに自動で構築するために失敗したので必要な場所の前にDockerfileにそのような行が必要です1つのRUN中

RUN apt-get update && apt-get install -y \ zlib \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/*

libに、あなたは、アップデートのインストールとクリーン

0
yum install -y httpd-devel pcre perl pcre-devel zlib zlib-devel GeoIP GeoIP-devel 


Download required packages 

cd 
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz 
wget http://zlib.net/zlib-1.2.5.tar.gz 
wget ftp://ftp.openssl.org/source/openssl-0.9.8o.tar.gz 

Now you have to untar these files. 
tar -xvf zlib-1.2.5.tar.gz 
tar -xvf pcre-8.10.tar.gz 
tar -xvf openssl-0.9.8o.tar.gz 
関連する問題