add Makefile
This commit is contained in:
17
Makefile/Makefile
Normal file
17
Makefile/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
.RECIPEPREFIX := $() $()
|
||||
|
||||
.PHONY = all build push
|
||||
|
||||
all: push run
|
||||
|
||||
build:
|
||||
docker build . -t yauk.tv/agent
|
||||
|
||||
push: build
|
||||
docker push yauk.tv/agent
|
||||
|
||||
run: build
|
||||
docker run --rm --network host yauk.tv/agent
|
||||
|
||||
test:
|
||||
echo PING
|
||||
Reference in New Issue
Block a user