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 <[email protected]>
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/[email protected]
+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