akrabat commented on a change in pull request #2369: document how to add swift 
dependencies
URL: 
https://github.com/apache/incubator-openwhisk/pull/2369#discussion_r121860489
 
 

 ##########
 File path: docs/actions.md
 ##########
 @@ -636,11 +636,13 @@ When you create an OpenWhisk Swift action with a Swift 
source file, it has to be
 To avoid the cold-start delay, you can compile your Swift file into a binary 
and then upload to OpenWhisk in a zip file. As you need the OpenWhisk 
scaffolding, the easiest way to create the binary is to build it within the 
same environment as it will be run in. These are the steps:
 
 - Run an interactive Swift action container.
-```
-docker run --rm -it -v "$(pwd):/owexec" openwhisk/swift3action bash
-```
-   This puts you in a bash shell within the Docker container. Execute the 
following commands within it:
+  ```
+  docker run --rm -it -v "$(pwd):/owexec" openwhisk/swift3action bash
+  ```
+
+  This puts you in a bash shell within the Docker container. 
 
+  Execute the following commands within it:
 - Install zip for convenience, to package the binary
 
 Review comment:
   While not directly related to this PR, zip is installed by default in the 
action, so we can remove this bullet point.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to