Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Automatically install all of our pre-built extensions when we install…
Browse files Browse the repository at this point in the history
… php. (#237)
  • Loading branch information
chingor13 authored Mar 22, 2017
1 parent 6367923 commit 500b0c2
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 29 deletions.
7 changes: 7 additions & 0 deletions php-nginx/build-scripts/install_php56.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@ set -xe
apt-get install -y \
gcp-php56 \
gcp-php56-apcu \
gcp-php56-cassandra \
gcp-php56-ev \
gcp-php56-event \
gcp-php56-grpc \
gcp-php56-imagick \
gcp-php56-json \
gcp-php56-mailparse \
gcp-php56-memcache \
gcp-php56-memcached \
gcp-php56-mongodb \
gcp-php56-oauth \
gcp-php56-phalcon \
gcp-php56-pq \
gcp-php56-rdkafka \
gcp-php56-redis \
gcp-php56-suhosin

Expand Down
7 changes: 7 additions & 0 deletions php-nginx/build-scripts/install_php70.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,18 @@ apt-get install -y \
gcp-php70 \
gcp-php70-apcu \
gcp-php70-apcu-bc \
gcp-php70-cassandra \
gcp-php70-ev \
gcp-php70-event \
gcp-php70-grpc \
gcp-php70-imagick \
gcp-php70-mailparse \
gcp-php70-memcached \
gcp-php70-mongodb \
gcp-php70-oauth \
gcp-php70-phalcon \
gcp-php70-pq \
gcp-php70-rdkafka \
gcp-php70-redis

# Enable some extensions for backward compatibility
Expand Down
6 changes: 6 additions & 0 deletions php-nginx/build-scripts/install_php71.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ apt-get install -y \
gcp-php71 \
gcp-php71-apcu \
gcp-php71-apcu-bc \
gcp-php71-cassandra \
gcp-php71-ev \
gcp-php71-event \
gcp-php71-grpc \
gcp-php71-imagick \
gcp-php71-mailparse \
gcp-php71-memcached \
gcp-php71-mongodb \
gcp-php71-oauth \
gcp-php71-pq \
gcp-php71-rdkafka \
gcp-php71-redis

# Enable some extensions for backward compatibility
Expand Down
10 changes: 0 additions & 10 deletions testapps/php56_extensions/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,3 @@
# limitations under the License.

FROM ${BASE_IMAGE}

RUN apt-get update -y && \
apt-get install -y \
gcp-php56-ev \
gcp-php56-event \
gcp-php56-oauth \
gcp-php56-pq \
gcp-php56-rdkafka \
gcp-php56-phalcon \
gcp-php56-cassandra
10 changes: 0 additions & 10 deletions testapps/php70_extensions/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,3 @@
# limitations under the License.

FROM ${BASE_IMAGE}

RUN apt-get update -y && \
apt-get install -y \
gcp-php70-ev \
gcp-php70-event \
gcp-php70-oauth \
gcp-php70-pq \
gcp-php70-rdkafka \
gcp-php70-phalcon \
gcp-php70-cassandra
9 changes: 0 additions & 9 deletions testapps/php71_extensions/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@
# limitations under the License.

FROM ${BASE_IMAGE}

RUN apt-get update -y && \
apt-get install -y \
gcp-php71-ev \
gcp-php71-event \
gcp-php71-oauth \
gcp-php71-pq \
gcp-php71-rdkafka \
gcp-php71-cassandra

0 comments on commit 500b0c2

Please sign in to comment.