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/15 14:34:40 UTC

[incubator-openwhisk-runtime-ruby] branch master updated: actionloop use source (#21)

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


The following commit(s) were added to refs/heads/master by this push:
     new ef40347  actionloop use source (#21)
ef40347 is described below

commit ef40347d774a824fce0f73474c22d407bf5b9e3d
Author: Michele Sciabarra <30...@users.noreply.github.com>
AuthorDate: Wed May 15 16:34:36 2019 +0200

    actionloop use source (#21)
---
 core/ruby2.6ActionLoop/Dockerfile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/core/ruby2.6ActionLoop/Dockerfile b/core/ruby2.6ActionLoop/Dockerfile
index c1ab75f..814608e 100644
--- a/core/ruby2.6ActionLoop/Dockerfile
+++ b/core/ruby2.6ActionLoop/Dockerfile
@@ -14,7 +14,14 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM openwhisk/actionloop-v2: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 ruby:2.6.2-alpine3.9
 RUN mkdir -p /proxy/bin /proxy/lib /proxy/action
 WORKDIR /proxy