Git Product home page Git Product logo

docker-php's Introduction

Docker Images For PHP

docker pulls

仓库概述

基于官方镜像的 PHP 镜像,已安装常用扩展。

PHP 版本生命周期参考 PHP 版本支持

更新日志

  • [2023-06-28] 移除 php7.0 构建支持,之前构建的镜像依然可以使用,具体原因可以查看 #763
  • [2023-12-01] 新增 php8.3 构建支持,目前 imagick 还不支持该版本

构建镜像

主要镜像

这些镜像都是从官方镜像构建的,不包含其他第三方软件。

辅助镜像

这些镜像都是从『主要镜像』构建的,包含 supervisorcron

集成镜像

这些镜像都是从『主要镜像』构建的,包含 composerphp-fpmsupervisorcron,其中 php-fpmcron 使用 supervisor 管理。

使用镜像

docker pull suyar/php:8.2-fpm

镜像仓库 https://hub.docker.com/r/suyar/php

更多用法请参考 PHP 官方镜像

预装扩展

预装扩展请以对应镜像的 Dockerfile 文件为准。

docker run --rm suyar/php:8.2-cli php -m

[PHP Modules]
amqp
apcu
bcmath
bz2
calendar
Core
ctype
curl
date
decimal
dom
enchant
event
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imagick
intl
json
libxml
lzf
mbstring
memcached
mongodb
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
random
readline
redis
Reflection
session
SimpleXML
sockets
sodium
SPL
sqlite3
standard
swoole
tidy
timezonedb
tokenizer
uuid
xlswriter
xml
xmlreader
xmlwriter
xsl
yac
yaml
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

docker-php's People

Contributors

suyar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-php's Issues

能否在php镜像默认添加composer和git

看下能不能在php镜像默认添加composer和git呢,常用的是启动容器后进去里面composer安装一些第三方包,项目有git,在容器里面composer没有git环境composer也会报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.