Skip to content

Commit

Permalink
fix/upgrade alpine to 3.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
vs0uz4 committed Oct 10, 2024
1 parent 1f5c9b4 commit 616f429
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dockerfiles/4.8.13/php8.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM php:8.2.3-cli-alpine3.16
FROM php:8.2.24-cli-alpine3.19

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update --clean-backups 2.2.21 && \
chmod +x /usr/bin/composer && \
composer self-update --clean-backups 2.8.1 && \
apk update && \
apk add --no-cache libstdc++ && \
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev linux-headers openssl-dev pcre-dev pcre2-dev zlib-dev && \
# PHP extension pdo_mysql is included since 4.8.12+ and 5.0.1+.
docker-php-ext-install pdo_mysql && \
pecl channel-update pecl.php.net && \
pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="no" enable-redis-zstd="no"' redis-5.3.7 && \
pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="no" enable-redis-zstd="no"' redis-6.1.0 && \
# PHP extension Redis is included since 4.8.12+ and 5.0.1+.
docker-php-ext-enable redis && \
docker-php-ext-install sockets && \
Expand Down

0 comments on commit 616f429

Please sign in to comment.