File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
ifndef CI
2
- NPM ?= docker run -it -v $(shell pwd)/lambda/:/code -w /code --entrypoint=npm node:8. 10-alpine
2
+ BUILD ?= docker run -it -v $(shell pwd)/lambda/:/code -w /code --entrypoint=npm node:10-alpine update --unsafe-perm=true --allow-root
3
3
else
4
- NPM ?= npm
4
+ BUILD ?= cd lambda/ && npm update && cd ..
5
5
endif
6
6
7
7
# Ensures that a variable is defined
11
11
12
12
## Build lambda package
13
13
build:
14
- $(NPM) update
14
+ $(BUILD)
15
15
sudo chmod -R 777 lambda
16
16
mkdir -p artifacts
17
17
cd lambda && zip -r ../artifacts/lambda.zip *
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ Available targets:
152
152
153
153
```
154
154
<!-- markdownlint-restore -->
155
+ <!-- markdownlint-disable -->
155
156
## Requirements
156
157
157
158
| Name | Version |
@@ -209,6 +210,7 @@ Available targets:
209
210
| ses\_ receipt\_ rule\_ name | The name of the SES receipt rule |
210
211
| ses\_ receipt\_ rule\_ set\_ name | The name of the SES receipt rule set |
211
212
213
+ <!-- markdownlint-restore -->
212
214
213
215
214
216
Original file line number Diff line number Diff line change
1
+ <!-- markdownlint-disable -->
1
2
## Requirements
2
3
3
4
| Name | Version |
55
56
| ses\_ receipt\_ rule\_ name | The name of the SES receipt rule |
56
57
| ses\_ receipt\_ rule\_ set\_ name | The name of the SES receipt rule set |
57
58
59
+ <!-- markdownlint-restore -->
You can’t perform that action at this time.
0 commit comments