Add Makefiles
This commit is contained in:
parent
7fb7d1596d
commit
52d346a66e
|
@ -0,0 +1,13 @@
|
|||
.PHONY: all clean nginx-rtmp stream-playout
|
||||
|
||||
all: nginx-rtmp stream-playout
|
||||
|
||||
clean:
|
||||
$(MAKE) -C nginx-rtmp clean
|
||||
$(MAKE) -C stream-playout clean
|
||||
|
||||
nginx-rtmp:
|
||||
$(MAKE) -C nginx-rtmp
|
||||
|
||||
stream-playout:
|
||||
$(MAKE) -C stream-playout
|
|
@ -0,0 +1,14 @@
|
|||
DOCKER = docker
|
||||
|
||||
image = nginx-rtmp
|
||||
tag = alpine3.12
|
||||
|
||||
.PHONY: all clean $(image)
|
||||
|
||||
all: $(image)
|
||||
|
||||
clean:
|
||||
$(DOCKER) image rm $(image):$(tag)
|
||||
|
||||
$(image): Dockerfile docker-entrypoint.sh rtmp.conf
|
||||
$(DOCKER) build -t $(image):$(tag) .
|
Loading…
Reference in New Issue