mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-31 01:57:59 +00:00 
			
		
		
		
	update roundcube 1.3.10
(cherry picked from commit 56efc46af8)
# Conflicts:
#	webmails/roundcube/Dockerfile
			
			
This commit is contained in:
		
							
								
								
									
										39
									
								
								webmails/roundcube/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								webmails/roundcube/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | |||||||
|  | FROM php:7.3-apache | ||||||
|  | #Shared layer between rainloop and roundcube | ||||||
|  | RUN apt-get update && apt-get install -y \ | ||||||
|  |   python3 curl python3-pip git \ | ||||||
|  |   && rm -rf /var/lib/apt/lists \ | ||||||
|  |   && echo "ServerSignature Off" >> /etc/apache2/apache2.conf | ||||||
|  |  | ||||||
|  | # Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube | ||||||
|  | RUN pip3 install socrate | ||||||
|  |  | ||||||
|  | ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1.3.10/roundcubemail-1.3.10-complete.tar.gz | ||||||
|  |  | ||||||
|  | RUN apt-get update && apt-get install -y \ | ||||||
|  |       zlib1g-dev libzip4 libzip-dev \ | ||||||
|  |       python3-jinja2 \ | ||||||
|  |  && docker-php-ext-install zip \ | ||||||
|  |  && echo date.timezone=UTC > /usr/local/etc/php/conf.d/timezone.ini \ | ||||||
|  |  && rm -rf /var/www/html/ \ | ||||||
|  |  && cd /var/www \ | ||||||
|  |  && curl -L -O ${ROUNDCUBE_URL} \ | ||||||
|  |  && tar -xf *.tar.gz \ | ||||||
|  |  && rm -f *.tar.gz \ | ||||||
|  |  && mv roundcubemail-* html \ | ||||||
|  |  && cd html \ | ||||||
|  |  && rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer \ | ||||||
|  |  && sed -i 's,mod_php5.c,mod_php7.c,g' .htaccess \ | ||||||
|  |  && chown -R www-data: logs temp \ | ||||||
|  |  && rm -rf /var/lib/apt/lists | ||||||
|  |  | ||||||
|  | COPY php.ini /php.ini | ||||||
|  | COPY config.inc.php /var/www/html/config/ | ||||||
|  | COPY start.py /start.py | ||||||
|  |  | ||||||
|  | EXPOSE 80/tcp | ||||||
|  | VOLUME ["/data"] | ||||||
|  |  | ||||||
|  | CMD /start.py | ||||||
|  |  | ||||||
|  | HEALTHCHECK CMD curl -f -L http://localhost/ || exit 1 | ||||||
		Reference in New Issue
	
	Block a user
	 Thomas Sänger
					Thomas Sänger