Skip to content

efureev/docker-php

Repository files navigation

PHP in Docker

Ready for use in Laravel.

Basic image: alpine:latest

Images version

All images have DEV or PROD versions.

Images list

  • 8.2-cli
  • 8.2-fpm
  • 8.3-cli
  • 8.3-fpm
  • 8.4-cli
  • 8.4-fpm

Use

docker pull ghcr.io/efureev/docker-php:8.3-fpm-prod-alpine
docker pull ghcr.io/efureev/docker-php:8.3-cli-dev-alpine
FROM ghcr.io/efureev/docker-php:8.3-fpm-prod-alpine

Containers

PHP Ext List

PROD version

  • bcmath
  • igbinary
  • intl
  • opcache
  • pcntl
  • pdo_pgsql
  • pgsql
  • redis
  • zip

DEV version

  • all PROD version`s exts
  • excimer
  • xdebug

Tools

PROD version

  • bash
  • composer
  • curl
  • fcgi

DEV version

  • all PROD version`s tools
  • git

NB

Healthcheck included, bases on fcgi. Enable in docker compose:

app:
    ...
    healthcheck:
      test: [ 'CMD-SHELL', 'docker-healthcheck' ]
      interval: 10s
      timeout: 3s
      retries: 3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages