Last active
March 1, 2021 06:34
-
-
Save jaidetree/9f57625888c2492dbe53f164076a3695 to your computer and use it in GitHub Desktop.
A Dockerfile to install emacs and the latest doom. Expects user to mount over ~/.doom.d/ with a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM phusion/baseimage:18.04-1.0.0 | |
RUN add-apt-repository ppa:kelleyk/emacs \ | |
&& apt update \ | |
&& apt install -y git emacs27 tmux vim sqlite3 wget | |
RUN git clone https://github.com/hlissner/doom-emacs.git ~/.emacs.d | |
# Might be needed if you want to pre-build the config but not required | |
# In which case run doom sync via shell | |
# COPY ./doom.d /root/.doom.d | |
RUN yes | ~/.emacs.d/bin/doom install | |
VOLUME /root/.doom.d | |
WORKDIR /root | |
CMD ["/usr/bin/emacs", "--daemon"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment