You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
939 B
31 lines
939 B
FORCE_REBUILD ?= 0
|
|
JITSI_RELEASE ?= "stable"
|
|
|
|
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
|
|
|
|
push-all:
|
|
cd base && docker push jitsi/base && cd ..
|
|
cd base-java && docker push jitsi/base-java && cd ..
|
|
cd web && docker push jitsi/web && cd ..
|
|
cd prosody && docker push jitsi/prosody && cd ..
|
|
cd jicofo && docker push jitsi/jicofo && cd ..
|
|
cd jvb && docker push jitsi/jvb && cd ..
|
|
cd jigasi && docker push jitsi/jigasi && cd ..
|
|
|
|
clean:
|
|
docker-compose stop
|
|
docker-compose rm
|
|
docker network prune
|
|
|
|
.PHONY: build-all push-all clean
|
|
|