Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.39 KB

File metadata and controls

54 lines (43 loc) · 1.39 KB

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.