dockerfiles/watchman/Dockerfile

29 lines
657 B
Docker
Raw Normal View History

FROM debian:sid
MAINTAINER Jessie Frazelle <jess@linux.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 \
2016-03-22 16:09:54 +01:00
&& rm -rf /usr/src/watchman \
&& apt-get purge -y --auto-remove $buildDeps
ENTRYPOINT [ "watchman" ]