forked from jitsi/docker-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (42 loc) · 1.54 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FORCE_REBUILD ?= 0
JITSI_RELEASE ?= "stable"
JITSI_BUILD ?= "latest"
ifeq ($(FORCE_REBUILD), 1)
BUILD_ARGS = "--no-cache"
endif
build-all:
BUILD_ARGS=$(BUILD_ARGS) JITSI_RELEASE=$(JITSI_RELEASE) $(MAKE) -C base build
BUILD_ARGS=$(BUILD_ARGS) $(MAKE) -C base-java build
BUILD_ARGS=$(BUILD_ARGS) $(MAKE) -C web build
BUILD_ARGS=$(BUILD_ARGS) $(MAKE) -C prosody build
BUILD_ARGS=$(BUILD_ARGS) $(MAKE) -C jicofo build
BUILD_ARGS=$(BUILD_ARGS) $(MAKE) -C jvb build
BUILD_ARGS=$(BUILD_ARGS) $(MAKE) -C jigasi build
tag-all:
docker tag jitsi/base:latest jitsi/base:$(JITSI_BUILD)
docker tag jitsi/base-java:latest jitsi/base-java:$(JITSI_BUILD)
docker tag jitsi/web:latest jitsi/web:$(JITSI_BUILD)
docker tag jitsi/prosody:latest jitsi/prosody:$(JITSI_BUILD)
docker tag jitsi/jicofo:latest jitsi/jicofo:$(JITSI_BUILD)
docker tag jitsi/jvb:latest jitsi/jvb:$(JITSI_BUILD)
docker tag jitsi/jigasi:latest jitsi/jigasi:$(JITSI_BUILD)
push-all:
docker push jitsi/base:latest
docker push jitsi/base-java:latest
docker push jitsi/web:latest
docker push jitsi/prosody:latest
docker push jitsi/jicofo:latest
docker push jitsi/jvb:latest
docker push jitsi/jigasi:latest
docker push jitsi/base:$(JITSI_BUILD)
docker push jitsi/base-java:$(JITSI_BUILD)
docker push jitsi/web:$(JITSI_BUILD)
docker push jitsi/prosody:$(JITSI_BUILD)
docker push jitsi/jicofo:$(JITSI_BUILD)
docker push jitsi/jvb:$(JITSI_BUILD)
docker push jitsi/jigasi:$(JITSI_BUILD)
clean:
docker-compose stop
docker-compose rm
docker network prune
.PHONY: build-all tag-all push-all clean