You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2022/03/28 10:06:43 UTC

[openwhisk-runtime-python] branch master updated: Install zip (#122)

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

mhenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-python.git


The following commit(s) were added to refs/heads/master by this push:
     new e083533  Install zip (#122)
e083533 is described below

commit e083533baa6c5d8bfadf78910eddeded4753a645
Author: Luke-Roy-IBM <83...@users.noreply.github.com>
AuthorDate: Mon Mar 28 12:06:39 2022 +0200

    Install zip (#122)
    
    This is for convenience so customers can package their actions inside of the runtime.
---
 core/python39Action/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/core/python39Action/Dockerfile b/core/python39Action/Dockerfile
index 2366371..0f3ff90 100644
--- a/core/python39Action/Dockerfile
+++ b/core/python39Action/Dockerfile
@@ -38,6 +38,10 @@ FROM python:3.9-buster
 # select the builder to use
 ARG GO_PROXY_BUILD_FROM=release
 
+# install zip
+RUN apt-get update && apt-get install -y zip \
+    && rm -rf /var/lib/apt/lists/*
+
 # Install common modules for python
 COPY requirements_common.txt requirements_common.txt
 COPY requirements.txt requirements.txt