mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
255a334f1d
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
29 lines
659 B
Docker
29 lines
659 B
Docker
FROM debian:sid
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
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 \
|
|
&& rm -rf /usr/src/watchmen \
|
|
&& apt-get purge -y --auto-remove $buildDeps
|
|
|
|
ENTRYPOINT [ "watchman" ]
|