File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM node:10
2
+
3
+ RUN apt-get update \
4
+ && apt-get install -y \
5
+ apt-transport-https \
6
+ ca-certificates \
7
+ && curl -sS https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
8
+ && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list \
9
+ && apt-get update \
10
+ && apt-get install -y \
11
+ google-chrome-stable \
12
+ libdbus-glib-1-2 \
13
+ libpango1.0-0 \
14
+ "gtk+3.0" \
15
+ build-essential \
16
+ automake \
17
+ autoconf \
18
+ python-dev \
19
+ && curl -sLo /tmp/firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" \
20
+ && tar -C /opt -xjf /tmp/firefox.tar.bz2 \
21
+ && rm /tmp/firefox.tar.bz2 \
22
+ && ln -fs /opt/firefox/firefox /usr/bin/firefox \
23
+ && export WATCHMAN_VERSION=4.9.0 \
24
+ && git clone --branch v${WATCHMAN_VERSION} --single-branch https://github.com/facebook/watchman.git /tmp/watchman \
25
+ && cd /tmp/watchman \
26
+ && ./autogen.sh \
27
+ && ./configure --enable-statedir=/tmp \
28
+ && make \
29
+ && make install \
30
+ && mv watchman /usr/local/bin/watchman \
31
+ && rm -Rf /tmp/watchman \
32
+ && apt-get clean \
33
+ && apt-get autoremove -y \
34
+ build-essential \
35
+ automake \
36
+ autoconf \
37
+ python-dev \
38
+ && rm -rf /var/lib/apt/lists/* \
39
+ && mkdir -p /code
40
+
41
+ WORKDIR /code
You can’t perform that action at this time.
0 commit comments