paheko fix gd/webp
This commit is contained in:
		@@ -10,12 +10,10 @@ RUN mkdir ${PAHEKO_DIR}/users
 | 
			
		||||
#pour corriger le bug "export excel"
 | 
			
		||||
RUN docker-php-ext-install calendar
 | 
			
		||||
 | 
			
		||||
#on écarte DomPDF avant l'install en raison d'une erreur "vous devez installer php gd"
 | 
			
		||||
RUN mv ${PAHEKO_DIR}/data/plugins/dompdf ${PAHEKO_DIR}/data/plugins/dompdf.sav
 | 
			
		||||
 | 
			
		||||
#RUN apt-get update
 | 
			
		||||
#RUN apt-get install -y libpng-dev
 | 
			
		||||
#RUN docker-php-ext-install gd
 | 
			
		||||
RUN apt-get update
 | 
			
		||||
RUN apt-get install -y libwebp-dev
 | 
			
		||||
RUN docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp
 | 
			
		||||
RUN docker-php-ext-install gd
 | 
			
		||||
 | 
			
		||||
#Plugin facturation (le seul qui ne fasse pas parti de la distribution de base
 | 
			
		||||
RUN apt-get install unzip
 | 
			
		||||
@@ -38,9 +36,6 @@ RUN ln -sf /usr/local/bin/php /usr/bin/
 | 
			
		||||
#outil pour debugger dans le docker
 | 
			
		||||
RUN apt-get install -y inetutils-ping net-tools
 | 
			
		||||
 | 
			
		||||
#on remet DomPDF dans le game
 | 
			
		||||
RUN mv ${PAHEKO_DIR}/data/plugins/dompdf.sav ${PAHEKO_DIR}/data/plugins/dompdf
 | 
			
		||||
 | 
			
		||||
# Set owner web server
 | 
			
		||||
RUN chown -R www-data: ${PAHEKO_DIR}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user