forked from DataDog/browser-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
48 lines (36 loc) · 1.26 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
FROM node:12.8.0-slim
# Install Chrome deps
RUN apt-get update && apt-get install -y -q --no-install-recommends \
libgtk-3-dev \
libx11-xcb1 \
libnss3 \
libxss1 \
libasound2 \
fonts-liberation \
libappindicator3-1 \
lsb-release \
xdg-utils
# Download and install Chrome
# Debian taken from https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
RUN curl --silent --show-error --fail http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_81.0.4044.113-1_amd64.deb --output google-chrome.deb \
&& dpkg -i google-chrome.deb \
&& rm google-chrome.deb
# Install python
RUN apt-get install -y -q --no-install-recommends python
# Install pip
RUN set -x \
&& curl -OL https://bootstrap.pypa.io/get-pip.py \
&& python get-pip.py \
&& rm get-pip.py
# Install AWS cli
RUN set -x \
&& pip install awscli
# Deploy deps
RUN apt-get install -y -q --no-install-recommends jq
# Node fsevents deps
RUN apt-get install -y -q --no-install-recommends g++ build-essential
# Webdriverio deps
RUN mkdir -p /usr/share/man/man1
RUN apt-get install -y -q --no-install-recommends default-jdk
RUN apt-get -y install git
RUN apt-get -y install procps