You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by du...@apache.org on 2018/01/17 17:19:13 UTC
[incubator-openwhisk] branch master updated: docs: Use bash instead
of sh when building virtualenv (#3181)
This is an automated email from the ASF dual-hosted git repository.
dubeejw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new a6a782f docs: Use bash instead of sh when building virtualenv (#3181)
a6a782f is described below
commit a6a782f7d3a409c542c157e4be46074ef69a67ce
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Wed Jan 17 12:19:10 2018 -0500
docs: Use bash instead of sh when building virtualenv (#3181)
---
docs/actions.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/actions.md b/docs/actions.md
index b928a20..d922140 100644
--- a/docs/actions.md
+++ b/docs/actions.md
@@ -709,8 +709,8 @@ Below is an example scenario for installing dependencies, packaging them in a vi
1. Given a `requirements.txt` file that contains the `pip` modules and versions to install, run the following to install the dependencies and create a virtualenv using a compatible Docker image:
```bash
- docker run --rm -v "$PWD:/tmp" openwhisk/python3action sh \
- -c "cd tmp; virtualenv virtualenv; source virtualenv/bin/activate; pip install -r requirements.txt;"
+ docker run --rm -v "$PWD:/tmp" openwhisk/python3action bash \
+ -c "cd tmp && virtualenv virtualenv && source virtualenv/bin/activate && pip install -r requirements.txt"
```
2. Archive the virtualenv directory and any additional Python files:
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].