Skip to content

Commit 79d1fcc

Browse files
committed
feat: emacs
1 parent 889838e commit 79d1fcc

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ RUN (cd timew && cmake -DCMAKE_INSTALL_PREFIX=${OPT} -DCMAKE_BULD_TYPE=release .
3232

3333
# Now, the runner
3434
FROM ubuntu:22.10 AS run
35-
RUN apt-get update
36-
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y python3 tzdata
35+
RUN apt-get update
36+
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y python3 tzdata python3-pip curl emacs-nox
3737
ENV TZ="America/New_York"
3838
COPY --from=build /opt /opt
3939
VOLUME /config /data
@@ -42,11 +42,6 @@ ENV TASKDATA=/data/task
4242
ENV TIMEWARRIORDB=/data/timew
4343
ENV PATH=/opt/bin:${HOME}/bin:/usr/local/bin:/usr/bin:/bin
4444

45-
# TODO MOVE UP
46-
USER root
47-
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y python3 python3-pip
48-
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y curl
49-
5045
# TODO: version
5146
ARG BUGWARRIOR_VERSION=develop
5247
RUN (mkdir bugwarrior && cd bugwarrior && curl -L https://github.com/ralphbean/bugwarrior/tarball/${BUGWARRIOR_VERSION} | tar xfpz - --strip-components=1 )
@@ -57,3 +52,5 @@ RUN rm -rf /bugwarrior
5752
ENV XDG_CONFIG_HOME=/config
5853
ENV BUGWARRIORRC=/config/bugwarrior/bugwarriorrc
5954
ENV TZ="America/Chicago"
55+
ENV EDITOR="emacs"
56+
ENV VISUAL="emacs"

0 commit comments

Comments
 (0)