Emacs (+ Leiningen) with config from 'Clojure for the Brave and True'.
205
Emacs + Leiningen with config from Clojure for the Brave and True.
Dockerfile for emacs with config from Clojure for the Brave and True.
$ docker run -it --rm --name project -v $(pwd):/root/project lein-emacs:1.0
# then open file:
C-x C-f path/to/open.clj
# ...and start nrepl:
M-x cider-jack-in
Recommended usage:
# in e.g. ~/.bashrc
function demacs() {
path=$(pwd)
name=${path##*/}
docker run -it --rm --name "emacs-${name}" -v ${path}:/root/project lein-emacs:1.0 emacs "/root/project/${1}"
}
# usage:
# from lein-project:
# $ demacs src/euler/core.clj
Content type
Image
Digest
Size
349.9 MB
Last updated
over 10 years ago
docker pull eval/lein-emacs:1.0