Skip to content

Commit ee2db98

Browse files
scappuccinobestlong
authored andcommitted
xsl support added (feature for magento 2) (laradock#1995)
* Update php-fpm Dockerfile * Update workspace Dockerfile * Update env-example
1 parent 739e8d3 commit ee2db98

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

env-example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ WORKSPACE_INSTALL_SSH2=false
100100
WORKSPACE_INSTALL_LDAP=false
101101
WORKSPACE_INSTALL_GMP=false
102102
WORKSPACE_INSTALL_SOAP=false
103+
WORKSPACE_INSTALL_XSL=false
103104
WORKSPACE_INSTALL_IMAP=false
104105
WORKSPACE_INSTALL_MONGO=false
105106
WORKSPACE_INSTALL_AMQP=false
@@ -153,6 +154,7 @@ PHP_FPM_INSTALL_AMQP=false
153154
PHP_FPM_INSTALL_MSSQL=false
154155
PHP_FPM_INSTALL_SSH2=false
155156
PHP_FPM_INSTALL_SOAP=false
157+
PHP_FPM_INSTALL_XSL=false
156158
PHP_FPM_INSTALL_GMP=false
157159
PHP_FPM_INSTALL_EXIF=false
158160
PHP_FPM_INSTALL_AEROSPIKE=false

php-fpm/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,18 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \
9292
docker-php-ext-install soap \
9393
;fi
9494

95+
###########################################################################
96+
# XSL:
97+
###########################################################################
98+
99+
ARG INSTALL_XSL=false
100+
101+
RUN if [ ${INSTALL_XSL} = true ]; then \
102+
# Install the xsl extension
103+
apt-get -y install libxslt-dev && \
104+
docker-php-ext-install xsl \
105+
;fi
106+
95107
###########################################################################
96108
# pgsql
97109
###########################################################################

workspace/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,20 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \
229229
apt-get -y install libxml2-dev php${LARADOCK_PHP_VERSION}-soap \
230230
;fi
231231

232+
###########################################################################
233+
# XSL:
234+
###########################################################################
235+
236+
USER root
237+
238+
ARG INSTALL_XSL=false
239+
240+
RUN if [ ${INSTALL_XSL} = true ]; then \
241+
# Install the PHP XSL extension
242+
apt-get -y install libxslt-dev php${LARADOCK_PHP_VERSION}-xsl \
243+
;fi
244+
245+
232246
###########################################################################
233247
# LDAP:
234248
###########################################################################

0 commit comments

Comments
 (0)