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