/docker-emacs

Run Emacs in docker containers!

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

Description

Run Emacs in docker containers!

This project provides different docker images:

  • The main images (~500MB) only contain the runtime dependencies for Emacs to run.
  • The -dev variants (~1400MB) also contain the build dependencies, the Emacs source (in /opt/emacs), and additional tools such as Cask, git and Python.
  • The -alpine variants (~200MB) follow the same logic as the main images but are based on Alpine Linux.

Tags

Usage

Console

docker run -it --rm silex/emacs

GUI

xhost +local:root # WARN: this comes with security issues
docker run -it --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix silex/emacs

Alternatives

Contributions

They are very welcome! The basic workflow is as follow:

  • Modify images.yml.
  • Modify files inside the /templates directory.
  • Run bin/images generate to spread the changes everywhere.