Skip to content

Releases: kearisp/wocker-php-preset

v1.0.6

Choose a tag to compare

@kearisp kearisp released this 13 Jul 20:14
74e82f6

Fixes

  • fixed PHP extension build arguments to accept lowercase extension names while preserving existing environment variable support (#7)

Chore / Maintenance

  • excluded the .git directory from Docker build context
  • bumped package metadata and README badge to version 1.0.6 (#7)

v1.0.5

Choose a tag to compare

@kearisp kearisp released this 02 Dec 19:40
36394ea
v1.0.5 (#6)

v1.0.4

Choose a tag to compare

@kearisp kearisp released this 21 Nov 10:46
2d2fc90

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

  • Relocated all core build and initialization scripts into new standardized directories. (#5)
  • Simplified the Docker image build process by copying the parent wocker directory. (#5)

v1.0.3

Choose a tag to compare

@kearisp kearisp released this 09 Oct 17:14
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

v1.0.2

Choose a tag to compare

@kearisp kearisp released this 28 Sep 09:30
dd98666

Features

  • Added support for the imagick PHP extension, which can be enabled with the IMAGICK_ENABLE build option.
  • Integrated automatic installation of tzdata to ensure proper timezone handling within the container. The default timezone is set to Etc/UTC.

Miscellaneous

  • Improved the readability and robustness of the extension installation scripts.
  • Adjusted the execution order of build scripts for better consistency.

v1.0.1

Choose a tag to compare

@kearisp kearisp released this 15 Sep 09:09
a6497db
v1.0.1 (#2)

v1.0.0

Choose a tag to compare

@kearisp kearisp released this 14 Sep 08:55
43fe81e
v1.0.0 (#1)