work/Makefile

14 lines
353 B
Makefile

#export DOCKER_HOST := ssh://las1.eeqj.de
.PHONY: build
build:
docker build \
--build-arg UBUNTU_MIRROR=http://us.archive.ubuntu.com/ubuntu \
-t sneak/work \
. \
2>&1 | tee -a build.log
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