This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch php8
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-php.git

commit 791f8718233b667a65ddc9b78e005acc9abdb366
Author: Rodric Rabbah <[email protected]>
AuthorDate: Sat Feb 27 12:44:23 2021 -0500

    Update php 7.4/8 container images for Nimbella.
---
 core/php7.4Action/Dockerfile    | 4 ++++
 core/php7.4Action/composer.json | 3 ++-
 core/php8.0Action/Dockerfile    | 4 ++++
 core/php8.0Action/composer.json | 3 ++-
 4 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/core/php7.4Action/Dockerfile b/core/php7.4Action/Dockerfile
index e53dc33..e801fbb 100644
--- a/core/php7.4Action/Dockerfile
+++ b/core/php7.4Action/Dockerfile
@@ -48,6 +48,7 @@ RUN \
       libxml2-dev \
       libzip-dev \
       postgresql-server-dev-11 \
+      python \
       unzip \
       zlib1g-dev \
     # Cleanup apt data, we do not need them later on.
@@ -80,6 +81,9 @@ RUN mkdir -p /phpAction/composer
 COPY composer.json /phpAction/composer
 RUN cd /phpAction/composer && /usr/bin/composer install --no-plugins 
--no-scripts --prefer-dist --no-dev -o && rm composer.lock
 
+# install nim
+RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | bash
+
 # install proxy binary along with compile and launcher scripts
 RUN mkdir -p /phpAction/action
 WORKDIR /phpAction
diff --git a/core/php7.4Action/composer.json b/core/php7.4Action/composer.json
index 83202f0..59bbe8a 100644
--- a/core/php7.4Action/composer.json
+++ b/core/php7.4Action/composer.json
@@ -6,6 +6,7 @@
     },
     "require": {
         "guzzlehttp/guzzle": "6.5.5",
-        "ramsey/uuid": "3.9.3"
+        "ramsey/uuid": "3.9.3",
+        "nimbella/nimbella": "^1.1"
     }
 }
diff --git a/core/php8.0Action/Dockerfile b/core/php8.0Action/Dockerfile
index ee4d83e..c9ff4b8 100644
--- a/core/php8.0Action/Dockerfile
+++ b/core/php8.0Action/Dockerfile
@@ -36,6 +36,7 @@ ARG GO_PROXY_BUILD_FROM=release
 # install PHP extensions
 RUN apt-get -y update \
     && apt-get -y install --no-install-recommends \
+      python \
       unzip \
       libfreetype6 \
       libicu63 \
@@ -96,6 +97,9 @@ RUN mkdir -p /phpAction/composer
 COPY composer.json /phpAction/composer
 RUN cd /phpAction/composer && /usr/bin/composer install --no-plugins 
--no-scripts --prefer-dist --no-dev -o && rm composer.lock
 
+# install nim
+RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | bash
+
 # install proxy binary along with compile and launcher scripts
 RUN mkdir -p /phpAction/action
 WORKDIR /phpAction
diff --git a/core/php8.0Action/composer.json b/core/php8.0Action/composer.json
index 8380a12..e48193f 100644
--- a/core/php8.0Action/composer.json
+++ b/core/php8.0Action/composer.json
@@ -6,6 +6,7 @@
     },
     "require": {
         "guzzlehttp/guzzle": "7.2.0",
-        "ramsey/uuid": "4.1.1"
+        "ramsey/uuid": "4.1.1",
+        "nimbella/nimbella": "^1.1"
     }
 }

Reply via email to