latest
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
2021-10-14 02:04:14 -07:00
parent abb7405b4c
commit 27febcbc4d
12 changed files with 239 additions and 239 deletions

View File

@@ -1,26 +1,32 @@
export DOCKER_HOST := ssh://root@datavi.be
export DOCKER_HOST := ssh://root@meatfucker.local
default: start
default: build
.PHONY: build run
.PHONY: build run base full release
start:
make build
make run
build:
docker build --squash -t sneak/work .
full:
cd base && make build
docker build -t sneak/work .
make build
run:
-docker rm -f work
docker run \
-d \
--name work \
--hostname work \
--net host \
-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
release:
make full && make run