1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00

example to build local container with just some added plugins (#350)

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2020-03-16 15:11:21 -04:00 committed by GitHub
parent 4e9829f466
commit c8a7958083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -47,7 +47,7 @@ help:
all: build-all all: build-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 .PHONY: build
build: component ?= base build: component ?= base
@ -174,6 +174,11 @@ build-webapp-demo: ## Replaces the actual kopano_webapp container with one that
-f webapp/Dockerfile.demo \ -f webapp/Dockerfile.demo \
-t $(docker_repo)/kopano_webapp webapp/ -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: build-zpush:
component=zpush make build component=zpush make build

View File

@ -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