You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
540 B

# xenial becaues it hsa libgnutls-dev
#FROM ubuntu:xenial
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y git build-essential autoconf libncurses-dev # libgnutls-dev
RUN mkdir /build /emacs
WORKDIR /build/emacs
RUN git clone --depth 1 https://github.com/emacs-mirror/emacs.git /build/emacs
RUN ./autogen.sh && \
./configure --without-x --without-makeinfo --without-gnutls --prefix=/emacs && \
make && \
make install
WORKDIR /emacs
RUN rm -rf /build
COPY ./.emacs /root/.emacs
ENTRYPOINT ["/emacs/bin/emacs"]