mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 02:17:47 +00:00 
			
		
		
		
	BugFix: Since version unknown, /etc/kopano is empty
This commit is contained in:
		
							parent
							
								
									a5ef4e27f1
								
							
						
					
					
						commit
						89b0351e0b
					
				| @ -46,8 +46,12 @@ RUN set -x && \ | |||||||
|     curl -s -S -o - "${KOPANO_REPOSITORY_URL}/Release.key" | apt-key add - && \ |     curl -s -S -o - "${KOPANO_REPOSITORY_URL}/Release.key" | apt-key add - && \ | ||||||
|     apt-get update && \ |     apt-get update && \ | ||||||
|     apt-get install --no-install-recommends -y \ |     apt-get install --no-install-recommends -y \ | ||||||
|         kopano-server-packages="${KOPANO_CORE_VERSION}" && \ |         kopano-server-packages="${KOPANO_CORE_VERSION}" \ | ||||||
|     rm -rf /var/cache/apt /var/lib/apt/lists |         php7.0-cli && \ | ||||||
|  |     rm -rf /var/cache/apt /var/lib/apt/lists && \ | ||||||
|  |     cp /usr/share/doc/kopano/example-config/*.cfg /etc/kopano/ && \ | ||||||
|  |     cp /usr/share/doc/kopano/example-config/*.cfg.gz /etc/kopano/ && \ | ||||||
|  |     gzip -d -f /etc/kopano/*.gz | ||||||
| 
 | 
 | ||||||
| ENV KOPANO_LOCALE="de_DE.UTF-8" | ENV KOPANO_LOCALE="de_DE.UTF-8" | ||||||
| ENV KOPANO_USERSCRIPT_LOCALE="de_DE.UTF-8" | ENV KOPANO_USERSCRIPT_LOCALE="de_DE.UTF-8" | ||||||
|  | |||||||
| @ -4,8 +4,7 @@ set -eu # unset variables are errors & non-zero return values exit the whole scr | |||||||
| 
 | 
 | ||||||
| mkdir -p /kopano/data/attachments /var/run/kopano | mkdir -p /kopano/data/attachments /var/run/kopano | ||||||
| 
 | 
 | ||||||
| echo "Create /etc/kopano/ldap.cfg and prepare" | ts | echo "Create default configs and prepare" | ts | ||||||
| cp /usr/share/doc/kopano/example-config/ldap.cfg /etc/kopano/ldap.cfg |  | ||||||
| sed -e "s|^\s*!include /usr/share/kopano/ldap.openldap.cfg|#!include /usr/sharekopano/ldap.openldap.cfg|" \ | sed -e "s|^\s*!include /usr/share/kopano/ldap.openldap.cfg|#!include /usr/sharekopano/ldap.openldap.cfg|" \ | ||||||
|     -e "s|#!include /usr/share/kopano/ldap.active-directory.cfg|!include /usr/share/kopano/ldap.active-directory.cfg|" \ |     -e "s|#!include /usr/share/kopano/ldap.active-directory.cfg|!include /usr/share/kopano/ldap.active-directory.cfg|" \ | ||||||
|     -i /etc/kopano/ldap.cfg |     -i /etc/kopano/ldap.cfg | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user