Skip to content

Commit c46d361

Browse files
authored
Add intl
1 parent fe8a02a commit c46d361

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apk add --update --no-cache \
1515
#gd
1616
libpng libpng-dev \
1717
#intl
18-
libicu-dev
18+
icu-dev
1919

2020
#bzip2-dev
2121

@@ -32,26 +32,24 @@ RUN curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/
3232
# SimpleXML sodium sqlite3 standard tokenizer
3333
# xml xmlreader xmlwriter zlib
3434

35-
RUN docker-php-ext-configure intl
36-
3735
RUN docker-php-ext-install \
3836
pcntl posix \
3937
mysqli pdo_mysql \
4038
zip \
4139
soap \
4240
shmop \
4341
phar \
44-
intl \
4542
gd exif fileinfo \
4643
opcache
4744

48-
45+
RUN docker-php-ext-configure intl && docker-php-ext-install intl
46+
4947
RUN pecl install xdebug
5048
RUN docker-php-ext-enable xdebug pdo_mysql
5149
RUN echo 'xdebug.mode="coverage"' >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
5250

5351
RUN rm -rf /tmp/*
54-
RUN apk del libxml2-dev libzip-dev openssl-dev libpng-dev libicu-dev
52+
RUN apk del libxml2-dev libzip-dev openssl-dev libpng-dev icu-dev
5553

5654
# Install other libs
5755
RUN apk add --update --no-cache \

0 commit comments

Comments
 (0)