Add ghostscript to php worker (#2035)
* Update docker-compose.yml * Update Dockerfile * Update env-example
This commit is contained in:
parent
329462a637
commit
6c8adbc195
|
@ -198,6 +198,7 @@ services:
|
||||||
- INSTALL_ZIP_ARCHIVE=${PHP_WORKER_INSTALL_ZIP_ARCHIVE}
|
- INSTALL_ZIP_ARCHIVE=${PHP_WORKER_INSTALL_ZIP_ARCHIVE}
|
||||||
- INSTALL_MYSQL_CLIENT=${PHP_WORKER_INSTALL_MYSQL_CLIENT}
|
- INSTALL_MYSQL_CLIENT=${PHP_WORKER_INSTALL_MYSQL_CLIENT}
|
||||||
- INSTALL_AMQP=${PHP_WORKER_INSTALL_AMQP}
|
- INSTALL_AMQP=${PHP_WORKER_INSTALL_AMQP}
|
||||||
|
- INSTALL_GHOSTSCRIPT=${PHP_WORKER_INSTALL_GHOSTSCRIPT}
|
||||||
- PUID=${PHP_WORKER_PUID}
|
- PUID=${PHP_WORKER_PUID}
|
||||||
- PGID=${PHP_WORKER_PGID}
|
- PGID=${PHP_WORKER_PGID}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -185,6 +185,7 @@ PHP_WORKER_INSTALL_SOAP=false
|
||||||
PHP_WORKER_INSTALL_ZIP_ARCHIVE=false
|
PHP_WORKER_INSTALL_ZIP_ARCHIVE=false
|
||||||
PHP_WORKER_INSTALL_MYSQL_CLIENT=false
|
PHP_WORKER_INSTALL_MYSQL_CLIENT=false
|
||||||
PHP_WORKER_INSTALL_AMQP=false
|
PHP_WORKER_INSTALL_AMQP=false
|
||||||
|
PHP_WORKER_INSTALL_GHOSTSCRIPT=false
|
||||||
PHP_WORKER_PUID=1000
|
PHP_WORKER_PUID=1000
|
||||||
PHP_WORKER_PGID=1000
|
PHP_WORKER_PGID=1000
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,10 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
|
||||||
&& rm -rf /tmp/cphalcon* \
|
&& rm -rf /tmp/cphalcon* \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
RUN if [ $INSTALL_GHOSTSCRIPT = true ]; then \
|
||||||
|
apk --update add ghostscript \
|
||||||
|
;fi
|
||||||
|
|
||||||
RUN rm /var/cache/apk/* \
|
RUN rm /var/cache/apk/* \
|
||||||
&& mkdir -p /var/www
|
&& mkdir -p /var/www
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue