Skip to content

Commit 6413acc

Browse files
committed
Update Docker image to PHP 8.5
1 parent cc0fd44 commit 6413acc

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

Dockerfile

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ COPY . /opt/normalizator
55
RUN apk add --no-cache \
66
curl \
77
git \
8-
php83 \
9-
php83-fileinfo \
10-
php83-intl \
11-
php83-mbstring \
12-
php83-phar \
8+
php85 \
9+
php85-fileinfo \
10+
php85-intl \
11+
php85-mbstring \
12+
php85-phar \
1313
# Composer dependencies.
14-
php83-openssl \
15-
php83-simplexml \
16-
php83-tokenizer \
17-
php83-xmlwriter \
18-
php83-zip \
14+
php85-openssl \
15+
php85-simplexml \
16+
php85-tokenizer \
17+
php85-xmlwriter \
18+
php85-zip \
1919
# Link latest PHP version to executable.
20-
&& (test -h /usr/bin/php || test -e /usr/bin/php) || ln -s /usr/bin/php83 /usr/bin/php 2>/dev/null \
20+
&& (test -h /usr/bin/php || test -e /usr/bin/php) || ln -s /usr/bin/php85 /usr/bin/php 2>/dev/null \
2121
# Install Composer.
2222
&& curl -sS https://getcomposer.org/installer | php -- \
2323
--install-dir=/usr/bin --filename=composer \
2424
# Adjust php.ini configuration.
25-
&& echo "memory_limit = -1" >> /etc/php83/php.ini \
26-
&& echo "phar.readonly = Off" >> /etc/php83/php.ini \
25+
&& echo "memory_limit = -1" >> /etc/php85/php.ini \
26+
&& echo "phar.readonly = Off" >> /etc/php85/php.ini \
2727
# Build normalizator.phar.
2828
&& cd /opt/normalizator \
2929
&& composer install -q --no-dev \
@@ -34,11 +34,11 @@ RUN apk add --no-cache \
3434
&& apk del --no-cache \
3535
curl \
3636
git \
37-
php83-openssl \
38-
php83-simplexml \
39-
php83-tokenizer \
40-
php83-xmlwriter \
41-
php83-zip \
37+
php85-openssl \
38+
php85-simplexml \
39+
php85-tokenizer \
40+
php85-xmlwriter \
41+
php85-zip \
4242
&& rm -rf /opt/normalizator \
4343
&& rm /usr/bin/composer
4444

0 commit comments

Comments
 (0)