Docker文件并执行phpize错误

时间:2016-11-21 13:59:11

标签: docker dockerfile phpize

当我尝试构建Docker文件并执行phpize命令时,我收到以下错误。

Cannot find config.m4. 
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

我不能在Docker文件中使用phpize吗?

RUN apt-get install -qq -y php7.0-dev git pkg-config build-essential libmemcached-dev subversion

RUN cd ~
RUN git clone https://github.com/php-memcached-dev/php-memcached.git
RUN cd php-memcached
RUN phpize && ./configure
RUN ./configure --disable-memcached-sasl
RUN make all install

0 个答案:

没有答案