add lisp packages
This commit is contained in:
23
lisp/emacs-application-framework/docker/Dockerfile
Normal file
23
lisp/emacs-application-framework/docker/Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM archlinux/base
|
||||
|
||||
RUN pacman -Syy && \
|
||||
pacman -S sudo git emacs libpulse nss python python-pip python-dbus --noconfirm && \
|
||||
yes|pacman -Scc
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
RUN pip install PyMuPDF grip qrcode pyqt5 && rm -rf /root/.cache
|
||||
|
||||
RUN git clone --depth=1 https://github.com/manateelazycat/emacs-application-framework
|
||||
|
||||
ARG _UID="1000"
|
||||
ARG _USER="eaf"
|
||||
RUN useradd --uid ${_UID} -ms /bin/bash ${_USER}
|
||||
RUN echo "${_USER} ALL=NOPASSWD: ALL" >> /etc/sudoers
|
||||
|
||||
ENV LANG=zh_CN.UTF-8
|
||||
|
||||
USER ${_USER}
|
||||
WORKDIR /home/${_USER}
|
||||
|
||||
CMD ["emacs","-L","/emacs-application-framework","--eval","(require 'eaf)"]
|
||||
Reference in New Issue
Block a user