コマンド「/ binに/ shの-c解凍-o php-7.2.23-src.zip」がゼロ以外のコードを返しました:1

 

Dockerfileコンテンツ

#centos7 nginxのPHPのRedisはinotify 
CentOSのFROM:7 
MAINTAINER INFOBIRD 
RUNのyum -y更新&&のyum -y wgetの解凍のzipインストールタールlftpのGCCのgcc-C ++メイクのopenssl-develのPCRE-develのPCREのautoconfのlibjpegのlibjpeg-develののlibpngのlibpng-develのFreeTypeのFreeTypeの-develのlibxml2のlibxml2-develのZLIB ZLIB-develのはglibcのglibc-develのglib2 glib2-develのBZIP2 BZIP2-develのncursesベースのncurses-develのカールカールdevelのe2fsprogsのe2fsprogsの-develのkrb5のkrb5の-develのlibidn libidn-develのOpenSSLのOpenSSLの-develのOpenLDAPのOpenLDAPの-develのnss_ldapのはopenldap-クライアントがOpenLDAPの-サーバGD GD2 GD-develのGD2-develのperlのCPAN-PCRE-develのlibicu-develの&& yumをきれいにすべての

WORKDIRは/ usr / local /ウェブサーバ

#nginxの
#RUN wgetのhttp://nginx.org/download/ nginxの-1.9.9.tar.gz 
ADDのnginxの-1.9.9.tar.gzを/ usr / local /ウェブサーバ
WORKDIR /usr/local/webserver/nginx-1.9.9 
RUNは./configure --prefix =は/ usr / local /ウェブサーバ/ nginxの--user = WWW --group = WWW --with-http_ssl_module --with-PCRE &&作る&& make installを
useraddの-s / sbinに/ nologinに-M WWW RUNを


#php 
#RUN wgetのhttps://windows.php.net/downloads/releases/archives/php-7.2.23-src.zip 
WORKDIRは/ usr / local / Webサーバの
ADD php-7.2.23-src.zipは/ usr / local / Webサーバ
#ls -al && pwdの&& 
RUN解凍-o php-7.2.23-src.zip 
RUNのls -al && pwdの
WORKDIRは/ usr / local /ウェブサーバ/ PHP-6.2.18-SRC
RUNは./configure --prefix =は/ usr / local /ウェブサーバ/ PHP --with-CONFIG-ファイルパス=は/ usr / local /ウェブサーバ/ PHPの/ etc --enable-FPM --with-FPMユーザ= WWW --with-FPM基= WWW --enable-mysqlnd --with-mysqliの= mysqlnd --with-PDO-のMySQL = mysqlnd --with-のiconv-DIR --with-FreeTypeの-DIR =は/ usr / local / FreeTypeの--with-JPEG-DIR --with-PNG-DIR --with-ZLIB --with-のlibxml-DIR = / USR --enable-XML --disable-RPATH --enable-bcmath --enable-SHMOP --enable-SYSVSEM --enable-インライン最適化--with-カール--enable-mbregex --enable-mbstringの--enable-PCNTL --enable-国際空港を--with-mcryptの--enable-ftpを--with --with-XMLRPC --with-OpenSSLの--with-はmhash --enable-PCNTL --enable-ソケット--enable-GD-ネイティブ-TTFを-gd --enable-石鹸--enable-ZIP --with- gettextの--disable-のFileInfo --enable-opcache 

#redis 
 
#のinotify-ツール
ADDが延びて/のinotify-toolsを-3.14.tar.gzは/ usr / local /ウェブサーバ/

WORKDIR /usr/local/webserver/inotify-tools-3.14 
RUNのは./configure --prefix =は/ usr / local /ウェブサーバ/ inotifyを-ツール&&メイク&& make installを

CMDを[ "は/ usr / sbinに/ initを"]

 ビルドコマンド:

ドッキングウィンドウのビルド-t lnpn。

 エラー

 

おすすめ

転載: www.cnblogs.com/kala00k/p/11895818.html