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/19 19:37:25 UTC

[incubator-openwhisk-runtime-python] branch master updated: use actionloop sources (#59)

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-python.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e9370a  use actionloop sources (#59)
6e9370a is described below

commit 6e9370a4cfb7a19b34b354df3ff1d92937a474c1
Author: Michele Sciabarra <30...@users.noreply.github.com>
AuthorDate: Sun May 19 21:37:21 2019 +0200

    use actionloop sources (#59)
---
 core/pythonActionLoop/Dockerfile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/core/pythonActionLoop/Dockerfile b/core/pythonActionLoop/Dockerfile
index b2daade..3664030 100644
--- a/core/pythonActionLoop/Dockerfile
+++ b/core/pythonActionLoop/Dockerfile
@@ -14,7 +14,14 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM openwhisk/actionloop:latest 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 python:3.7-stretch