mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 02:17:47 +00:00 
			
		
		
		
	Prepare update of kopano-meet for Univention (#466)
* add kapps repo to base image to prevent from potentially updated components (for example kweb) * kapps needs to be added to php image, not webapp image * ignore unknown syntax for build time secrets * update Konnect
This commit is contained in:
		
							parent
							
								
									bfc5ad9578
								
							
						
					
					
						commit
						d66c1a3df9
					
				| @ -83,6 +83,7 @@ ONBUILD RUN \ | |||||||
|     . /kopano/helper/create-kopano-repo.sh && \ |     . /kopano/helper/create-kopano-repo.sh && \ | ||||||
|     if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \ |     if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \ | ||||||
|         dl_and_package_community "core" "$DOWNLOAD_DISTRIBUTION" "$DOWNLOAD_CHANNEL" "$DOWNLOAD_BRANCH"; \ |         dl_and_package_community "core" "$DOWNLOAD_DISTRIBUTION" "$DOWNLOAD_CHANNEL" "$DOWNLOAD_BRANCH"; \ | ||||||
|  |         dl_and_package_community "kapps" "$DOWNLOAD_DISTRIBUTION" "$DOWNLOAD_CHANNEL" "$DOWNLOAD_BRANCH"; \ | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
| ARG VCS_REF | ARG VCS_REF | ||||||
|  | |||||||
| @ -8,6 +8,8 @@ ARG KOPANO_REPOSITORY_FLAGS="trusted=yes" | |||||||
| ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||||
| ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ||||||
| ARG KOPANO_CORE_VERSION=newest | ARG KOPANO_CORE_VERSION=newest | ||||||
|  | ARG KOPANO_KAPPS_REPOSITORY_URL="file:/kopano/repo/kapps" | ||||||
|  | ARG KOPANO_KAPPS_VERSION=newest | ||||||
| 
 | 
 | ||||||
| ENV \ | ENV \ | ||||||
|     ADDITIONAL_KOPANO_PACKAGES=$ADDITIONAL_KOPANO_PACKAGES \ |     ADDITIONAL_KOPANO_PACKAGES=$ADDITIONAL_KOPANO_PACKAGES \ | ||||||
| @ -43,6 +45,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |||||||
| RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \ | RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \ | ||||||
|     # apt key for this repo has already been installed in base |     # apt key for this repo has already been installed in base | ||||||
|     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ |     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ | ||||||
|  |     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_KAPPS_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list; \ | ||||||
|     # install |     # install | ||||||
|     apt-get update && \ |     apt-get update && \ | ||||||
|     set -x && \ |     set -x && \ | ||||||
|  | |||||||
| @ -1,3 +1,4 @@ | |||||||
|  | # syntax = docker/dockerfile:1.0-experimental | ||||||
| ARG docker_repo=zokradonh | ARG docker_repo=zokradonh | ||||||
| FROM ${docker_repo}/kopano_base:latest | FROM ${docker_repo}/kopano_base:latest | ||||||
| 
 | 
 | ||||||
| @ -9,13 +10,13 @@ ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | |||||||
| ARG KOPANO_CORE_VERSION=newest | ARG KOPANO_CORE_VERSION=newest | ||||||
| ARG KOPANO_KAPPS_REPOSITORY_URL="file:/kopano/repo/kapps" | ARG KOPANO_KAPPS_REPOSITORY_URL="file:/kopano/repo/kapps" | ||||||
| ARG KOPANO_KAPPS_VERSION=newest | ARG KOPANO_KAPPS_VERSION=newest | ||||||
| ENV KOPANO_KAPPS_VERSION=$KOPANO_KAPPS_VERSION |  | ||||||
| 
 | 
 | ||||||
| ENV \ | ENV \ | ||||||
|     ADDITIONAL_KOPANO_PACKAGES=$ADDITIONAL_KOPANO_PACKAGES \ |     ADDITIONAL_KOPANO_PACKAGES=$ADDITIONAL_KOPANO_PACKAGES \ | ||||||
|     DOWNLOAD_COMMUNITY_PACKAGES=$DOWNLOAD_COMMUNITY_PACKAGES \ |     DOWNLOAD_COMMUNITY_PACKAGES=$DOWNLOAD_COMMUNITY_PACKAGES \ | ||||||
|     KOPANO_CORE_REPOSITORY_URL=$KOPANO_CORE_REPOSITORY_URL \ |     KOPANO_CORE_REPOSITORY_URL=$KOPANO_CORE_REPOSITORY_URL \ | ||||||
|     KOPANO_CORE_VERSION=$KOPANO_CORE_VERSION \ |     KOPANO_CORE_VERSION=$KOPANO_CORE_VERSION \ | ||||||
|  |     KOPANO_KAPPS_VERSION=$KOPANO_KAPPS_VERSION \ | ||||||
|     KOPANO_REPOSITORY_FLAGS=$KOPANO_REPOSITORY_FLAGS |     KOPANO_REPOSITORY_FLAGS=$KOPANO_REPOSITORY_FLAGS | ||||||
| 
 | 
 | ||||||
| LABEL maintainer=az@zok.xyz \ | LABEL maintainer=az@zok.xyz \ | ||||||
| @ -28,13 +29,9 @@ LABEL maintainer=az@zok.xyz \ | |||||||
| 
 | 
 | ||||||
| SHELL ["/bin/bash", "-o", "pipefail", "-c"] | SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||||||
| 
 | 
 | ||||||
| # install Kopano Core and refresh ca-certificates | # hadolint ignore=SC2215 | ||||||
| RUN \ | RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \ | ||||||
|     # community download and package as apt source repository |     # apt key for this repo has already been installed in base | ||||||
|     . /kopano/helper/create-kopano-repo.sh && \ |  | ||||||
|     if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \ |  | ||||||
|         dl_and_package_community "kapps"; \ |  | ||||||
|     fi; \ |  | ||||||
|     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_KAPPS_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ |     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_KAPPS_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ | ||||||
|     # install |     # install | ||||||
|     apt-get update && \ |     apt-get update && \ | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| ARG CODE_VERSION=0.33.6 | ARG CODE_VERSION=0.33.8 | ||||||
| 
 | 
 | ||||||
| FROM golang:1.15-alpine3.12 as builder-sponge | FROM golang:1.15-alpine3.12 as builder-sponge | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -8,6 +8,8 @@ ARG KOPANO_REPOSITORY_FLAGS="trusted=yes" | |||||||
| ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||||
| ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ||||||
| ARG KOPANO_CORE_VERSION=newest | ARG KOPANO_CORE_VERSION=newest | ||||||
|  | ARG KOPANO_KAPPS_REPOSITORY_URL="file:/kopano/repo/kapps" | ||||||
|  | ARG KOPANO_KAPPS_VERSION=newest | ||||||
| 
 | 
 | ||||||
| ENV \ | ENV \ | ||||||
|     ADDITIONAL_KOPANO_PACKAGES=$ADDITIONAL_KOPANO_PACKAGES \ |     ADDITIONAL_KOPANO_PACKAGES=$ADDITIONAL_KOPANO_PACKAGES \ | ||||||
| @ -31,6 +33,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |||||||
| RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \ | RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \ | ||||||
|     # apt key for this repo has already been installed in base |     # apt key for this repo has already been installed in base | ||||||
|     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ |     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ | ||||||
|  |     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_KAPPS_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list; \ | ||||||
|     # install |     # install | ||||||
|     set -x && \ |     set -x && \ | ||||||
|     apt-get update && apt-get install -y --no-install-recommends \ |     apt-get update && apt-get install -y --no-install-recommends \ | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| ARG CODE_VERSION=0.12.3 | ARG CODE_VERSION=0.12.4 | ||||||
| FROM kopano/kwebd:${CODE_VERSION} | FROM kopano/kwebd:${CODE_VERSION} | ||||||
| 
 | 
 | ||||||
| ARG CODE_VERSION | ARG CODE_VERSION | ||||||
|  | |||||||
| @ -4,15 +4,15 @@ FROM ${docker_repo}/kopano_php | |||||||
| 
 | 
 | ||||||
| ARG ADDITIONAL_KOPANO_PACKAGES="" | ARG ADDITIONAL_KOPANO_PACKAGES="" | ||||||
| ARG ADDITIONAL_KOPANO_WEBAPP_PLUGINS="" | ARG ADDITIONAL_KOPANO_WEBAPP_PLUGINS="" | ||||||
| ARG DOWNLOAD_COMMUNITY_PACKAGES=1 |  | ||||||
| ARG KOPANO_REPOSITORY_FLAGS="trusted=yes" |  | ||||||
| ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||||
|  | ARG DOWNLOAD_COMMUNITY_PACKAGES=1 | ||||||
| ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ||||||
| ARG KOPANO_CORE_VERSION=newest | ARG KOPANO_CORE_VERSION=newest | ||||||
|  | ARG KOPANO_REPOSITORY_FLAGS="trusted=yes" | ||||||
|  | ARG KOPANO_WEBAPP_FILES_REPOSITORY_URL="file:/kopano/repo/files" | ||||||
|  | ARG KOPANO_WEBAPP_MDM_REPOSITORY_URL="file:/kopano/repo/mdm" | ||||||
| ARG KOPANO_WEBAPP_REPOSITORY_URL="file:/kopano/repo/webapp" | ARG KOPANO_WEBAPP_REPOSITORY_URL="file:/kopano/repo/webapp" | ||||||
| ARG KOPANO_WEBAPP_SMIME_REPOSITORY_URL="file:/kopano/repo/smime" | ARG KOPANO_WEBAPP_SMIME_REPOSITORY_URL="file:/kopano/repo/smime" | ||||||
| ARG KOPANO_WEBAPP_MDM_REPOSITORY_URL="file:/kopano/repo/mdm" |  | ||||||
| ARG KOPANO_WEBAPP_FILES_REPOSITORY_URL="file:/kopano/repo/files" |  | ||||||
| ARG KOPANO_WEBAPP_VERSION=newest | ARG KOPANO_WEBAPP_VERSION=newest | ||||||
| 
 | 
 | ||||||
| ENV \ | ENV \ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user