This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch fix-compile-script
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-python.git

commit e3612b510092dcc1e01bee994d1bf458cea020e1
Author: Joshua Auerbach <[email protected]>
AuthorDate: Sat Nov 7 09:42:32 2020 -0500

    Add nim to the python runtimes (#3)
---
 core/python2ActionLoop/Dockerfile   | 3 +++
 core/python3ActionLoop/Dockerfile   | 3 +++
 core/python3AiActionLoop/Dockerfile | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/core/python2ActionLoop/Dockerfile 
b/core/python2ActionLoop/Dockerfile
index ea45fd8..dc7d258 100644
--- a/core/python2ActionLoop/Dockerfile
+++ b/core/python2ActionLoop/Dockerfile
@@ -67,6 +67,9 @@ RUN pip install --no-cache-dir --upgrade pip setuptools six \
         twisted==18.7.0 \
         signalfx_lambda==0.2.1
 
+# install nim
+RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | bash
+
 RUN mkdir -p /action
 WORKDIR /
 COPY --from=builder_source /bin/proxy /bin/proxy_source
diff --git a/core/python3ActionLoop/Dockerfile 
b/core/python3ActionLoop/Dockerfile
index 0cfc522..49ee0d0 100644
--- a/core/python3ActionLoop/Dockerfile
+++ b/core/python3ActionLoop/Dockerfile
@@ -43,6 +43,9 @@ COPY signalfx-lambda-python /opt/signalfx_lambda
 COPY requirements.txt requirements.txt
 RUN pip install --no-cache-dir -r requirements.txt
 
+# install nim
+RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | bash
+
 RUN mkdir -p /action
 WORKDIR /
 COPY --from=builder_source /bin/proxy /bin/proxy_source
diff --git a/core/python3AiActionLoop/Dockerfile 
b/core/python3AiActionLoop/Dockerfile
index 7f2ec73..0a61e1d 100644
--- a/core/python3AiActionLoop/Dockerfile
+++ b/core/python3AiActionLoop/Dockerfile
@@ -73,6 +73,9 @@ RUN pip3 install --upgrade pip six &&\
     pip3 install --no-cache-dir -r requirements.txt &&\
     ln -sf /usr/bin/python3 /usr/local/bin/python
 
+# install nim
+RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | bash
+
 RUN mkdir -p /action
 WORKDIR /
 

Reply via email to