Skip to content

Extends official Spryker PHP Docker images with extensions and tools to be able to run Löffelhardt on.

License

Loeffelhardt/el-docker-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-FPM

Docker Stars Docker Pulls

Description

Extends official Spryker PHP Docker images with extensions and tools to be able to run Löffelhardt.

  • Based on official PHP images

    • Alpine 3.22
    • Alpine 3.21
    • Alpine 3.20
    • Debian "bullseye"
  • Users: root, spryker

  • Working directory: /data

  • Includes:

    • PHP extensions
    • PostgreSQL client
    • MySQL client
    • CURL
    • OpenSSH client
    • Composer v2

Note: Provided images require additional configuration for development, staging, and production use.

Tags

Tag PHP version Linux distribution Details Dockerfile
loeffelhardt/php:latest 8.4.11 Alpine 3.22 🔗
loeffelhardt/php:8.4 8.4.11 Alpine 3.22 🔗
loeffelhardt/php:8.3 8.3.23 Alpine 3.22 🔗
loeffelhardt/php:8.4-alpine3.22 8.4.11 Alpine 3.22 🔗
loeffelhardt/php:8.3-alpine3.22 8.3.23 Alpine 3.22 🔗
loeffelhardt/php:8.4-alpine3.21 8.4.11 Alpine 3.21 🔗
loeffelhardt/php:8.3-alpine3.21 8.3.23 Alpine 3.21 🔗
loeffelhardt/php:8.4-alpine3.20 8.4.8 Alpine 3.20 🔗
loeffelhardt/php:8.3-alpine3.20 8.3.17 Alpine 3.20 🔗
loeffelhardt/php:8.4-debian 8.4.11 Debian "bullseye" 🔗
loeffelhardt/php:8.3-debian 8.3.23 Debian "bullseye" 🔗

How to use

Pull image

$ docker pull loeffelhardt/php
$ docker pull loeffelhardt/php:8.4

Run container

$ docker run -i --rm loeffelhardt/php:latest php -v

Dockerfile

FROM loeffelhardt/php:8.4

docker-compose.yml

service1:
    image: loeffelhardt/php:8.3-debian

Enable NewRelic

FROM loeffelhardt/php:8.4

RUN mv /usr/local/etc/php/disabled/newrelic.ini /usr/local/etc/php/conf.d/90-newrelic.ini

Enable Blackfire

FROM loeffelhardt/php:8.4

RUN mv /usr/local/etc/php/disabled/blackfire.ini /usr/local/etc/php/conf.d/90-blackfire.ini

Enable Tideways

FROM loeffelhardt/php:8.4

RUN mv /usr/local/etc/php/disabled/tideways.ini /usr/local/etc/php/conf.d/90-tideways.ini

PHP extensions

Installed extensions
====================
  [x] bcmath
  [x] bz2
  [ ] calendar
  [ ] com_dotnet
  [x] ctype
  [x] curl
  [x] date
  [ ] dba
  [ ] dl_test
  [x] dom
  [ ] enchant
  [ ] exif
  [ ] ext_skel.php
  [ ] ffi
  [x] fileinfo
  [x] filter
  [x] ftp
  [x] gd
  [ ] gettext
  [x] gmp
  [x] hash
  [x] iconv
  [ ] imap
  [x] intl
  [x] json
  [ ] ldap
  [x] libxml
  [x] mbstring
  [x] mysqli
  [x] mysqlnd
  [ ] oci8
  [ ] odbc
  [x] opcache
  [x] openssl
  [x] pcntl
  [x] pcre
  [x] pdo
  [ ] pdo_dblib
  [ ] pdo_firebird
  [x] pdo_mysql
  [ ] pdo_oci
  [ ] pdo_odbc
  [x] pdo_pgsql
  [x] pdo_sqlite
  [x] pgsql
  [x] phar
  [x] posix
  [ ] pspell
  [x] readline
  [x] reflection
  [x] session
  [ ] shmop
  [x] simplexml
  [ ] skeleton
  [ ] snmp
  [x] soap
  [x] sockets
  [x] sodium
  [x] spl
  [x] sqlite3
  [x] standard
  [ ] sysvmsg
  [ ] sysvsem
  [ ] sysvshm
  [ ] tidy
  [x] tokenizer
  [x] xml
  [x] xmlreader
  [x] xmlwriter
  [x] xsl
  [ ] zend_test
  [x] zip
  [x] zlib

Disabled extensions
====================
 [ ] blackfire 1.92.28
 [ ] newrelic 11.10.0.24
 [ ] pcov 1.0.11
 [ ] tideways 5.22.2
 [ ] xhprof 2.3.9

INSTALLED PACKAGES, CHANNEL PECL.PHP.NET:
=========================================
PACKAGE VERSION STATE
apcu    5.1.22  stable
pcov    1.0.11  stable
redis   5.3.7   stable
xdebug  3.2.2   stable
xhprof  2.3.9   stable
Composer
====================
Composer version 2.8.10
Run the following to get the report
$ docker run -i --rm loeffelhardt/php:latest bash -s<<'EOF'
    docker-php-source extract
    echo "Installed extensions";
    echo "====================";
    for ext in `ls /usr/src/php/ext`; do echo ' ' `php -r "if (extension_loaded('$ext' !== 'opcache' ? '$ext' : 'Zend OPcache')) { echo '[x] $ext'; } else { echo '[ ] $ext'; }"`; done
    echo "";
    echo "Disabled extensions";
    echo "====================";
    for f in /usr/local/etc/php/disabled/*.ini; do disabled=$(basename $f | sed -e 's/\.ini$//'); echo " [ ] ${disabled} $(PHP_INI_SCAN_DIR=:/usr/local/etc/php/disabled php -r "echo phpversion('${disabled}');")"; done
    echo "";
    pear list -c pecl
    echo "";
    echo "Composer";
    echo "====================";
    composer -V
EOF

More information

About

Extends official Spryker PHP Docker images with extensions and tools to be able to run Löffelhardt on.

Resources

License

Stars

Watchers

Forks

Languages

  • Dockerfile 100.0%