chore: add Makefile

This commit is contained in:
Doro Wu 2018-03-08 10:59:30 +08:00
parent 91a76e7196
commit 9e608482c8

15
Makefile Normal file
View file

@ -0,0 +1,15 @@
.PHONY: build run
REPO ?= dorowu/ubuntu-desktop-lxde-vnc
TAG ?= latest
build:
docker build -t $(REPO):$(TAG) .
run:
docker run -it --rm -p 6080:80 \
--name ubuntu-desktop-lxde-test \
$(REPO):$(TAG)
shell:
docker exec -it ubuntu-desktop-lxde-test bash