Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
30667e0
Enable OpenSSL legacy providers support in Dockerfiles
Aug 2, 2024
d7f9fc6
Upgrade PostgreSQL from 16.3 to 16.4
GrahamCampbell Aug 11, 2024
61bd7be
Merge pull request #195 from GrahamCampbell/postgres-upgrade
mnapoli Aug 11, 2024
fbb8999
Update the list of libraries bundled in Lambda
mnapoli Aug 23, 2024
f86e4fd
Fix support for `libgpgme`
mnapoli Aug 23, 2024
a86c7ed
Merge pull request #196 from brefphp/fix-missing-libraries
mnapoli Aug 25, 2024
6fd602b
Fix support for `libgpgme`
mnapoli Aug 25, 2024
33034cb
Bump nghttp2 to 1.63.0
GrahamCampbell Aug 28, 2024
192f25c
Upgrade sqlite to 3.46.1
GrahamCampbell Aug 28, 2024
89bde31
Bump PHP to 8.2.23, 8.3.11, 8.4.0beta4
GrahamCampbell Aug 28, 2024
ed8feb5
Merge pull request #197 from GrahamCampbell/sqlite
mnapoli Aug 28, 2024
f8f4894
Merge pull request #198 from GrahamCampbell/nghttp2
mnapoli Aug 28, 2024
162813d
Merge pull request #199 from GrahamCampbell/php-upgrade
mnapoli Aug 30, 2024
8151bcc
PHP 8.4.0beta5
GrahamCampbell Sep 12, 2024
e6d08e0
cURL 8.10.0
GrahamCampbell Sep 12, 2024
9b3a103
Merge pull request #201 from GrahamCampbell/curl-8.10.0
mnapoli Sep 12, 2024
5b4f106
Upgrade to cURL 8.10.1
GrahamCampbell Sep 18, 2024
4c901b1
Install apcu from source
GrahamCampbell Sep 18, 2024
93969d5
Revert "Install apcu from source"
GrahamCampbell Sep 18, 2024
ba61cbb
Install apcu from source
GrahamCampbell Sep 18, 2024
2695018
Merge pull request #204 from GrahamCampbell/upgrade-curl
mnapoli Sep 18, 2024
1c93fb7
Revert "Install apcu from source"
GrahamCampbell Sep 22, 2024
2072e7d
apcu 5.1.24
GrahamCampbell Sep 22, 2024
9257085
Merge pull request #202 from GrahamCampbell/php-8.4.0beta5
mnapoli Sep 22, 2024
b85331b
Upgrade libxml to 2.13.4
GrahamCampbell Sep 26, 2024
d40ba62
Upgrade libzip to 1.11.1
GrahamCampbell Sep 26, 2024
44adcf0
Merge pull request #205 from GrahamCampbell/upgrade-libxml
mnapoli Sep 26, 2024
1a86202
Merge pull request #206 from GrahamCampbell/upgrade-libzip
mnapoli Sep 26, 2024
ead39c8
Upgrade to PHP 8.2.24, 8.3.12, 8.4.0RC1
GrahamCampbell Sep 26, 2024
c1951d3
Merge pull request #207 from GrahamCampbell/upgrade-php-2
mnapoli Sep 26, 2024
a386652
PHP 8.1.30
GrahamCampbell Sep 26, 2024
0979238
Merge pull request #208 from GrahamCampbell/php-81
mnapoli Sep 27, 2024
1b94934
Improve error handling when Composer dependencies are missing
mnapoli Oct 5, 2024
1c0f1b0
Merge pull request #209 from brefphp/fix-require-error
mnapoli Oct 6, 2024
10a3d86
Upgrade libssh2 to 1.11.1
GrahamCampbell Oct 16, 2024
92ed55b
Upgrade to PHP 8.4.0RC2 and install Xdebug
GrahamCampbell Oct 16, 2024
8cab2bb
Update Dockerfile
GrahamCampbell Oct 16, 2024
3b64a92
Update Dockerfile
GrahamCampbell Oct 16, 2024
d6247aa
Merge pull request #211 from GrahamCampbell/libssh2
mnapoli Oct 17, 2024
7941995
Merge pull request #212 from GrahamCampbell/php-84
mnapoli Oct 17, 2024
940c4bc
Upgrade nghttp2 to 1.64.0
GrahamCampbell Oct 21, 2024
73636ed
Merge pull request #213 from GrahamCampbell/upgrade-nghttp2
mnapoli Oct 21, 2024
9aeda18
bump php8.3 version
mykiwi Oct 24, 2024
322cd0f
bump php8.2 too
mykiwi Oct 24, 2024
81a80cb
Merge pull request #214 from mykiwi-forks/bump-php83
mnapoli Oct 24, 2024
37a7016
bump php8.4 too
mykiwi Oct 24, 2024
6d3427d
Merge pull request #215 from mykiwi-forks/bump-php83
mnapoli Oct 27, 2024
488e0e1
update to PHP 8.4.0RC4
mykiwi Nov 7, 2024
400af43
cURL 8.11.0
GrahamCampbell Nov 8, 2024
41e3d33
Upgrade libzip to 1.11.2
GrahamCampbell Nov 8, 2024
6dc577d
Upgrade sqlite to 3.47.0
GrahamCampbell Nov 8, 2024
9cf3b5b
Merge pull request #216 from mykiwi-forks/php84-bump
mnapoli Nov 8, 2024
aeed557
Merge pull request #217 from GrahamCampbell/curl-upgrade
mnapoli Nov 8, 2024
04357c2
Merge pull request #219 from GrahamCampbell/upgrade-sqlite
mnapoli Nov 8, 2024
eeb63c3
Merge pull request #218 from GrahamCampbell/upgrade-libzip
mnapoli Nov 8, 2024
4d163b1
Upgrade libxml2 to 2.13.5
GrahamCampbell Nov 13, 2024
1cc50f4
Merge pull request #220 from GrahamCampbell/upgrade-libxml2
mnapoli Nov 13, 2024
e210597
PHP 8.4 released 🥳
mykiwi Nov 20, 2024
d4ebb74
Merge pull request #221 from mykiwi-forks/php8.4
mnapoli Nov 20, 2024
cb9f9a9
Upgrade to postgres 17.2
GrahamCampbell Nov 20, 2024
c59099e
Merge pull request #223 from GrahamCampbell/postgres-17
mnapoli Nov 20, 2024
15ac0cb
Upgrade PHP versions
GrahamCampbell Nov 20, 2024
81558ac
PHP 8.1.31
GrahamCampbell Nov 21, 2024
c7d2b61
Merge pull request #222 from GrahamCampbell/new-php-versions
mnapoli Nov 21, 2024
957db55
Upgrade to cURL 8.11.1
GrahamCampbell Dec 11, 2024
56c997e
Upgrade sqlite to 3.47.2 for PHP 8.1 and up
GrahamCampbell Dec 11, 2024
8112a7e
Merge pull request #225 from GrahamCampbell/upgrade-curl
mnapoli Dec 11, 2024
76e82d4
Merge pull request #226 from GrahamCampbell/sqlite-upgrade
mnapoli Dec 11, 2024
5315d57
Upgrade PHP versions
GrahamCampbell Dec 19, 2024
b47ccd2
Use xdebug 3.4.0
GrahamCampbell Dec 19, 2024
64b4671
Merge pull request #228 from GrahamCampbell/xdebug
mnapoli Dec 19, 2024
f5016fd
Merge pull request #227 from GrahamCampbell/new-php
mnapoli Dec 19, 2024
0c1721f
PHP 8.3.16 and 8.4.3
GrahamCampbell Jan 16, 2025
3d5ab4e
Upgrade to sqlite to 3.48.0
GrahamCampbell Jan 16, 2025
98585b9
Upgrade oniguruma to 6.9.10
GrahamCampbell Jan 16, 2025
69dca3f
Merge pull request #229 from GrahamCampbell/php-upgradez
mnapoli Jan 17, 2025
e8e23c8
Merge pull request #230 from GrahamCampbell/sqlite
mnapoli Jan 17, 2025
82654fc
Merge pull request #231 from GrahamCampbell/oniguruma
mnapoli Jan 17, 2025
c9f11e6
Upgrade xdebug to 3.4.1
GrahamCampbell Jan 17, 2025
63353b8
Merge pull request #232 from GrahamCampbell/patch-1
mnapoli Jan 17, 2025
614bf12
Upgrade to libzip 1.11.3
GrahamCampbell Jan 21, 2025
1c6c622
Merge pull request #233 from GrahamCampbell/libzip
mnapoli Jan 22, 2025
21632bf
Upgrade to cURL 8.12.0
GrahamCampbell Feb 5, 2025
ed2d41e
Merge pull request #235 from GrahamCampbell/curl-8120
mnapoli Feb 5, 2025
eea894c
Upgrade sqlite to 3.49.0
GrahamCampbell Feb 10, 2025
6774249
Merge pull request #239 from GrahamCampbell/sqlite-3-49-0
mnapoli Feb 11, 2025
fdd0c53
Upgrade to OpenSSL 3.4.1
GrahamCampbell Feb 5, 2025
1e37bb6
Merge pull request #234 from GrahamCampbell/openssl-341
mnapoli Feb 12, 2025
8675008
Upgrade to cURL 8.12.1
GrahamCampbell Feb 8, 2025
355c963
Upgrade to PostgreSQL 17.3
GrahamCampbell Feb 5, 2025
05e37ea
Upgrade to PHP 8.3.17 and 8.4.4
GrahamCampbell Feb 5, 2025
9a64a21
Merge pull request #236 from GrahamCampbell/next-php
mnapoli Feb 13, 2025
39e74be
Merge pull request #237 from GrahamCampbell/next-postgres
mnapoli Feb 13, 2025
7edba42
Merge pull request #238 from GrahamCampbell/curl-8121
mnapoli Feb 13, 2025
323adcb
Upgrade to sqlite 3.49.1
GrahamCampbell Feb 20, 2025
2389472
Upgrade to libxml2 2.12.10 and 2.13.6
GrahamCampbell Feb 20, 2025
eed8b56
Merge pull request #240 from GrahamCampbell/sqlite-3.49.1
mnapoli Feb 21, 2025
4d17990
Merge pull request #241 from GrahamCampbell/libxml2-sec
mnapoli Feb 21, 2025
969138b
Revert "Upgrade to OpenSSL 3.4.1"
mnapoli Feb 21, 2025
bc26861
Merge pull request #242 from brefphp/revert-234-openssl-341
mnapoli Feb 21, 2025
e45233a
Go with OpenSSL 3.3.3
GrahamCampbell Feb 21, 2025
8d7ce60
Merge pull request #243 from GrahamCampbell/openssl-333
mnapoli Feb 21, 2025
c1fb32c
Upgrade to Postgres 17.4
GrahamCampbell Feb 21, 2025
68c147b
Merge pull request #244 from GrahamCampbell/postgres-17-4
mnapoli Feb 21, 2025
7614ad0
nghttp2 1.65.0
GrahamCampbell Mar 12, 2025
e0a74aa
PHP 8.1.32, 8.2.28, 8.3.19, 8.4.5
GrahamCampbell Mar 12, 2025
de16354
xdebug 3.4.2
GrahamCampbell Mar 12, 2025
308eda5
Merge pull request #245 from GrahamCampbell/nghttp2
mnapoli Mar 12, 2025
884455e
Merge pull request #247 from GrahamCampbell/upgrade-xdebug
mnapoli Mar 12, 2025
e02486c
Merge pull request #246 from GrahamCampbell/new-php
mnapoli Mar 13, 2025
0118ec2
Upgrade libxml2 to 2.13.7
GrahamCampbell Apr 8, 2025
dded8fe
Upgrade to PHP 8.3.20 and 8.4.6
GrahamCampbell Apr 8, 2025
535b3bc
Merge pull request #248 from GrahamCampbell/libxml-upgrade
mnapoli Apr 8, 2025
c1e9d72
Merge pull request #249 from GrahamCampbell/php-upgradez
mnapoli Apr 13, 2025
1306008
Enable OpenSSL legacy providers support in Dockerfiles
Aug 2, 2024
59c2899
Merge remote-tracking branch 'origin/openssl-legacy-modules' into ope…
Apr 19, 2025
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
12 changes: 8 additions & 4 deletions layers/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

$appRoot = getenv('LAMBDA_TASK_ROOT');

if (getenv('BREF_AUTOLOAD_PATH')) {
require getenv('BREF_AUTOLOAD_PATH');
} elseif (file_exists($appRoot . '/vendor/autoload.php')) {
require $appRoot . '/vendor/autoload.php';
$autoloadPath = $_SERVER['BREF_AUTOLOAD_PATH'] ?? null;
if (! $autoloadPath) {
$autoloadPath = $appRoot . '/vendor/autoload.php';
}
if (! file_exists($autoloadPath)) {
throw new RuntimeException('Could not find the Composer vendor directory. Did you run "composer require bref/bref"? Read https://bref.sh/docs/environment/php#custom-vendor-path if your Composer vendor directory is in a custom path.');
}

require $autoloadPath;

$runtimeClass = getenv('RUNTIME_CLASS');

Expand Down
4 changes: 2 additions & 2 deletions layers/fpm-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ARG PHP_VERSION
RUN mkdir -p /opt/bref/extensions

# Install xdebug
RUN if [ $PHP_VERSION != "84" ]; then pecl install xdebug; fi
RUN if [ $PHP_VERSION != "84" ]; then cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions; fi
RUN pecl install xdebug-3.4.2
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions

# Install Blackfire
# https://blackfire.io/docs/up-and-running/installation?action=install&mode=full&version=latest&mode=full&location=server&os=manual&language=php#install-the-php-probe
Expand Down
19 changes: 12 additions & 7 deletions php-80/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ RUN CFLAGS="" \
--openssldir=${INSTALL_DIR}/bref/ssl \
--release \
enable-tls1_3 \
enable-legacy \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this don’t exist in this one as it OpenSSL 1.1.1w and not 3

no-tests \
shared \
zlib
Expand Down Expand Up @@ -173,7 +174,7 @@ RUN make install \
# - OpenSSL
# Needed by:
# - curl
ENV VERSION_LIBSSH2=1.11.0
ENV VERSION_LIBSSH2=1.11.1
ENV LIBSSH2_BUILD_DIR=${BUILD_DIR}/libssh2
RUN set -xe; \
mkdir -p ${LIBSSH2_BUILD_DIR}/bin; \
Expand Down Expand Up @@ -206,7 +207,7 @@ RUN cmake --build . --target install
# - libxml2
# Needed by:
# - curl
ENV VERSION_NGHTTP2=1.62.1
ENV VERSION_NGHTTP2=1.65.0
ENV NGHTTP2_BUILD_DIR=${BUILD_DIR}/nghttp2
RUN set -xe; \
mkdir -p ${NGHTTP2_BUILD_DIR}; \
Expand Down Expand Up @@ -253,7 +254,7 @@ RUN make -j $(nproc) && make install
# # - libnghttp2
# # Needed by:
# # - php
ENV VERSION_CURL=8.9.1
ENV VERSION_CURL=8.12.1
ENV CURL_BUILD_DIR=${BUILD_DIR}/curl
RUN set -xe; \
mkdir -p ${CURL_BUILD_DIR}/bin; \
Expand Down Expand Up @@ -293,7 +294,7 @@ RUN make install
# https://github.com/nih-at/libzip/releases
# Needed by:
# - php
ENV VERSION_ZIP=1.10.1
ENV VERSION_ZIP=1.11.3
ENV ZIP_BUILD_DIR=${BUILD_DIR}/zip
RUN set -xe; \
mkdir -p ${ZIP_BUILD_DIR}/bin/; \
Expand Down Expand Up @@ -336,7 +337,7 @@ RUN make install
# - OpenSSL
# Needed by:
# - php
ENV VERSION_POSTGRES=16.3
ENV VERSION_POSTGRES=17.4
ENV POSTGRES_BUILD_DIR=${BUILD_DIR}/postgres
RUN set -xe; \
mkdir -p ${POSTGRES_BUILD_DIR}/bin; \
Expand All @@ -362,7 +363,7 @@ RUN cd ${POSTGRES_BUILD_DIR}/src/include && make install
# https://github.com/kkos/oniguruma/releases
# Needed by:
# - php mbstring
ENV VERSION_ONIG=6.9.9
ENV VERSION_ONIG=6.9.10
ENV ONIG_BUILD_DIR=${BUILD_DIR}/oniguruma
RUN set -xe; \
mkdir -p ${ONIG_BUILD_DIR}; \
Expand Down Expand Up @@ -464,13 +465,15 @@ RUN set -xe; \

# Install extensions
# We can install extensions manually or using `pecl`
RUN pecl install APCu
ENV VERSION_APCU=5.1.24
RUN pecl install apcu-${VERSION_APCU}


# ---------------------------------------------------------------
# Now we copy everything we need for the layers into /bref-layer (which will be used for the real /opt later)
RUN mkdir -p /bref-layer/bin \
&& mkdir -p /bref-layer/lib \
&& mkdir -p /bref-layer/lib/ossl-modules \
&& mkdir -p /bref-layer/bref/extensions \
&& mkdir -p /bref-layer/bref/ssl

Expand Down Expand Up @@ -498,6 +501,8 @@ RUN cp ${CA_BUNDLE} /bref-layer/bref/ssl/cert.pem
# Copy the OpenSSL config
RUN cp ${INSTALL_DIR}/bref/ssl/openssl.cnf /bref-layer/bref/ssl/openssl.cnf

# Copy the OpenSSL modules
RUN cp /tmp/build/openssl/providers/legacy.so /bref-layer/lib/ossl-modules/legacy.so

# ---------------------------------------------------------------
# Start from a clean image to copy only the files we need
Expand Down
49 changes: 37 additions & 12 deletions php-81/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.1.29
ARG VERSION_PHP=8.1.32


# Lambda uses a custom AMI named Amazon Linux 2
Expand Down Expand Up @@ -104,7 +104,7 @@ RUN set -xe; \
# - curl
# - php
RUN yum install -y perl-IPC-Cmd
ENV VERSION_OPENSSL=3.3.1
ENV VERSION_OPENSSL=3.3.3
ENV OPENSSL_BUILD_DIR=${BUILD_DIR}/openssl
ENV CA_BUNDLE_SOURCE="https://curl.se/ca/cacert.pem"
ENV CA_BUNDLE="${INSTALL_DIR}/bref/ssl/cert.pem"
Expand All @@ -121,6 +121,7 @@ RUN CFLAGS="" \
--openssldir=${INSTALL_DIR}/bref/ssl \
--release \
enable-tls1_3 \
enable-legacy \
no-tests \
shared \
zlib
Expand All @@ -141,7 +142,7 @@ RUN mkdir -p ${INSTALL_DIR}/bref/ssl && curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOU
# Needed by:
# - php
# - libnghttp2
ENV VERSION_XML2=2.12.9
ENV VERSION_XML2=2.12.10
ENV XML2_BUILD_DIR=${BUILD_DIR}/xml2
RUN set -xe; \
mkdir -p ${XML2_BUILD_DIR}; \
Expand Down Expand Up @@ -174,7 +175,7 @@ RUN make install \
# - OpenSSL
# Needed by:
# - curl
ENV VERSION_LIBSSH2=1.11.0
ENV VERSION_LIBSSH2=1.11.1
ENV LIBSSH2_BUILD_DIR=${BUILD_DIR}/libssh2
RUN set -xe; \
mkdir -p ${LIBSSH2_BUILD_DIR}/bin; \
Expand Down Expand Up @@ -207,7 +208,7 @@ RUN cmake --build . --target install
# - libxml2
# Needed by:
# - curl
ENV VERSION_NGHTTP2=1.62.1
ENV VERSION_NGHTTP2=1.65.0
ENV NGHTTP2_BUILD_DIR=${BUILD_DIR}/nghttp2
RUN set -xe; \
mkdir -p ${NGHTTP2_BUILD_DIR}; \
Expand Down Expand Up @@ -254,7 +255,7 @@ RUN make -j $(nproc) && make install
# # - libnghttp2
# # Needed by:
# # - php
ENV VERSION_CURL=8.9.1
ENV VERSION_CURL=8.12.1
ENV CURL_BUILD_DIR=${BUILD_DIR}/curl
RUN set -xe; \
mkdir -p ${CURL_BUILD_DIR}/bin; \
Expand Down Expand Up @@ -294,7 +295,7 @@ RUN make install
# https://github.com/nih-at/libzip/releases
# Needed by:
# - php
ENV VERSION_ZIP=1.10.1
ENV VERSION_ZIP=1.11.3
ENV ZIP_BUILD_DIR=${BUILD_DIR}/zip
RUN set -xe; \
mkdir -p ${ZIP_BUILD_DIR}/bin/; \
Expand Down Expand Up @@ -337,7 +338,7 @@ RUN make install
# - OpenSSL
# Needed by:
# - php
ENV VERSION_POSTGRES=16.3
ENV VERSION_POSTGRES=17.4
ENV POSTGRES_BUILD_DIR=${BUILD_DIR}/postgres
RUN set -xe; \
mkdir -p ${POSTGRES_BUILD_DIR}/bin; \
Expand All @@ -363,7 +364,7 @@ RUN cd ${POSTGRES_BUILD_DIR}/src/include && make install
# https://github.com/kkos/oniguruma/releases
# Needed by:
# - php mbstring
ENV VERSION_ONIG=6.9.9
ENV VERSION_ONIG=6.9.10
ENV ONIG_BUILD_DIR=${BUILD_DIR}/oniguruma
RUN set -xe; \
mkdir -p ${ONIG_BUILD_DIR}; \
Expand All @@ -374,14 +375,34 @@ RUN ./configure --prefix=${INSTALL_DIR}
RUN make && make install


###############################################################################
# SQLite
# Since PHP 7.4, libsqlite must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
# Laravel 11 requires SQLite 3.35.0 or higher and Drupal 10 also requires a
# newer version than the system version of 3.7.17.
# https://laravel.com/docs/11.x/upgrade#sqlite-minimum-version
# https://www.sqlite.org/changes.html
# Needed by:
# - php
RUN LD_LIBRARY_PATH= yum install -y tcl
ENV VERSION_SQLITE=3.49.1
ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite
RUN set -xe; \
mkdir -p ${SQLITE_BUILD_DIR}; \
curl -Ls https://github.com/sqlite/sqlite/archive/refs/tags/version-${VERSION_SQLITE}.tar.gz \
| tar xzC ${SQLITE_BUILD_DIR} --strip-components=1
WORKDIR ${SQLITE_BUILD_DIR}
RUN ./configure --prefix=${INSTALL_DIR}
RUN make && make install


###############################################################################
# Install some dev files for using old libraries already on the system
# readline-devel : needed for the readline extension
# gettext-devel : needed for the --with-gettext flag
# libicu-devel : needed for intl
# libxslt-devel : needed for the XSL extension
# sqlite-devel : Since PHP 7.4 this must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel sqlite-devel
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel


# Note: this variable is used when building extra/custom extensions, do not remove
Expand Down Expand Up @@ -465,13 +486,15 @@ RUN set -xe; \

# Install extensions
# We can install extensions manually or using `pecl`
RUN pecl install APCu
ENV VERSION_APCU=5.1.24
RUN pecl install apcu-${VERSION_APCU}


# ---------------------------------------------------------------
# Now we copy everything we need for the layers into /bref-layer (which will be used for the real /opt later)
RUN mkdir -p /bref-layer/bin \
&& mkdir -p /bref-layer/lib \
&& mkdir -p /bref-layer/lib/ossl-modules \
&& mkdir -p /bref-layer/bref/extensions \
&& mkdir -p /bref-layer/bref/ssl

Expand Down Expand Up @@ -499,6 +522,8 @@ RUN cp ${CA_BUNDLE} /bref-layer/bref/ssl/cert.pem
# Copy the OpenSSL config
RUN cp ${INSTALL_DIR}/bref/ssl/openssl.cnf /bref-layer/bref/ssl/openssl.cnf

# Copy the OpenSSL modules
RUN cp /tmp/build/openssl/providers/legacy.so /bref-layer/lib/ossl-modules/legacy.so

# ---------------------------------------------------------------
# Start from a clean image to copy only the files we need
Expand Down
Loading