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版本,构建镜像却有两个php镜像。如下
我怀疑是php的构建dockerfile 出错了,在你的alphine-php基础上写的,你能帮我看看指出哪里 可以避免构建两个php镜像的地方吗? thx a lot
`FROM php:5.6-fpm MAINTAINER amor LABEL maintainer "123" COPY ./source.php.annex /etc/apt/sources.list
RUN apt-get update && apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && docker-php-ext-install gd && : && apt-get install -y libicu-dev && docker-php-ext-install intl && : && apt-get install -y libxml2-dev && apt-get install -y libxslt-dev && docker-php-ext-install soap && docker-php-ext-install xsl && docker-php-ext-install xmlrpc && docker-php-ext-install wddx && : && apt-get install -y libbz2-dev && docker-php-ext-install bz2 && : && docker-php-ext-install zip && docker-php-ext-install pcntl && docker-php-ext-install pdo_mysql && docker-php-ext-install mysqli && docker-php-ext-install mbstring && docker-php-ext-install exif && docker-php-ext-install bcmath && docker-php-ext-install calendar && docker-php-ext-install sockets && docker-php-ext-install gettext && docker-php-ext-install shmop && docker-php-ext-install sysvmsg && docker-php-ext-install sysvsem && docker-php-ext-install sysvshm && docker-php-ext-install opcache
CMD ["php-fpm"] `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,这里出了个小状况。在您的基础上我更换了php 5.6版本,构建镜像却有两个php镜像。如下
我怀疑是php的构建dockerfile 出错了,在你的alphine-php基础上写的,你能帮我看看指出哪里 可以避免构建两个php镜像的地方吗? thx a lot
`FROM php:5.6-fpm
MAINTAINER amor
LABEL maintainer "123"
COPY ./source.php.annex /etc/apt/sources.list
RUN apt-get update
&& apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
&& docker-php-ext-install gd
&& :
&& apt-get install -y libicu-dev
&& docker-php-ext-install intl
&& :
&& apt-get install -y libxml2-dev
&& apt-get install -y libxslt-dev
&& docker-php-ext-install soap
&& docker-php-ext-install xsl
&& docker-php-ext-install xmlrpc
&& docker-php-ext-install wddx
&& :
&& apt-get install -y libbz2-dev
&& docker-php-ext-install bz2
&& :
&& docker-php-ext-install zip
&& docker-php-ext-install pcntl
&& docker-php-ext-install pdo_mysql
&& docker-php-ext-install mysqli
&& docker-php-ext-install mbstring
&& docker-php-ext-install exif
&& docker-php-ext-install bcmath
&& docker-php-ext-install calendar
&& docker-php-ext-install sockets
&& docker-php-ext-install gettext
&& docker-php-ext-install shmop
&& docker-php-ext-install sysvmsg
&& docker-php-ext-install sysvsem
&& docker-php-ext-install sysvshm
&& docker-php-ext-install opcache
CMD ["php-fpm"]
`
The text was updated successfully, but these errors were encountered: