Commit e852e820 authored by darksun's avatar darksun
Browse files

various patch

1.用回python-dbus,因为比较来看用python-dbus要比dbus-python构建出来的image少大约200M空间
2.直接通过Emacs命令行加载eaf,这样允许使用者挂载自己的配置到容器中
3.改名默认的Dockerfile,方便build image
parent 0601bf2b
Loading
Loading
Loading
Loading

docker/.emacs

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
(setq load-path (cons "/emacs-application-framework" load-path))
(require 'eaf)
+4 −4
Original line number Diff line number Diff line
FROM base/archlinux

RUN pacman -Syy && \
    pacman -S git nss emacs pkg-config dbus gcc make python python-pip  --noconfirm && \
    pacman -S git emacs  nss python python-pip python-dbus  --noconfirm && \
    yes|pacman -Scc 

RUN pip install --upgrade pip

RUN pip install PyMuPDF grip qrcode xlib pyqt5 dbus-python && rm -rf /root/.cache
RUN pip install PyMuPDF grip qrcode xlib pyqt5 && rm -rf /root/.cache

RUN git clone --depth=1 https://github.com/manateelazycat/emacs-application-framework

@@ -17,7 +17,7 @@ ENV LANG=zh_CN.UTF-8

USER eaf

COPY .emacs /home/eaf/
# COPY .emacs /home/eaf/


ENTRYPOINT ["emacs"]
 No newline at end of file
CMD ["emacs","-L","/emacs-application-framework","--eval","(require 'eaf)"]