Skip to content

Docker image for developing and testing Yii packages and PHP libraries.

License

Notifications You must be signed in to change notification settings

yiisoft-contrib/docker-php-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii

Yii PHP DEV Docker Image


Docker image tailored for developing, testing and maintaining Yii packages and PHP libraries. Based on official PHP CLI Debian 13 (Trixie) images and includes tools and extensions commonly needed for package development.

  • Registry: ghcr.io/yiisoft-contrib/php-dev
  • Supported tags: 8.1, 8.2, 8.3, 8.4, 8.5
  • Platforms: linux/amd64, linux/arm64

Warning

This image is intended for development and testing only. Do not use it in production.

General usage

# Run interactive shell
docker run --rm -it \
  -v $(pwd):/app \
  -w /app \
  ghcr.io/yiisoft-contrib/php-dev:8.4 \
  bash

# Run composer install
docker run --rm -it \
  -v $(pwd):/app \
  -w /app \
  ghcr.io/yiisoft-contrib/php-dev:8.4 \
  composer install

Use in compose.yaml:

services:
  php:
    image: ghcr.io/yiisoft-contrib/php-dev:8.4
    volumes:
      - ./:/app
    working_dir: /app

License

The "Yii PHP DEV Docker Image" is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

About

Docker image for developing and testing Yii packages and PHP libraries.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors