Skip to content

Commit 79abcdc

Browse files
committed
Generated docker-bake.hcl
1 parent c58a76d commit 79abcdc

File tree

1 file changed

+352
-0
lines changed

1 file changed

+352
-0
lines changed

docker-bake.hcl

Lines changed: 352 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
group "default" {
44
targets = [
55

6+
"php82",
67
"php81",
78
"php80",
89
"php74",
@@ -11,6 +12,27 @@ group "default" {
1112
]
1213
}
1314

15+
group "php82-apache-all" {
16+
targets = [
17+
"php82-slim-apache",
18+
"php82-apache",
19+
"php82-apache-node18","php82-apache-node16","php82-apache-node14","php82-apache-node12","php82-apache-node10",
20+
]
21+
}
22+
group "php82-fpm-all" {
23+
targets = [
24+
"php82-slim-fpm",
25+
"php82-fpm",
26+
"php82-fpm-node18","php82-fpm-node16","php82-fpm-node14","php82-fpm-node12","php82-fpm-node10",
27+
]
28+
}
29+
group "php82-cli-all" {
30+
targets = [
31+
"php82-slim-cli",
32+
"php82-cli",
33+
"php82-cli-node18","php82-cli-node16","php82-cli-node14","php82-cli-node12","php82-cli-node10",
34+
]
35+
}
1436
group "php81-apache-all" {
1537
targets = [
1638
"php81-slim-apache",
@@ -118,6 +140,9 @@ group "php72-cli-all" {
118140
}
119141

120142

143+
group "php82" {
144+
targets = ["php82-apache-all","php82-fpm-all","php82-cli-all",]
145+
}
121146
group "php81" {
122147
targets = ["php81-apache-all","php81-fpm-all","php81-cli-all",]
123148
}
@@ -161,6 +186,333 @@ target "default" {
161186
}
162187

163188

189+
###########################
190+
## PHP 8.2
191+
###########################
192+
# thecodingmachine/php:8.2-v4-slim-apache
193+
target "php82-slim-apache" {
194+
inherits = ["default"]
195+
tags = tag("8.2", "slim-apache")
196+
dockerfile = "Dockerfile.slim.apache"
197+
args = {
198+
PHP_VERSION = "8.2"
199+
VARIANT = "apache"
200+
}
201+
}
202+
203+
# thecodingmachine/php:8.2-v4-apache
204+
target "php82-apache" {
205+
inherits = ["default"]
206+
tags = tag("8.2", "apache")
207+
dockerfile = "Dockerfile.apache"
208+
args = {
209+
PHP_VERSION = "8.2"
210+
VARIANT = "apache"
211+
FROM_IMAGE = "slim"
212+
}
213+
contexts = {
214+
slim = "target:php82-slim-apache"
215+
}
216+
}
217+
218+
# thecodingmachine/php:8.2-v4-apache-node18
219+
target "php82-apache-node18" {
220+
inherits = ["default"]
221+
tags = tag("8.2", "apache-node18")
222+
dockerfile = "Dockerfile.apache.node"
223+
args = {
224+
PHP_VERSION = "8.2"
225+
VARIANT = "apache-node18"
226+
FROM_IMAGE = "fat"
227+
NODE_VERSION = "18"
228+
}
229+
contexts = {
230+
fat = "target:php82-apache"
231+
}
232+
}
233+
234+
# thecodingmachine/php:8.2-v4-apache-node16
235+
target "php82-apache-node16" {
236+
inherits = ["default"]
237+
tags = tag("8.2", "apache-node16")
238+
dockerfile = "Dockerfile.apache.node"
239+
args = {
240+
PHP_VERSION = "8.2"
241+
VARIANT = "apache-node16"
242+
FROM_IMAGE = "fat"
243+
NODE_VERSION = "16"
244+
}
245+
contexts = {
246+
fat = "target:php82-apache"
247+
}
248+
}
249+
250+
# thecodingmachine/php:8.2-v4-apache-node14
251+
target "php82-apache-node14" {
252+
inherits = ["default"]
253+
tags = tag("8.2", "apache-node14")
254+
dockerfile = "Dockerfile.apache.node"
255+
args = {
256+
PHP_VERSION = "8.2"
257+
VARIANT = "apache-node14"
258+
FROM_IMAGE = "fat"
259+
NODE_VERSION = "14"
260+
}
261+
contexts = {
262+
fat = "target:php82-apache"
263+
}
264+
}
265+
266+
# thecodingmachine/php:8.2-v4-apache-node12
267+
target "php82-apache-node12" {
268+
inherits = ["default"]
269+
tags = tag("8.2", "apache-node12")
270+
dockerfile = "Dockerfile.apache.node"
271+
args = {
272+
PHP_VERSION = "8.2"
273+
VARIANT = "apache-node12"
274+
FROM_IMAGE = "fat"
275+
NODE_VERSION = "12"
276+
}
277+
contexts = {
278+
fat = "target:php82-apache"
279+
}
280+
}
281+
282+
# thecodingmachine/php:8.2-v4-apache-node10
283+
target "php82-apache-node10" {
284+
inherits = ["default"]
285+
tags = tag("8.2", "apache-node10")
286+
dockerfile = "Dockerfile.apache.node"
287+
args = {
288+
PHP_VERSION = "8.2"
289+
VARIANT = "apache-node10"
290+
FROM_IMAGE = "fat"
291+
NODE_VERSION = "10"
292+
}
293+
contexts = {
294+
fat = "target:php82-apache"
295+
}
296+
}
297+
298+
###########################
299+
## PHP 8.2
300+
###########################
301+
# thecodingmachine/php:8.2-v4-slim-fpm
302+
target "php82-slim-fpm" {
303+
inherits = ["default"]
304+
tags = tag("8.2", "slim-fpm")
305+
dockerfile = "Dockerfile.slim.fpm"
306+
args = {
307+
PHP_VERSION = "8.2"
308+
VARIANT = "fpm"
309+
}
310+
}
311+
312+
# thecodingmachine/php:8.2-v4-fpm
313+
target "php82-fpm" {
314+
inherits = ["default"]
315+
tags = tag("8.2", "fpm")
316+
dockerfile = "Dockerfile.fpm"
317+
args = {
318+
PHP_VERSION = "8.2"
319+
VARIANT = "fpm"
320+
FROM_IMAGE = "slim"
321+
}
322+
contexts = {
323+
slim = "target:php82-slim-fpm"
324+
}
325+
}
326+
327+
# thecodingmachine/php:8.2-v4-fpm-node18
328+
target "php82-fpm-node18" {
329+
inherits = ["default"]
330+
tags = tag("8.2", "fpm-node18")
331+
dockerfile = "Dockerfile.fpm.node"
332+
args = {
333+
PHP_VERSION = "8.2"
334+
VARIANT = "fpm-node18"
335+
FROM_IMAGE = "fat"
336+
NODE_VERSION = "18"
337+
}
338+
contexts = {
339+
fat = "target:php82-fpm"
340+
}
341+
}
342+
343+
# thecodingmachine/php:8.2-v4-fpm-node16
344+
target "php82-fpm-node16" {
345+
inherits = ["default"]
346+
tags = tag("8.2", "fpm-node16")
347+
dockerfile = "Dockerfile.fpm.node"
348+
args = {
349+
PHP_VERSION = "8.2"
350+
VARIANT = "fpm-node16"
351+
FROM_IMAGE = "fat"
352+
NODE_VERSION = "16"
353+
}
354+
contexts = {
355+
fat = "target:php82-fpm"
356+
}
357+
}
358+
359+
# thecodingmachine/php:8.2-v4-fpm-node14
360+
target "php82-fpm-node14" {
361+
inherits = ["default"]
362+
tags = tag("8.2", "fpm-node14")
363+
dockerfile = "Dockerfile.fpm.node"
364+
args = {
365+
PHP_VERSION = "8.2"
366+
VARIANT = "fpm-node14"
367+
FROM_IMAGE = "fat"
368+
NODE_VERSION = "14"
369+
}
370+
contexts = {
371+
fat = "target:php82-fpm"
372+
}
373+
}
374+
375+
# thecodingmachine/php:8.2-v4-fpm-node12
376+
target "php82-fpm-node12" {
377+
inherits = ["default"]
378+
tags = tag("8.2", "fpm-node12")
379+
dockerfile = "Dockerfile.fpm.node"
380+
args = {
381+
PHP_VERSION = "8.2"
382+
VARIANT = "fpm-node12"
383+
FROM_IMAGE = "fat"
384+
NODE_VERSION = "12"
385+
}
386+
contexts = {
387+
fat = "target:php82-fpm"
388+
}
389+
}
390+
391+
# thecodingmachine/php:8.2-v4-fpm-node10
392+
target "php82-fpm-node10" {
393+
inherits = ["default"]
394+
tags = tag("8.2", "fpm-node10")
395+
dockerfile = "Dockerfile.fpm.node"
396+
args = {
397+
PHP_VERSION = "8.2"
398+
VARIANT = "fpm-node10"
399+
FROM_IMAGE = "fat"
400+
NODE_VERSION = "10"
401+
}
402+
contexts = {
403+
fat = "target:php82-fpm"
404+
}
405+
}
406+
407+
###########################
408+
## PHP 8.2
409+
###########################
410+
# thecodingmachine/php:8.2-v4-slim-cli
411+
target "php82-slim-cli" {
412+
inherits = ["default"]
413+
tags = tag("8.2", "slim-cli")
414+
dockerfile = "Dockerfile.slim.cli"
415+
args = {
416+
PHP_VERSION = "8.2"
417+
VARIANT = "cli"
418+
}
419+
}
420+
421+
# thecodingmachine/php:8.2-v4-cli
422+
target "php82-cli" {
423+
inherits = ["default"]
424+
tags = tag("8.2", "cli")
425+
dockerfile = "Dockerfile.cli"
426+
args = {
427+
PHP_VERSION = "8.2"
428+
VARIANT = "cli"
429+
FROM_IMAGE = "slim"
430+
}
431+
contexts = {
432+
slim = "target:php82-slim-cli"
433+
}
434+
}
435+
436+
# thecodingmachine/php:8.2-v4-cli-node18
437+
target "php82-cli-node18" {
438+
inherits = ["default"]
439+
tags = tag("8.2", "cli-node18")
440+
dockerfile = "Dockerfile.cli.node"
441+
args = {
442+
PHP_VERSION = "8.2"
443+
VARIANT = "cli-node18"
444+
FROM_IMAGE = "fat"
445+
NODE_VERSION = "18"
446+
}
447+
contexts = {
448+
fat = "target:php82-cli"
449+
}
450+
}
451+
452+
# thecodingmachine/php:8.2-v4-cli-node16
453+
target "php82-cli-node16" {
454+
inherits = ["default"]
455+
tags = tag("8.2", "cli-node16")
456+
dockerfile = "Dockerfile.cli.node"
457+
args = {
458+
PHP_VERSION = "8.2"
459+
VARIANT = "cli-node16"
460+
FROM_IMAGE = "fat"
461+
NODE_VERSION = "16"
462+
}
463+
contexts = {
464+
fat = "target:php82-cli"
465+
}
466+
}
467+
468+
# thecodingmachine/php:8.2-v4-cli-node14
469+
target "php82-cli-node14" {
470+
inherits = ["default"]
471+
tags = tag("8.2", "cli-node14")
472+
dockerfile = "Dockerfile.cli.node"
473+
args = {
474+
PHP_VERSION = "8.2"
475+
VARIANT = "cli-node14"
476+
FROM_IMAGE = "fat"
477+
NODE_VERSION = "14"
478+
}
479+
contexts = {
480+
fat = "target:php82-cli"
481+
}
482+
}
483+
484+
# thecodingmachine/php:8.2-v4-cli-node12
485+
target "php82-cli-node12" {
486+
inherits = ["default"]
487+
tags = tag("8.2", "cli-node12")
488+
dockerfile = "Dockerfile.cli.node"
489+
args = {
490+
PHP_VERSION = "8.2"
491+
VARIANT = "cli-node12"
492+
FROM_IMAGE = "fat"
493+
NODE_VERSION = "12"
494+
}
495+
contexts = {
496+
fat = "target:php82-cli"
497+
}
498+
}
499+
500+
# thecodingmachine/php:8.2-v4-cli-node10
501+
target "php82-cli-node10" {
502+
inherits = ["default"]
503+
tags = tag("8.2", "cli-node10")
504+
dockerfile = "Dockerfile.cli.node"
505+
args = {
506+
PHP_VERSION = "8.2"
507+
VARIANT = "cli-node10"
508+
FROM_IMAGE = "fat"
509+
NODE_VERSION = "10"
510+
}
511+
contexts = {
512+
fat = "target:php82-cli"
513+
}
514+
}
515+
164516
###########################
165517
## PHP 8.1
166518
###########################

0 commit comments

Comments
 (0)