2017-05-14 23:08:13 -07:00
|
|
|
FROM node:7.10.0
|
|
|
|
|
|
|
|
RUN apt-get update -y && \
|
|
|
|
apt-get install -y ocaml libelf1 && \
|
|
|
|
rm -rf /var/lib/apt/lists/* && \
|
2017-05-15 18:55:18 -07:00
|
|
|
curl -o- -L https://yarnpkg.com/install.sh | bash && \
|
|
|
|
npm install -g exp
|
2017-05-15 20:07:37 -07:00
|
|
|
|
|
|
|
RUN git clone https://github.com/facebook/watchman.git \
|
|
|
|
&& cd watchman \
|
|
|
|
&& git checkout v4.7.0 \
|
|
|
|
&& apt-get update -y \
|
|
|
|
&& apt-get install -y autoconf automake build-essential python-dev \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& ./configure \
|
|
|
|
&& make \
|
|
|
|
&& make install \
|
|
|
|
&& apt-get remove --purge -y autoconf automake build-essential python-dev \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|