dockerfiles/mdp/Dockerfile
Jess Frazelle 3e0fc7968f
better git clones
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-12-27 17:04:58 -08:00

27 lines
474 B
Docker

FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
ca-certificates \
gcc \
git \
libncurses5 \
libncurses5-dev \
libncursesw5 \
libncursesw5-dev \
make \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 --recursive https://github.com/visit1985/mdp.git /src
WORKDIR /src
ENV TERM xterm-256color
ENV DEBUG 1
RUN make \
&& make install
ENTRYPOINT [ "/usr/local/bin/mdp" ]