Skip to content

Commit

Permalink
feat: add Makefile in pathwar/level-example
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Sep 15, 2019
1 parent b7da8eb commit 2566b88
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions level/example/hello-world/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.PHONY: build
build:
docker build -t pathwar/level-example .

.PHONY: clean
clean:
pathwar.land hypervisor prune || true
docker rm -f pathwar-level-example || true

.PHONY: run-with-pathwar
run-with-pathwar: build
pathwar.land hypervisor run --web-port=8899 pathwar/level-example

.PHONY: run-with-pathwar
run-with-docker: build
docker run --name=pathwar-level-example -it --rm -p 8899:80 pathwar/level-example

0 comments on commit 2566b88

Please sign in to comment.