Skip to content

Commit

Permalink
Add install scripts for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mhart committed Oct 29, 2019
1 parent ca61da8 commit 10cb548
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/nodejs10.x/install.sh
@@ -0,0 +1,14 @@
#!/bin/bash

rm -rf dependencies
mkdir -p dependencies

docker run --rm -v "$PWD"/dependencies:/lambda/opt lambci/yumda:2 yum install -y git GraphicsMagick jp2a

# To test:

# sam local invoke --no-event

# OR

# sls invoke local --docker -f hello-world
14 changes: 14 additions & 0 deletions examples/python3.7/install.sh
@@ -0,0 +1,14 @@
#!/bin/bash

rm -rf dependencies
mkdir -p dependencies

docker run --rm -v "$PWD"/dependencies:/lambda/opt lambci/yumda:1 yum install -y git GraphicsMagick jp2a

# To test:

# sam local invoke --no-event

# OR

# sls invoke local --docker -f hello-world

0 comments on commit 10cb548

Please sign in to comment.