Skip to content

v1.0.3

Choose a tag to compare

@kearisp kearisp released this 09 Oct 17:14
· 3 commits to master since this release
9addbe8

Breaking Changes

  • renamed build argument from EXTENSIONS to PHP_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_BASH flag
  • 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 -e in 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 .sh extension for cleaner naming convention
  • replaced entrypoint.sh with docker-entrypoint and ws-run-hook.sh with ws-run-hook
  • replaced 20-install-node-packages.sh with 20-install-node-modules.sh with enhanced logic

Chore / Maintenance

  • updated version badge and config from 1.0.2 to 1.0.3
  • added .idea directory 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 .profile file creation for user home directory