Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions php-82/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \
# Needed by:
# - php
RUN LD_LIBRARY_PATH= dnf install -y tcl
ENV VERSION_SQLITE=3.50.4
ENV VERSION_SQLITE=3.51.1
ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite
RUN set -xe; \
mkdir -p ${SQLITE_BUILD_DIR}; \
Expand Down Expand Up @@ -179,7 +179,7 @@ RUN set -xe; \
# Install extensions
# We can install extensions manually or using `pecl`
RUN pecl install APCu
RUN pecl install redis-6.2.0
RUN pecl install redis-6.3.0


# ---------------------------------------------------------------
Expand Down Expand Up @@ -238,7 +238,7 @@ FROM build-environment as build_dev
RUN mkdir -p /opt/bref/extensions

# Install xdebug
RUN pecl install xdebug-3.4.2
RUN pecl install xdebug-3.4.7
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions


Expand Down
8 changes: 4 additions & 4 deletions php-83/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ARG IMAGE_VERSION_SUFFIX

# https://www.php.net/downloads
ARG VERSION_PHP=8.3.26
ARG VERSION_PHP=8.3.28


# Lambda uses a custom AMI named Amazon Linux 2023
Expand Down Expand Up @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \
# Needed by:
# - php
RUN LD_LIBRARY_PATH= dnf install -y tcl
ENV VERSION_SQLITE=3.50.4
ENV VERSION_SQLITE=3.51.1
ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite
RUN set -xe; \
mkdir -p ${SQLITE_BUILD_DIR}; \
Expand Down Expand Up @@ -179,7 +179,7 @@ RUN set -xe; \
# Install extensions
# We can install extensions manually or using `pecl`
RUN pecl install APCu
RUN pecl install redis-6.2.0
RUN pecl install redis-6.3.0


# ---------------------------------------------------------------
Expand Down Expand Up @@ -238,7 +238,7 @@ FROM build-environment as build_dev
RUN mkdir -p /opt/bref/extensions

# Install xdebug
RUN pecl install xdebug-3.4.2
RUN pecl install xdebug-3.4.7
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions


Expand Down
8 changes: 4 additions & 4 deletions php-84/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ARG IMAGE_VERSION_SUFFIX

# https://www.php.net/downloads
ARG VERSION_PHP=8.4.13
ARG VERSION_PHP=8.4.15


# Lambda uses a custom AMI named Amazon Linux 2023
Expand Down Expand Up @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \
# Needed by:
# - php
RUN LD_LIBRARY_PATH= dnf install -y tcl
ENV VERSION_SQLITE=3.50.4
ENV VERSION_SQLITE=3.51.1
ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite
RUN set -xe; \
mkdir -p ${SQLITE_BUILD_DIR}; \
Expand Down Expand Up @@ -178,7 +178,7 @@ RUN set -xe; \
# Install extensions
# We can install extensions manually or using `pecl`
RUN pecl install APCu
RUN pecl install redis-6.2.0
RUN pecl install redis-6.3.0


# ---------------------------------------------------------------
Expand Down Expand Up @@ -237,7 +237,7 @@ FROM build-environment as build_dev
RUN mkdir -p /opt/bref/extensions

# Install xdebug
RUN pecl install xdebug-3.4.2
RUN pecl install xdebug-3.4.7
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions


Expand Down
9 changes: 4 additions & 5 deletions php-85/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ARG IMAGE_VERSION_SUFFIX

# https://www.php.net/downloads
ARG VERSION_PHP=8.5.0RC1
ARG VERSION_PHP=8.5.0


# Lambda uses a custom AMI named Amazon Linux 2023
Expand Down Expand Up @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \
# Needed by:
# - php
RUN LD_LIBRARY_PATH= dnf install -y tcl
ENV VERSION_SQLITE=3.50.4
ENV VERSION_SQLITE=3.51.1
ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite
RUN set -xe; \
mkdir -p ${SQLITE_BUILD_DIR}; \
Expand Down Expand Up @@ -113,7 +113,7 @@ WORKDIR ${PHP_BUILD_DIR}
# --silent will hide the progress, but also the errors: we restore error messages with --show-error
# --fail makes sure that curl returns an error instead of fetching the 404 page
ARG VERSION_PHP
RUN curl --location --silent --show-error --fail https://downloads.php.net/~daniels/php-${VERSION_PHP}.tar.gz \
RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \
| tar xzC . --strip-components=1

# Configure the build
Expand Down Expand Up @@ -178,8 +178,7 @@ RUN set -xe; \
# Install extensions
# We can install extensions manually or using `pecl`
RUN pecl install APCu
# TODO not available for PHP 8.5 yet
#RUN pecl install redis-6.2.0
RUN pecl install redis-6.3.0


# ---------------------------------------------------------------
Expand Down