Skip to content

Commit

Permalink
Merge pull request #145 from bryanlatten/fix-gearman
Browse files Browse the repository at this point in the history
Dockerfile: un-break gearman build issue
  • Loading branch information
bryanlatten authored Oct 3, 2017
2 parents cabf749 + 73f79fb commit 26fc674
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
5 changes: 3 additions & 2 deletions Dockerfile-56
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN /bin/bash -e /security_updates.sh && \
locales \
&& \
locale-gen en_US.UTF-8 && export LANG=en_US.UTF-8 && \
add-apt-repository ppa:git-core/ppa -y && \
add-apt-repository ppa:ondrej/pkg-gearman -y && \
add-apt-repository ppa:ondrej/php -y && \
echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | tee /etc/apt/sources.list.d/newrelic.list && \
wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add - && \
Expand Down Expand Up @@ -66,6 +66,7 @@ RUN apt-get update -q && \
php7.2-json \
&& \
apt-get -yqq install \
libgearman8 \
php5.6 \
php5.6-apcu \
php5.6-bcmath \
Expand All @@ -74,14 +75,14 @@ RUN apt-get update -q && \
php5.6-dev \
php5.6-fpm \
php5.6-gd \
php5.6-gearman \
php5.6-igbinary \
php5.6-intl \
php5.6-json \
php5.6-mbstring \
php5.6-mcrypt \
php5.6-mysql \
php5.6-pgsql \
php5.6-gearman \
php5.6-memcache \
php5.6-memcached \
php5.6-xdebug \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile-70
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN /bin/bash -e /security_updates.sh && \
locales \
&& \
locale-gen en_US.UTF-8 && export LANG=en_US.UTF-8 && \
add-apt-repository ppa:git-core/ppa -y && \
add-apt-repository ppa:ondrej/pkg-gearman -y && \
add-apt-repository ppa:ondrej/php -y && \
echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | tee /etc/apt/sources.list.d/newrelic.list && \
wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add - && \
Expand Down Expand Up @@ -66,6 +66,7 @@ RUN apt-get update -q && \
php7.2-json \
&& \
apt-get -yqq install \
libgearman8 \
php7.0 \
php7.0-apcu \
php7.0-bcmath \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-71
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN /bin/bash -e /security_updates.sh && \
locales \
&& \
locale-gen en_US.UTF-8 && export LANG=en_US.UTF-8 && \
add-apt-repository ppa:git-core/ppa -y && \
add-apt-repository ppa:ondrej/pkg-gearman -y && \
add-apt-repository ppa:ondrej/php -y && \
echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | tee /etc/apt/sources.list.d/newrelic.list && \
wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add - && \
Expand Down Expand Up @@ -66,6 +66,7 @@ RUN apt-get update -q && \
php7.2-json \
&& \
apt-get -yqq install \
libgearman8 \
php7.1 \
php7.1-apcu \
php7.1-bcmath \
Expand All @@ -74,14 +75,14 @@ RUN apt-get update -q && \
php7.1-dev \
php7.1-fpm \
php7.1-gd \
php7.1-gearman \
php7.1-igbinary \
php7.1-intl \
php7.1-json \
php7.1-mbstring \
php7.1-mcrypt \
php7.1-mysql \
php7.1-pgsql \
php7.1-gearman \
php7.1-memcache \
php7.1-memcached \
php7.1-xml \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-72
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN /bin/bash -e /security_updates.sh && \
locales \
&& \
locale-gen en_US.UTF-8 && export LANG=en_US.UTF-8 && \
add-apt-repository ppa:git-core/ppa -y && \
add-apt-repository ppa:ondrej/pkg-gearman -y && \
add-apt-repository ppa:ondrej/php -y && \
echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | tee /etc/apt/sources.list.d/newrelic.list && \
wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add - && \
Expand Down Expand Up @@ -73,15 +73,16 @@ RUN apt-get update -q && \
# newrelic-daemon

RUN apt-get -yqq install \
libgearman8 \
php7.2 \
php7.2-apcu \
php7.2-bcmath \
php7.2-bz2 \
php7.2-curl \
php7.2-dev \
php7.2-fpm \
php7.2-gearman \
php7.2-gd \
php7.2-gearman \
php7.2-igbinary \
php7.2-intl \
php7.2-json \
Expand Down
2 changes: 2 additions & 0 deletions container/root/tests/php-fpm/5.6.goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ command:
# Not common to all variants, test in supported children
php -m | grep -i memcache:
exit-status: 0
php -m | grep -i gearman:
exit-status: 0

package:
php5.6:
Expand Down
2 changes: 2 additions & 0 deletions container/root/tests/php-fpm/7.0.goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ command:
# Not common to all variants, test in supported children
php -m | grep -i memcache:
exit-status: 0
php -m | grep -i gearman:
exit-status: 0

package:
php7.0:
Expand Down
2 changes: 2 additions & 0 deletions container/root/tests/php-fpm/7.1.goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ command:
# Not common to all variants, test in supported children
php -m | grep -i memcache:
exit-status: 0
php -m | grep -i gearman:
exit-status: 0

package:
php7.1:
Expand Down

0 comments on commit 26fc674

Please sign in to comment.