Skip to content

snogge/docker-emacs

 
 

Repository files navigation

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.
  • The -ci and -alpine-ci variants are based on the main and `'alpine' images respectively. They add some basic tools to make CI easier, e.g. bash, bzip2, git, make, and tar.

Tags

Usage

Console

docker run -it --rm olanilsson/emacs

GUI

xhost +local:root # WARN: this comes with security issues
docker run -it --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix olanilsson/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.

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 80.8%
  • Ruby 13.2%
  • Shell 5.1%
  • Other 0.9%