forked from newrelic/newrelic-lambda-layers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
94 lines (80 loc) · 2.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
build-java8al2:
docker build \
--no-cache \
-t newrelic-lambda-layers-java8al2 \
-f ./dockerfiles/Dockerfile.java8al2 \
.
publish-java8al2-ci: build-java8al2
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-java8al2
publish-java8al2-local: build-java8al2
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-java8al2
build-java11:
docker build \
--no-cache \
-t newrelic-lambda-layers-java11 \
-f ./dockerfiles/Dockerfile.java11 \
.
publish-java11-ci: build-java11
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-java11
publish-java11-local: build-java11
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-java11
build-nodejs14x:
docker build \
--no-cache \
-t newrelic-lambda-layers-nodejs14x \
-f ./dockerfiles/Dockerfile.nodejs14x \
.
publish-nodejs14x-ci: build-nodejs14x
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-nodejs14x
publish-nodejs14x-local: build-nodejs14x
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-nodejs14x
build-nodejs16x:
docker build \
--no-cache \
-t newrelic-lambda-layers-nodejs16x \
-f ./dockerfiles/Dockerfile.nodejs16x \
.
publish-nodejs16x-ci: build-nodejs16x
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-nodejs16x
publish-nodejs16x-local: build-nodejs16x
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-nodejs16x
build-nodejs18x:
docker build \
--no-cache \
-t newrelic-lambda-layers-nodejs18x \
-f ./dockerfiles/Dockerfile.nodejs18x \
.
publish-nodejs18x-ci: build-nodejs18x
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-nodejs18x
publish-nodejs18x-local: build-nodejs18x
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-nodejs18x