2015-09-25 03:04:41 +02:00
|
|
|
FROM debian:sid
|
2016-09-20 00:25:05 +02:00
|
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
2015-09-25 03:04:41 +02:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
ca-certificates \
|
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN buildDeps=' \
|
|
|
|
autoconf \
|
|
|
|
automake \
|
|
|
|
clang \
|
|
|
|
git \
|
|
|
|
make \
|
|
|
|
' \
|
|
|
|
&& set -x \
|
|
|
|
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& git clone https://github.com/facebook/watchman.git /usr/src/watchman \
|
|
|
|
&& cd /usr/src/watchman \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& ./configure \
|
|
|
|
&& make \
|
|
|
|
&& make install \
|
2016-03-22 16:09:54 +01:00
|
|
|
&& rm -rf /usr/src/watchman \
|
2015-09-25 03:04:41 +02:00
|
|
|
&& apt-get purge -y --auto-remove $buildDeps
|
|
|
|
|
|
|
|
ENTRYPOINT [ "watchman" ]
|