Repository navigation
Releases: kearisp/wocker-php-preset
Releases · kearisp/wocker-php-preset
Release list
v1.0.6
v1.0.5
v1.0.4
Breaking Changes
- Made script execution strict, causing the process to exit immediately if any script fails. (#5)
Features
- Introduced a layered directory structure to distinguish between core and user-provided scripts. (#5)
Documentation
- Updated usage examples in the README to reflect the new script directory paths. (#5)
Refactoring
v1.0.3
Breaking Changes
- renamed build argument from
EXTENSIONStoPHP_EXTENSIONS; existing configurations must update this variable name - changed default shell from bash to sh; custom scripts relying on bash-specific features may need adjustment
- removed implicit bash sourcing in entrypoint; environment setup now requires explicit shell configuration
Features
- added support for Redis PHP extension
- added support for LDAP PHP extension
- added support for MongoDB PHP extension
- added pnpm package manager support for Node.js projects
- introduced Alpine Linux compatibility across build and init scripts
- added conditional bash installation via
INSTALL_BASHflag - added automatic package cache cleanup after builds
Fixes
- corrected Node.js module installation to check modification time and reinstall when package.json changes
- ensured proper error handling with
set -ein all build and init scripts - fixed PATH environment variable to include Node.js binaries when NODE_VERSION is set
Refactoring
- migrated all scripts from bash to POSIX-compliant sh for better portability
- reorganized PHP extension installation into modular build stages (00-update, 02-install-bash, 03-install-php-extensions)
- split Node.js setup into separate installation (30-install-node) and package manager configuration (31-install-npm) scripts
- consolidated package manager logic with support for npm, pnpm, and yarn in node modules installation
- renamed script files to remove
.shextension for cleaner naming convention - replaced
entrypoint.shwithdocker-entrypointandws-run-hook.shwithws-run-hook - replaced
20-install-node-packages.shwith20-install-node-modules.shwith enhanced logic
Chore / Maintenance
- updated version badge and config from 1.0.2 to 1.0.3
- added
.ideadirectory to .dockerignore - added PHP 8.2-apache to available base image options
- updated NVM installation script from v0.39.1 to v0.40.3
- updated Node.js version options (removed v24.8.0, added v24.9.0)
- improved Dockerfile environment variable quoting for consistency
- added
.profilefile creation for user home directory
v1.0.2
Features
- Added support for the
imagickPHP extension, which can be enabled with theIMAGICK_ENABLEbuild option. - Integrated automatic installation of
tzdatato ensure proper timezone handling within the container. The default timezone is set toEtc/UTC.
Miscellaneous
- Improved the readability and robustness of the extension installation scripts.
- Adjusted the execution order of build scripts for better consistency.