You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2021/02/27 17:52:36 UTC
[openwhisk-runtime-python] 10/14: fix failing python2.7 building
(#4)
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 <pi...@nimbella.com>
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 /