Files
Pub-Openssh/makefile
2022-12-28 14:19:03 +01:00

29 lines
394 B
Makefile

include make.conf
build:
docker build -t $(IMAGE) .
build-nocache:
docker build --no-cache -t $(IMAGE) .
run:
docker run -d $(STARTOPT)
bash:
docker exec -i -t $(CONTNAME) /bin/bash
stop:
docker stop $(CONTNAME)
delete:
docker rm $(CONTNAME)
clear:
docker rmi -f $(CONTAINER)
install:
docker run -d --restart=always $(STARTOPT)
reinstall:
make stop;make delete ;make install