dockerfiles/mdp/Dockerfile
Jess Frazelle 40314b6356
change to buster slim
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-14 10:09:44 -04:00

27 lines
486 B
Docker

FROM debian:buster-slim
LABEL 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" ]