forked from jakubkulhan/chrome-devtools-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (22 loc) · 749 Bytes
/
Dockerfile
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
FROM debian:stretch
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
ca-certificates \
curl \
gnupg1 \
&& curl -s https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
google-chrome-stable \
&& apt-get remove -y \
curl \
gnupg1 \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& useradd -m -s /bin/bash -u 1000 chrome
USER chrome:chrome
WORKDIR /home/chrome
ENTRYPOINT ["/usr/bin/google-chrome"]