mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 10:27:14 +00:00 
			
		
		
		
	prefixed helper tag
This commit is contained in:
		
							parent
							
								
									c60755dd0a
								
							
						
					
					
						commit
						796c0fbbd5
					
				
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -64,7 +64,7 @@ jobs: | |||||||
|         uses: docker/build-push-action@v2 |         uses: docker/build-push-action@v2 | ||||||
|         with: |         with: | ||||||
|           push: false |           push: false | ||||||
|           tags: kopano_repo_helper |           tags: zokradonh/kopano_repo_helper | ||||||
|           context: repo |           context: repo | ||||||
|           cache-from: type=local,src=/tmp/.kopano-repo-helper-cache |           cache-from: type=local,src=/tmp/.kopano-repo-helper-cache | ||||||
|           cache-to: type=local,dest=/tmp/.kopano-repo-helper-cache-new,mode=max |           cache-to: type=local,dest=/tmp/.kopano-repo-helper-cache-new,mode=max | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -62,7 +62,7 @@ build-repo: | |||||||
| 		--build-arg KOPANO_WEBAPP_SMIME_REPOSITORY_URL=$(KOPANO_WEBAPP_SMIME_REPOSITORY_URL) \
 | 		--build-arg KOPANO_WEBAPP_SMIME_REPOSITORY_URL=$(KOPANO_WEBAPP_SMIME_REPOSITORY_URL) \
 | ||||||
| 		--build-arg KOPANO_ZPUSH_REPOSITORY_URL=$(KOPANO_ZPUSH_REPOSITORY_URL) \
 | 		--build-arg KOPANO_ZPUSH_REPOSITORY_URL=$(KOPANO_ZPUSH_REPOSITORY_URL) \
 | ||||||
| 		--build-arg DOWNLOAD_COMMUNITY_PACKAGES=$(DOWNLOAD_COMMUNITY_PACKAGES) \
 | 		--build-arg DOWNLOAD_COMMUNITY_PACKAGES=$(DOWNLOAD_COMMUNITY_PACKAGES) \
 | ||||||
| 		-t kopano_repo_helper repo/ | 		-t zokradonh/kopano_repo_helper repo/ | ||||||
| 
 | 
 | ||||||
| .PHONY: build | .PHONY: build | ||||||
| build: component ?= base | build: component ?= base | ||||||
|  | |||||||
| @ -59,7 +59,7 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ | |||||||
| # get common utilities | # get common utilities | ||||||
| COPY kcconf.py defaultconfigs/ /kopano/ | COPY kcconf.py defaultconfigs/ /kopano/ | ||||||
| # add apt key for later use | # add apt key for later use | ||||||
| RUN --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ | RUN --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /kopano/repo/Release.key |     APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /kopano/repo/Release.key | ||||||
| 
 | 
 | ||||||
| # TODO: replace by org.opencontainers.image.* and set by GitHub Action instead of Dockerfile LABEL-instruction. Only set labels that might be useful in local builds | # TODO: replace by org.opencontainers.image.* and set by GitHub Action instead of Dockerfile LABEL-instruction. Only set labels that might be useful in local builds | ||||||
|  | |||||||
| @ -31,8 +31,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |||||||
| 
 | 
 | ||||||
| # install Kopano Core and refresh ca-certificates | # install Kopano Core and refresh ca-certificates | ||||||
| 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     # install |     # install | ||||||
|     apt-get update && \ |     apt-get update && \ | ||||||
|     set -x && \ |     set -x && \ | ||||||
|  | |||||||
| @ -23,8 +23,8 @@ LABEL maintainer=az@zok.xyz \ | |||||||
| SHELL ["/bin/bash", "-o", "pipefail", "-c"] | 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     # install |     # install | ||||||
|     apt-get update && \ |     apt-get update && \ | ||||||
|     # TODO mime-support could be remove once its an official dependency of kopano-kwebd |     # TODO mime-support could be remove once its an official dependency of kopano-kwebd | ||||||
|  | |||||||
| @ -25,8 +25,8 @@ LABEL maintainer=az@zok.xyz \ | |||||||
| 
 | 
 | ||||||
| # install Kopano kDAV | # install Kopano kDAV | ||||||
| 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     set -x && \ |     set -x && \ | ||||||
|     apt-get update && apt-get install -y --no-install-recommends \ |     apt-get update && apt-get install -y --no-install-recommends \ | ||||||
|         php-mbstring \ |         php-mbstring \ | ||||||
|  | |||||||
| @ -24,8 +24,8 @@ LABEL maintainer=az@zok.xyz \ | |||||||
| SHELL ["/bin/bash", "-o", "pipefail", "-c"] | 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     # install |     # install | ||||||
|     apt-get update && \ |     apt-get update && \ | ||||||
|     # TODO mime-support could be remove once its an official dependency of kopano-kwebd |     # TODO mime-support could be remove once its an official dependency of kopano-kwebd | ||||||
|  | |||||||
| @ -23,8 +23,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |||||||
| 
 | 
 | ||||||
| # add install common php dependencies | # add install common php dependencies | ||||||
| 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     # 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 \ | ||||||
|  | |||||||
| @ -28,8 +28,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |||||||
| # install Kopano WebApp | # install Kopano WebApp | ||||||
| # hadolint ignore=SC2129 | # hadolint ignore=SC2129 | ||||||
| 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     # 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 \ | ||||||
|  | |||||||
| @ -29,8 +29,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |||||||
| # hadolint currently does not understand the extended buildkit syntax https://github.com/hadolint/hadolint/issues/347 | # hadolint currently does not understand the extended buildkit syntax https://github.com/hadolint/hadolint/issues/347 | ||||||
| # hadolint ignore=DL3015 | # hadolint ignore=DL3015 | ||||||
| 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 \ | ||||||
|     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=kopano_repo_helper \ |     --mount=type=bind,target=/kopano/repo,source=/kopano/repo,from=zokradonh/kopano_repo_helper \ | ||||||
|     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=kopano_repo_helper \ |     --mount=type=bind,target=/etc/apt/sources.list.d/,source=/etc/apt/sources.list.d/,from=zokradonh/kopano_repo_helper \ | ||||||
|     # install |     # install | ||||||
|     set -x && \ |     set -x && \ | ||||||
|     # TODO set IGNORE_FIXSTATES_ON_UPGRADE https://jira.z-hub.io/browse/ZP-1164 |     # TODO set IGNORE_FIXSTATES_ON_UPGRADE https://jira.z-hub.io/browse/ZP-1164 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user