Skip to content

Lightweight container runtime for PHP based on Google's Distroless.

License

Notifications You must be signed in to change notification settings

s6n-labs/distroless-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distroless Container Image for PHP

docker

Lightweight container runtime for PHP based on Google's Distroless.

Getting Started

Using as a CLI

docker run -it ghcr.io/s6n-labs/distroless-php:8.3.0-bookworm \
    -r 'phpinfo();'

Using as a base image

FROM ghcr.io/s6n-labs/distroless-php:8.3.0-zts-bookworm

Comparison

Image php distroless-php Δ
8.3.0-zts-bookworm 497 MB 128 MB -369 MB
8.3.0-bookworm 530 MB 161 MB -369 MB
8.2.13-zts-bookworm 495 MB 125 MB -370 MB
8.2.13-bookworm 526 MB 157 MB -369 MB
8.1.26-zts-bookworm 494 MB 125 MB -369 MB
8.1.26-bookworm 524 MB 156 MB -368 MB

About

Lightweight container runtime for PHP based on Google's Distroless.

Resources

License

Stars

Watchers

Forks