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 bddb9a30f534a7d0a2587d6c2ecb8b544b686389
Author: Pierluigi Di Lorenzo <[email protected]>
AuthorDate: Fri Jan 15 08:09:51 2021 +0100

    fix failing python2.7 building (#4)
    
    * fix failing greenlet building
    
    * normalize nim-install-linux.sh for alpine
---
 core/python2ActionLoop/Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/python2ActionLoop/Dockerfile 
b/core/python2ActionLoop/Dockerfile
index dc7d258..c165012 100644
--- a/core/python2ActionLoop/Dockerfile
+++ b/core/python2ActionLoop/Dockerfile
@@ -40,7 +40,9 @@ ARG GO_PROXY_BUILD_FROM=source
 # Upgrade and install basic Python dependencies
 RUN apk add --no-cache \
         bash \
+        build-base \
         bzip2-dev \
+        curl \
         gcc \
         libc-dev \
         libxslt-dev \
@@ -68,7 +70,7 @@ RUN pip install --no-cache-dir --upgrade pip setuptools six \
         signalfx_lambda==0.2.1
 
 # install nim
-RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | bash
+RUN curl https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh | sed 
-e 's/--directory/-d/g'| bash
 
 RUN mkdir -p /action
 WORKDIR /

Reply via email to