1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +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
2 changed files with 12 additions and 1 deletions
+6 -1
View File
@@ -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
+6
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