work/Makefile
sneak 27febcbc4d
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
latest
2021-10-14 02:04:14 -07:00

33 lines
464 B
Makefile

export DOCKER_HOST := ssh://root@meatfucker.local
default: build
.PHONY: build run base full release
start:
make build
make run
build:
docker build --squash -t sneak/work .
full:
cd base && make build
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
release:
make full && make run