parent
84332c9527
commit
0e43efa17e
@ -1,9 +1,16 @@ |
||||
FORCE_REBUILD ?= 0
|
||||
JITSI_RELEASE ?= "unstable"
|
||||
|
||||
ifeq ($(FORCE_REBUILD), 1) |
||||
BUILD_ARGS = "--no-cache"
|
||||
endif |
||||
|
||||
build-all: |
||||
$(MAKE) -C base build
|
||||
$(MAKE) -C base-java build
|
||||
$(MAKE) -C web build
|
||||
$(MAKE) -C prosody build
|
||||
$(MAKE) -C jicofo build
|
||||
$(MAKE) -C jvb build
|
||||
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
|
||||
|
||||
.PHONY: build-all |
||||
|
@ -1,4 +1,4 @@ |
||||
build: |
||||
docker build -t jitsi/base-java .
|
||||
docker build $(BUILD_ARGS) -t jitsi/base-java .
|
||||
|
||||
.PHONY: build |
||||
|
@ -1,4 +1,4 @@ |
||||
build: |
||||
docker build -t jitsi/base .
|
||||
docker build $(BUILD_ARGS) --build-arg JITSI_RELEASE=$(JITSI_RELEASE) -t jitsi/base .
|
||||
|
||||
.PHONY: build |
||||
|
@ -1,4 +1,4 @@ |
||||
build: |
||||
docker build -t jitsi/jicofo .
|
||||
docker build $(BUILD_ARGS) -t jitsi/jicofo .
|
||||
|
||||
.PHONY: build |
||||
|
@ -1,4 +1,4 @@ |
||||
build: |
||||
docker build -t jitsi/jvb .
|
||||
docker build $(BUILD_ARGS) -t jitsi/jvb .
|
||||
|
||||
.PHONY: build |
||||
|
@ -1,4 +1,4 @@ |
||||
build: |
||||
docker build -t jitsi/prosody .
|
||||
docker build $(BUILD_ARGS) -t jitsi/prosody .
|
||||
|
||||
.PHONY: build |
||||
|
@ -1,4 +1,4 @@ |
||||
build: |
||||
docker build -t jitsi/web .
|
||||
docker build $(BUILD_ARGS) -t jitsi/web .
|
||||
|
||||
.PHONY: build |
||||
|
Loading…
Reference in new issue