Giter VIP home page Giter VIP logo

spacemacs's Introduction

Dockerized Spacemacs(GUI)

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


What's inside?

jare/spacemacs:base
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 "[email protected]"                 \
 -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'
  • Change [email protected] and GITNAME=JAremko to yours

If you see Emacs warnings, you can add --privileged but it's not necessary.

spacemacs's People

Contributors

jaremko avatar

Watchers

Eric Bailey avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.