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/07/18 18:37:01 UTC

[incubator-openwhisk-runtime-rust] branch master updated: actionloop source (#11)

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


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

commit 1602ce643fedb6fcf3aac4db6f7b1aff386501f5
Author: Michele Sciabarra <30...@users.noreply.github.com>
AuthorDate: Thu Jul 18 20:36:57 2019 +0200

    actionloop source (#11)
    
    * actionloop source
    
    * fixed paths
---
 rust1.34/Dockerfile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/rust1.34/Dockerfile b/rust1.34/Dockerfile
index 8e03ab6..d9eae1d 100644
--- a/rust1.34/Dockerfile
+++ b/rust1.34/Dockerfile
@@ -14,7 +14,14 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM openwhisk/actionloop-v2:4376fee as builder
+FROM golang:1.11 as builder
+ENV PROXY_SOURCE=https://github.com/apache/incubator-openwhisk-runtime-go/archive/golang1.11@1.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-1.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 rust:1.34
 COPY --from=builder /bin/proxy /bin/proxy
 RUN mkdir -p /action