-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathchrome.json
152 lines (152 loc) · 3.99 KB
/
chrome.json
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
{
"patterns": ["\\bchrome\\b", "\\bchromium\\b"],
"dependencies": [
{
"pre_install": [
{ "command": "apt-get install -y software-properties-common" },
{ "command": "add-apt-repository -y ppa:xtradeb/apps" },
{ "command": "apt-get update" }
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu",
"versions": ["22.04", "24.04"]
}
]
},
{
"pre_install": [
{
"command": "[ $(which google-chrome) ] || apt-get install -y gnupg curl"
},
{
"command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
},
{
"command": "[ $(which google-chrome) ] || DEBIAN_FRONTEND='noninteractive' apt-get install -y /tmp/google-chrome.deb"
}
],
"packages": [],
"post_install": [{ "command": "rm -f /tmp/google-chrome.deb" }],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu",
"versions": ["20.04"]
}
]
},
{
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled crb" },
{ "command": "dnf install -y epel-release" }
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
{
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled powertools" },
{ "command": "dnf install -y epel-release" }
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
{
"pre_install": [
{
"command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms"
},
{
"command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
}
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "redhat",
"versions": ["8"]
}
]
},
{
"pre_install": [
{
"command": "subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms"
},
{
"command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm"
}
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "redhat",
"versions": ["9"]
}
]
},
{
"pre_install": [],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "debian"
},
{
"os": "linux",
"distribution": "fedora"
},
{
"os": "linux",
"distribution": "alpine"
}
]
},
{
"pre_install": [
{ "command": "yum install -y which" },
{
"command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.rpm https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-125.0.6422.141-1.x86_64.rpm"
},
{
"command": "[ $(which google-chrome) ] || yum install -y /tmp/google-chrome.rpm"
}
],
"packages": [],
"post_install": [{ "command": "rm -f /tmp/google-chrome.rpm" }],
"constraints": [
{
"os": "linux",
"distribution": "centos",
"versions": ["7", "8"]
}
]
}
]
}