PHP: update dockerfiles to add MAKEFLAGS=-j8

This commit is contained in:
Stanley Cheung 2019-10-25 14:46:18 -07:00
parent 0856e267ef
commit 220c4de732
20 changed files with 40 additions and 0 deletions

View File

@ -44,6 +44,8 @@ COPY client.php ./index.php
COPY composer.json .
COPY echo.proto .
RUN chmod 644 index.php
RUN protoc -I=. echo.proto --php_out=. --grpc_out=.
RUN composer install

View File

@ -18,6 +18,8 @@ RUN apt-get -qq update && apt-get -qq install -y \
autoconf automake curl git libtool \
pkg-config unzip zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -44,6 +44,8 @@ COPY client.php ./index.php
COPY composer.json .
COPY echo.proto .
RUN chmod 644 index.php
RUN protoc -I=. echo.proto --php_out=. --grpc_out=.
RUN composer install

View File

@ -16,6 +16,8 @@ FROM php:7.2-alpine3.9
RUN apk add autoconf g++ make zlib-dev git bash wget
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -18,6 +18,8 @@ RUN apt-get -qq update && apt-get -qq install -y \
autoconf automake git libtool pkg-config \
valgrind wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -18,6 +18,8 @@ RUN apt-get -qq update && apt-get -qq install -y \
autoconf automake git libtool pkg-config \
valgrind wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -18,6 +18,8 @@ RUN apt-get -qq update && apt-get -qq install -y \
autoconf automake git libtool pkg-config \
wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -36,6 +36,8 @@ RUN wget http://ftp.gnu.org/gnu/bison/bison-3.4.2.tar.gz && \
WORKDIR /github/php-src
ARG MAKEFLAGS=-j8
RUN git clone https://github.com/php/php-src .
RUN git checkout php-7.2.22 && \

View File

@ -18,6 +18,8 @@ RUN apt-get -qq update && apt-get -qq install -y \
autoconf automake git libtool pkg-config \
wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -18,6 +18,8 @@ RUN apt-get -qq update && apt-get -qq install -y \
autoconf automake git libtool pkg-config \
valgrind wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -36,6 +36,8 @@
COPY composer.json .
COPY echo.proto .
RUN chmod 644 index.php
RUN protoc -I=. echo.proto --php_out=. --grpc_out=.
RUN composer install

View File

@ -20,6 +20,8 @@
autoconf automake curl git libtool ${'\\'}
pkg-config unzip zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -36,6 +36,8 @@
COPY composer.json .
COPY echo.proto .
RUN chmod 644 index.php
RUN protoc -I=. echo.proto --php_out=. --grpc_out=.
RUN composer install

View File

@ -18,6 +18,8 @@
RUN apk add autoconf g++ make zlib-dev git bash wget
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -20,6 +20,8 @@
autoconf automake git libtool pkg-config ${'\\'}
valgrind wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -20,6 +20,8 @@
autoconf automake git libtool pkg-config ${'\\'}
valgrind wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -20,6 +20,8 @@
autoconf automake git libtool pkg-config ${'\\'}
wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -35,6 +35,8 @@
WORKDIR /github/php-src
ARG MAKEFLAGS=-j8
RUN git clone https://github.com/php/php-src .
RUN git checkout php-7.2.22 && ${'\\'}

View File

@ -20,6 +20,8 @@
autoconf automake git libtool pkg-config ${'\\'}
wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp

View File

@ -20,6 +20,8 @@
autoconf automake git libtool pkg-config ${'\\'}
valgrind wget zlib1g-dev
ARG MAKEFLAGS=-j8
WORKDIR /tmp