mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
12c06870f3
Signed-off-by: Jess Frazelle <acidburn@google.com>
33 lines
766 B
Docker
33 lines
766 B
Docker
FROM debian:sid
|
|
LABEL 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/*
|
|
|
|
ENV WATCHMAN_VERSION v4.8.0-rc1
|
|
|
|
RUN buildDeps=' \
|
|
autoconf \
|
|
automake \
|
|
clang \
|
|
git \
|
|
libtool \
|
|
make \
|
|
pkg-config \
|
|
' \
|
|
&& set -x \
|
|
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& git clone --depth 1 --branch "${WATCHMAN_VERSION}" https://github.com/facebook/watchman.git /usr/src/watchman \
|
|
&& cd /usr/src/watchman \
|
|
&& ./autogen.sh \
|
|
&& ./configure \
|
|
&& make \
|
|
&& make install \
|
|
&& rm -rf /usr/src/watchman \
|
|
&& apt-get purge -y --auto-remove $buildDeps
|
|
|
|
ENTRYPOINT [ "watchman" ]
|