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:
parent
4e9829f466
commit
c8a7958083
7
Makefile
7
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
|
||||
|
||||
|
6
webapp/Dockerfile.plugins
Normal file
6
webapp/Dockerfile.plugins
Normal 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
|
Loading…
x
Reference in New Issue
Block a user