2016-09-19 20:31:11 +02:00
|
|
|
FROM debian:stretch
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-04-17 15:55:38 +02:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
ca-certificates \
|
|
|
|
gcc \
|
|
|
|
git \
|
|
|
|
libncurses5 \
|
|
|
|
libncurses5-dev \
|
|
|
|
libncursesw5 \
|
|
|
|
libncursesw5-dev \
|
|
|
|
make \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-04-17 15:55:38 +02:00
|
|
|
|
2016-12-28 02:04:58 +01:00
|
|
|
RUN git clone --depth 1 --recursive https://github.com/visit1985/mdp.git /src
|
2015-04-17 15:55:38 +02:00
|
|
|
|
|
|
|
WORKDIR /src
|
|
|
|
|
2015-06-05 19:24:11 +02:00
|
|
|
ENV TERM xterm-256color
|
2016-09-19 20:31:11 +02:00
|
|
|
ENV DEBUG 1
|
2015-04-17 15:55:38 +02:00
|
|
|
|
|
|
|
RUN make \
|
2015-06-05 19:24:11 +02:00
|
|
|
&& make install
|
2015-04-17 15:55:38 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/mdp" ]
|