Skip to content

Instantly share code, notes, and snippets.

@arifnd
Created August 12, 2025 15:09
Show Gist options
  • Select an option

  • Save arifnd/7ddb98edaf80047550ea1ec9c5676cf9 to your computer and use it in GitHub Desktop.

Select an option

Save arifnd/7ddb98edaf80047550ea1ec9c5676cf9 to your computer and use it in GitHub Desktop.
Customized FrankenPHP Docker Image for CodeIgniter 4
FROM dunglas/frankenphp:alpine
# Enable PHP production settings
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
# add additional extensions here:
RUN install-php-extensions \
@composer \
gd \
intl \
imagick \
memcache \
memcached \
mysqli \
pgsql \
redis \
zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment