Public | Automated Build

Last pushed: 10 months ago
Short Description
Personal fork of Jare's great work
Full Description

Dockerized Spacemacs(GUI)


Press " "-"T"-"n" to cycle to the next theme
More themes

Also You might want to look at my Vim+Tmux based thingy jare/drop-in


What's inside?

jare/spacemacs:base

*The image contains all Emacs packages used by Spacemacs.

jare/spacemacs:latest

You can set the user by changing those lines in the jare/spacemacs:base Dockerfile:

  ENV uid 1000
  ENV gid 1000
  ENV UNAME jare

Also edit .spacemacs to add stuff that you would like to have.

Usage:

  • Create /usr/local/bin/spacemacs.bash
#!/bin/bash

#Keep the container up-to-date
docker pull jare/spacemacs:latest

cd /home/jare/Documents/workspace

SPACE_HOME="$(docker inspect --format '{{.Config.Labels.HOME}}' \
jare/spacemacs:latest)"

echo '3...2...1...'

docker run -ti --rm -v $('pwd'):"${SPACE_HOME}/workspace" \
 -v /etc/localtime:/etc/localtime:ro                      \
 -v /home/jare/.ssh/id_rsa:${SPACE_HOME}/.ssh/id_rsa:ro   \
 -v /var/run/dbus:/var/run/dbus                           \
 -v /tmp/.X11-unix:/tmp/.X11-unix                         \
 -v /etc/machine-id:/etc/machine-id:ro                    \
 -e DISPLAY=$DISPLAY                                      \
 -e "GITEMAIL=w3techplayground@gmail.com"                 \
 -e "GITNAME=JAremko"                                     \
 -p 80:80 -p 8080:8080 -p 443:443 -p 3000:3000            \
 --name spacemacs jare/spacemacs:latest
  • Add this line to .bashrc alias spacemacs='bash /usr/local/bin/spacemacs.bash'
  • To use GitHub, change GITEMAIL=w3techplayground@gmail.com, GITNAME=JAremko and home/jare/.ssh/id_rsa
    If you see Emacs warnings, you can add --privileged but it's not necessary.
Docker Pull Command
Owner
bryannaegele
Source Repository

Comments (0)