-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
103 lines (89 loc) · 2.83 KB
/
docker-compose.yml
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
# HOW TO BUILD STABLE:
# docker compose -f ./docker-compose.yml build --compress --parallel flutter-stable \
# && docker compose -f ./docker-compose.yml build --compress --parallel flutter-stable-web flutter-stable-android
#
# HOW TO BUILD BETA:
# docker compose -f ./docker-compose.yml build --compress --parallel flutter-beta \
# && docker compose -f ./docker-compose.yml build --compress --parallel flutter-beta-web flutter-beta-android
#
# HOW TO BUILD MASTER:
# docker compose -f ./docker-compose.yml build --compress --parallel flutter-master \
# && docker compose -f ./docker-compose.yml build --compress --parallel flutter-master-web flutter-master-android
#
# HOW TO BUILD AND PUSH ALL:
# docker compose -f ./docker-compose.yml build --compress --parallel \
# flutter-stable flutter-beta flutter-master \
# && docker compose -f ./docker-compose.yml build --compress --parallel \
# flutter-stable-web flutter-stable-android flutter-beta-web flutter-beta-android flutter-master-web flutter-master-android \
# && docker compose push
version: "3.9"
services:
#############################################################
# STABLE
flutter-stable:
image: plugfox/flutter:stable
build:
dockerfile: dockerfiles/flutter.dockerfile
context: .
args:
- VERSION=stable
flutter-stable-web:
image: plugfox/flutter:stable-web
build:
dockerfile: dockerfiles/flutter_web.dockerfile
context: .
args:
- VERSION=stable
flutter-stable-android:
image: plugfox/flutter:stable-android
build:
dockerfile: dockerfiles/flutter_android.dockerfile
context: .
args:
- VERSION=stable
#############################################################
# BETA
flutter-beta:
image: plugfox/flutter:beta
build:
dockerfile: dockerfiles/flutter.dockerfile
context: .
args:
- VERSION=beta
flutter-beta-web:
image: plugfox/flutter:beta-web
build:
dockerfile: dockerfiles/flutter_web.dockerfile
context: .
args:
- VERSION=beta
flutter-beta-android:
image: plugfox/flutter:beta-android
build:
dockerfile: dockerfiles/flutter_android.dockerfile
context: .
args:
- VERSION=beta
#############################################################
# MASTER
flutter-master:
image: plugfox/flutter:master
build:
dockerfile: dockerfiles/flutter.dockerfile
context: .
args:
- VERSION=master
flutter-master-web:
image: plugfox/flutter:master-web
build:
dockerfile: dockerfiles/flutter_web.dockerfile
context: .
args:
- VERSION=master
flutter-master-android:
image: plugfox/flutter:master-android
build:
dockerfile: dockerfiles/flutter_android.dockerfile
context: .
args:
- VERSION=master