mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 16:32:47 +01:00
chore: add Makefile
This commit is contained in:
parent
91a76e7196
commit
9e608482c8
1 changed files with 15 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal 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
|
||||||
Loading…
Reference in a new issue