We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好php:5.6-fpm 安装openssl zlib报Cannot find config.m4请问怎么解决呢我的配置如下 FROM php:5.6-fpm MAINTAINER
ENV PHPREDIS_VERSION 2.2.8
RUN mkdir -p /usr/src/php/ext/redis && curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 && echo 'redis' >> /usr/src/php-available-exts && docker-php-ext-install redis
RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list && echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libxml2-dev libfreetype6-dev libmcrypt-dev php5-dev autoconf libbz2-dev automake libtool m4 && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr/include --with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include --with-openssl-dir=/usr/include --with-freetype-dir=/usr/include --with-libxml-dir=/usr/include && docker-php-ext-install bz2 gd mysqli pdo_mysql zip opcache redis openssl zlib curl xmlrpc mcrypt iconv
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --enable-mbstring --enable-sockets --enable-gd-native-ttf --enable-zip --enable-xml --enable-sysvsem --enable-soap --enable-pcntl --enable-cli --enable-sysvshm --enable-shared --enable-opcache
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好php:5.6-fpm 安装openssl zlib报Cannot find config.m4请问怎么解决呢我的配置如下
FROM php:5.6-fpm
MAINTAINER
ENV PHPREDIS_VERSION 2.2.8
RUN mkdir -p /usr/src/php/ext/redis
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1
&& echo 'redis' >> /usr/src/php-available-exts
&& docker-php-ext-install redis
修改为163源
RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak &&
echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list &&
echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list &&
echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list &&
echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev
libxml2-dev libfreetype6-dev libmcrypt-dev php5-dev autoconf
libbz2-dev automake libtool m4
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure --enable-mbstring --enable-ftp --with-gd --with-jpeg-dir=/usr/include --with-png-dir=/usr/include --with-mysql=mysqlnd \
--with-mysqli=mysqlnd --with-openssl-dir=/usr/include --with-openssl --with-pdo-mysql=mysqlnd --with-pear \
--enable-sockets --with-freetype-dir=/usr/include --enable-gd-native-ttf --with-zlib --with-libxml-dir=/usr/include \
--with-xmlrpc --enable-zip --enable-fpm --enable-xml --with-curl --with-mcrypt --with-mysql-sock --enable-sysvsem \
--with-iconv --enable-soap --enable-pcntl --enable-cli --enable-sysvshm --enable-shared --with-gnu-ld --enable-opcache \
&& docker-php-ext-configure gd --with-png-dir=/usr/include --with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include --with-openssl-dir=/usr/include
--with-freetype-dir=/usr/include --with-libxml-dir=/usr/include
&& docker-php-ext-install bz2 gd mysqli pdo_mysql zip opcache redis openssl zlib curl xmlrpc mcrypt iconv
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --enable-mbstring --enable-sockets --enable-gd-native-ttf --enable-zip --enable-xml --enable-sysvsem --enable-soap --enable-pcntl --enable-cli --enable-sysvshm --enable-shared --enable-opcache
The text was updated successfully, but these errors were encountered: