This is a guide to setting up a development environment in QubesOS v4
- Add GPG key to TemplateVM repository list
- Install Docker CE in TemplateVM
- Reboot TemplateVM
- Start AppVM
- Build Docker Image encapsulating development environment
- Dockerfile Inspired by: https://github.com/Joengenduvel/docker-vscode/blob/master/Dockerfile
- Add volume for sharing files between container and host VM
- Start Docker Container:
sudo docker run -d / --rm -e "DISPLAY=$DISPLAY" / -v /tmp/.X11-unix:/tmp/.X11-unix / -v ~/Projects:/home/dev code
- [Persist container images]
- OPTIONAL: Alias Docker Run Command
- Add an entry to ~/.bashrc file pointing at the previous docker run command:
alias code='sudo docker run...'
- Pass flag indicating whether this during an appVM's first configuration
chmod +x ./system-setup.sh && ./system-setup.sh init
- On subsequent startups, can siple execute
dev <crypto|js|python>
list of arguments
trezor/trezor-core#167 https://wiki.trezor.io/Qubes_OS
https://forums.whonix.org/t/playing-dota2-with-torified-steamos-by-qubes-whonix/6584