File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
USER root
5
5
6
- # ===============
6
+ # ============================================
7
7
# Google Chrome
8
- # ===============
8
+ # ============================================
9
+ # can specify versions by CHROME_VERSION;
10
+ # e.g. google-chrome-stable=53.0.2785.101-1
11
+ # google-chrome-beta=53.0.2785.92-1
12
+ # google-chrome-unstable=54.0.2840.14-1
13
+ # latest (equivalent to google-chrome-stable)
14
+ # google-chrome-beta (pull latest beta)
15
+ # ============================================
16
+ ENV CHROME_VERSION "google-chrome-stable"
9
17
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
10
18
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
11
19
&& apt-get update -qqy \
12
20
&& apt-get -qqy install \
13
- google-chrome-stable \
21
+ ${CHROME_VERSION:- google-chrome-stable} \
14
22
&& rm /etc/apt/sources.list.d/google-chrome.list \
15
23
&& rm -rf /var/lib/apt/lists/*
16
24
You can’t perform that action at this time.
0 commit comments