You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ms...@apache.org on 2019/05/12 20:01:05 UTC
[incubator-openwhisk-runtime-php] branch master updated: use
released sources to build actionloop proxy (#56)
This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-php.git
The following commit(s) were added to refs/heads/master by this push:
new cc1e0ac use released sources to build actionloop proxy (#56)
cc1e0ac is described below
commit cc1e0ac19ffa8afadb1e7f1dd1cfa8831cf2912c
Author: Michele Sciabarra <30...@users.noreply.github.com>
AuthorDate: Sun May 12 22:01:00 2019 +0200
use released sources to build actionloop proxy (#56)
---
core/php7.3Action/Dockerfile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/core/php7.3Action/Dockerfile b/core/php7.3Action/Dockerfile
index 1b203b1..67fcd5d 100644
--- a/core/php7.3Action/Dockerfile
+++ b/core/php7.3Action/Dockerfile
@@ -15,8 +15,14 @@
# limitations under the License.
#
-FROM openwhisk/actionloop:42fd5e6 as builder
-
+FROM golang:1.11 as builder
+ENV PROXY_SOURCE=https://github.com/apache/incubator-openwhisk-runtime-go/archive/golang1.11@v1.13.0-incubating.tar.gz
+RUN curl -L "$PROXY_SOURCE" | tar xzf - \
+ && mkdir -p src/github.com/apache \
+ && mv incubator-openwhisk-runtime-go-golang1.11-v1.13.0-incubating \
+ src/github.com/apache/incubator-openwhisk-runtime-go \
+ && cd src/github.com/apache/incubator-openwhisk-runtime-go/main \
+ && CGO_ENABLED=0 go build -o /bin/proxy
FROM php:7.3.3-cli-stretch
# install dependencies