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