-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
44 lines (35 loc) · 1.19 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
.PHONY: init run scan bridge buildx buildx-init buildx-run buildx-scan buildx-bridge
init:
docker compose --env-file common.env -f init/docker-compose.yml -p builderism-init up
run:
docker compose --env-file common.env -f run/docker-compose.yml -p builderism-run up
scan:
docker compose --env-file common.env -f scan/docker-compose.yml -p builderism-scan up
bridge:
docker compose --env-file common.env -f bridge/docker-compose.yml -p builderism-bridge up
# buildx command
buildx: buildx-init buildx-run buildx-scan buildx-bridge
buildx-init:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t dreamcacao/builderism_init:1.9.1 \
-t dreamcacao/builderism_init:latest \
--push ./init
buildx-run:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t dreamcacao/builderism_run:1.10.0 \
-t dreamcacao/builderism_run:latest \
--push ./run
buildx-scan:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t dreamcacao/builderism_scan:0.0.0 \
-t dreamcacao/builderism_scan:latest \
--push ./scan
buildx-bridge:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t dreamcacao/builderism_bridge:0.0.0 \
-t dreamcacao/builderism_bridge:latest \
--push ./bridge