furbyus/php8-cli

By furbyus

Updated 5 months ago

Alpine based minimal php8 for cli applications or workers

Image
Languages & frameworks
Web servers
0

1.4K

furbyus/php8-cli repository overview

PHP8-cli

This image includes php and the usual php extensions. It was image tags with and without xdebug installed, for whom to want to use the exact same image on dev and prod environments.

  • The latest tag is an Alias for the last build without xdebug.
  • The xdebug tag is an alias for the last build that includes xdebug.

This Docker image is based on alpine

The image comes with the minimum that we need to run a php cli application including the following installed extensions:

  • phar
  • openssl
  • ctype
  • iconv
  • mbstring
  • simplexml
  • xmlreader
  • xmlwriter
  • xml
  • zip
  • dom
  • session
  • tokenizer
  • fileinfo
  • curl
  • pdo
  • pdo_mysql
  • pdo_pgsql
  • pecl-xdebug ( xdebug images only)

If this image helped you and like to support, or you want to contact me, you can buy me a cofee ☕

Running the container

To run the container, if you want to create a volume to bind your application files with a folder in your local machine

$ docker run -v "./:/home/user/app" furbyus/php8-cli:latest

OR include it in a docker-compose config file

version: '3.7'
services:
  php8:
    image: furbyus/php8-cli:latest
    container_name: php-server-test
    volumes:
      - ./:/home/user/app

Tag summary

Content type

Image

Digest

sha256:022f0ce50

Size

114.9 MB

Last updated

5 months ago

docker pull furbyus/php8-cli:xdebug