A super light emacs in your docker, designed for testing and automation purposes. Based on alpine
2.8K
A super lightweight emacs in your docker
The contemporary version of this package is [[https://github.com/Silex/docker-emacs][Silex/docker-emacs]].
Get it at [[https://hub.docker.com/r/jgkamat/emacs/][jgkamat/emacs]]!
#+BEGIN_SRC shell docker run -ti jgkamat/emacs:25.2 emacs #+END_SRC
I'll try to support as many versions of emacs as alpine will, submit a PR if you find anything lacking.
** Available Tags
In addition to these tags, all tags have a -cask variant that contains cask preinstalled.
I use Emacs for many things, not just for editing text! For example, I generate almost 100% of my written content in the fantastic [[http://orgmode.org/][org-mode]]. I need docker images of emacs to run these, for quick and reproducible builds.
While Silex/docker-emacs is probably the best environment to get started on, it is lacking quite a bit for my use case.
While Silex/docker-emacs is useful if you want to test on specific emacs versions (since it compiles it's own version it can achieve this), this is not 100% necessary for many usecases.
jgkamat/airy-docker-emacs is:
jgkamat/airy-docker-emacs is NOT:
| Repo | Size | |-------------------------------------+--------| | silex/docker-emacs:25.2 | 455GB | | silex/docker-emacs:25.2-dev | 1.37GB | | silex/docker-emacs:25.2-alpine | 223MB | | silex/docker-emacs:25.2-alpine-dev | 1.16GB | | jgkamat/airy-docker-emacs:25.2 | 125MB | | jgkamat/airy-docker-emacs:25.2-cask | 192MB |
(I understand this is not a fair comparison, but I can't build these on my laptop to find out anyway)
| Repo | Time | |-----------------------------------------+------------| | Silex/docker-emacs:25 (travis) | 16 minutes | | jgkamat/airy-docker-emacs:25.2 (laptop) | 5s |
Results are from emacs byte compilation of my dotfiles and their dependencies in circleci
| Repo | Build Time | Source | |----------------------------------+------------+-----------| | Silex/docker-emacs:25 (outdated) | 1:20 | [[https://circleci.com/gh/jgkamat/dotfiles/262][build 262]] | | jgkamat/airy-docker-emacs:25.2 | 0:56 | [[https://circleci.com/gh/jgkamat/dotfiles/304][build 304]] |
Content type
Image
Digest
Size
74.8 MB
Last updated
almost 5 years ago
docker pull jgkamat/emacs:26.3-cask