aws-lambda-layers
aws-lambda-layers copied to clipboard
Bref v3
This PR will contain all changes for Bref v3.
This PR goes hand-in-hand with https://github.com/brefphp/bref/pull/1953
This will be a long-running PR, I like to keep this open for months so that we have a place to preview and discuss changes. I do not intend to merge this pull request soon.
Layers for v3 are published to a different AWS account than v2, to avoid conflict. That means we can start using v3 layers as soon as these are published (working on it).
Changes:
- #122
- #258
- #256
- #259
- #282
- #262
- disable the
soapextension by default to avoid loading it on PHP startup - bundle the
pdo-mysqlextension in the PHP binary and enable it by default
- disable the
- Publish v3 layers to a separate AWS account (
873528684822) - Drop the
blackfireextension from "dev" container images - #284
- https://github.com/brefphp/bref/pull/2012
Layer sizes
PHP 8.4
- v2: 69MB
- PHP binary: 22MB × 2
- libs: no libicu
- v3: 53MB
- PHP binary: 20MB × 2
- libs: no libicu
- v3 AL2023: 79MB
- PHP binary: 20MB × 2
- libs: libicu 32MB
PHP 8.3
- v2: 65MB
- PHP binary: 18MB × 2
- libs: no libicu
- v3: 46MB
- PHP binary: 16MB × 2
- libs: no libicu
- v3 AL2023: 72MB
- PHP binary: 16MB × 2
- libs: libicu 32MB