diff --git a/Makefile b/Makefile index a8faf8a..ae55cc3 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ help: all: build-all build-all: - make $(shell grep -o ^build-.*: Makefile | grep -Ev 'build-all|build-simple|build-builder|build-webapp-demo' | uniq | sed s/://g | xargs) + make $(shell grep -o ^build-.*: Makefile | grep -Ev 'build-all|build-simple|build-builder|build-webapp-demo|build-webapp-plugins' | uniq | sed s/://g | xargs) .PHONY: build build: component ?= base @@ -174,6 +174,11 @@ build-webapp-demo: ## Replaces the actual kopano_webapp container with one that -f webapp/Dockerfile.demo \ -t $(docker_repo)/kopano_webapp webapp/ +build-webapp-plugins: ## Example for a custom image to install Kopano WebApp plugins + docker build --rm \ + -f webapp/Dockerfile.plugins \ + -t $(docker_repo)/kopano_webapp webapp/ + build-zpush: component=zpush make build diff --git a/webapp/Dockerfile.plugins b/webapp/Dockerfile.plugins new file mode 100644 index 0000000..ccf9124 --- /dev/null +++ b/webapp/Dockerfile.plugins @@ -0,0 +1,6 @@ +ARG docker_repo=zokradonh +FROM ${docker_repo}/kopano_webapp + +RUN apt-get update && apt-get install -y --no-install-recommends \ + kopano-webapp-plugin-mdm \ + && rm -rf /var/cache/apt /var/lib/apt/lists