forked from newrelic/newrelic-lambda-layers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
170 lines (144 loc) · 3.75 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
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-java17:
docker build \
--no-cache \
-t newrelic-lambda-layers-java17 \
-f ./dockerfiles/Dockerfile.java17 \
.
publish-java17-ci: build-java17
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-java17
publish-java17-local: build-java17
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-java17
build-java21:
docker build \
--no-cache \
-t newrelic-lambda-layers-java21 \
-f ./dockerfiles/Dockerfile.java21 \
.
publish-java21-ci: build-java21
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-java21
publish-java21-local: build-java21
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-java21
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
build-nodejs20x:
docker build \
--no-cache \
-t newrelic-lambda-layers-nodejs20x \
-f ./dockerfiles/Dockerfile.nodejs20x \
.
publish-nodejs20x-ci: build-nodejs20x
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-nodejs20x
publish-nodejs20x-local: build-nodejs20x
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-nodejs20x
build-ruby32:
docker build \
--no-cache \
-t newrelic-lambda-layers-ruby32 \
-f ./dockerfiles/Dockerfile.ruby32 \
.
publish-ruby32-ci: build-ruby32
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-ruby32
publish-ruby32-local: build-ruby32
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-ruby32
build-ruby33:
docker build \
--no-cache \
-t newrelic-lambda-layers-ruby33 \
-f ./dockerfiles/Dockerfile.ruby33 \
.
publish-ruby33-ci: build-ruby33
docker run \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
newrelic-lambda-layers-ruby33
publish-ruby33-local: build-ruby33
docker run \
-e AWS_PROFILE \
-v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \
newrelic-lambda-layers-ruby33