Workspace Rust Spacemacs is a docker container with spacemacs editor configured for rust development. It is based on workspace-rust-base
and uses Amazon Linux Container Image.
Note: This container image is configured for personal use. Please feel free take ideas that you might find interesting. If you have questions, please open an issue.
Following tools are available –
- Rust toolchain from
workspace-rust-base
- Emacs 24 with spacemacs and rust layer
- Zsh shell with oh-my-zsh
- Git and StGit
colordiff
You can pull docker image from Dockerhub.
$ docker pull rajivmr/workspace-rust-spacemacs
Rust requires .cargo/
directory to be setup correctly. See Getting Started section in workspace-rust-base
for details.
$ cd work-rust
$ mkdir .cargo
$ docker run -d -v `pwd`:/home/ll-user/work -i rajivmr/workspace-rust-spacemacs
$ docker exec -t -i <container_name> /sbin/setuser ll-user /bin/zsh
ll-user@7d00733ed19e ~ $ source rust_nightly.sh
ll-user@7d00733ed19e ~ $ emacs
ll-user@7d00733ed19e ~ $ source rust_stable.sh
ll-user@7d00733ed19e ~ $ emacs
$ cd workspace-rust-spacemacs
$ docker build -t workspace-rust-spacemacs .