export DOCKER_HOST := ssh://root@datavi.be default: start .PHONY: build run start: make build make run build: cd base && make build docker build -t sneak/work . run: -docker rm -f work docker run \ -d \ --name work \ -v /:/hostroot \ -v /home/sneak:/hosthome \ -v /var/run/docker.sock:/var/run/docker.sock \ sneak/work enter: docker run -ti --rm=true -e HOME=/home/user -e USER=user --user=user -v /home/sneak:/home/user/.home sneak/work /home/user/.nix-profile/bin/zsh -l