Skip to content
This repository was archived by the owner on Oct 31, 2018. It is now read-only.

Commit 0050ef9

Browse files
gravjpignata
authored andcommitted
install required make package in docker container before building npm package
1 parent fc6dcdf commit 0050ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ image:
66
docker build --tag amazonlinux:nodejs .
77

88
package: image
9-
docker run --rm --volume ${PWD}/lambda:/build amazonlinux:nodejs npm install --production
9+
docker run --rm --volume ${PWD}/lambda:/build amazonlinux:nodejs bash -c "yum install -y make && npm install --production"
1010

1111
dist: package
1212
cd lambda && zip -FS -q -r ../dist/function.zip *

0 commit comments

Comments
 (0)