This repository has been archived on 2023-10-05. You can view files and clone it, but cannot push or open issues or pull requests.
emacs-docker/git/Dockerfile

19 lines
540 B
Docker

# 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"]